Forum Discussion

CBertoldie's avatar
CBertoldie
Occasional Reader
Mar 17, 2026

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 (personal not business)
When I do a simple function like "=LABS.GENERATIVEAI("Hello World")" it just returns with #N/A! error.
I'm using the gpt-5 model for Excel Labs

I'm at a loss as to why this isn't working... I have credits in the "vault" of OpenAI and have double checked what seems like every parameter for this to work. I'm also on the beta stream of Excel Labs to access the latest updates and Excel is fully updated, computer has rebooted, and it is still not working.

Any ideas or are others having issues with this working too?

No RepliesBe the first to reply