A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi, Curtis Bertoldie
Sorry for this unwanted experience. This is usually not a Microsoft 365 subscription issue. LABS.GENERATIVEAI is an experimental Excel Labs feature that uses an OpenAI API key, and the real cause of #N/A often shows in the cell’s detailed error message.
Here are some suggestions you can try:
Hover over the #N/A cell and check the yellow warning icon. Excel Labs can show the actual failure reason there, such as quota or billing.
Make sure your OpenAI API billing is active, not just ChatGPT access or old credit. The formula only started working after API billing was enabled.
Create a new secret key, paste it into Excel Labs again, and fully restart Excel. It is commonly recommended that this helps after billing changes or expired credits.
If GPT-5 keeps failing, test with another model in Excel Labs Settings. Model choice can be changed, so this helps confirm whether the issue is model-specific.
In case the issue persists, reinstall/update the Excel Labs add-in and consider opening an issue on the Excel Labs GitHub, since this is a Microsoft Garage experiment and can be rough around the edges.
Thank you for your patience in reading, I hope this information has been helpful to you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment."
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.