Forum Discussion
CBertoldie
Mar 17, 2026Copper Contributor
LABS.GENERATIVEAI() Not working (03/2026)
I am trying to utilize the ai function in a project at work but something isn't working. I have both a user and admin key from OpenAI that both start with the "sk-" syntax. I have 365 Premium (pers...
Olufemi7
Mar 19, 2026Iron Contributor
HelloCBertoldie,
The #N/A from LABS.GENERATIVEAI() is usually not related to your API key or credits.
Excel Labs is an experimental Microsoft Garage add-in and features like LABS.GENERATIVEAI() are not production features, so they may return #N/A due to backend availability, rollout limitations, or account type, especially with Microsoft 365 Personal.
AI features in Excel also depend on licensing and tenant eligibility, so availability can vary even on the beta channel.
Microsoft documentation:
https://techcommunity.microsoft.com/t5/excel-blog/advanced-formula-environment-is-becoming-excel-labs-a-microsoft/ba-p/3736518
https://appsource.microsoft.com/en-us/product/office/wa200003696
https://support.microsoft.com/en-us/office/copilot-in-excel