You can do everything via the side bar instead.
Microsoft will retire the COPILOT() function in Excel after September 14, 2026, directing users to other Copilot tools instead.
Microsoft is retiring Excel’s experimental COPILOT() function while keeping its AI capabilities available through the Copilot side pane.