ChatGPT for Excel: Practical Guide for Formulas and VBA

ChatGPT for Excel guide for analysts: use it for formulas, VBA drafts, cleanup, and model explanations, and know when to switch to a workbook agent when needed.

Bob · Former McKinsey and Deloitte consultant with 6 years of experienceMay 9, 202611 min read

Pricing and feature information was accurate at the time of publication. Competitor products change frequently — verify current details on each provider's website.

ChatGPT for Excel is now two different workflows: classic copy-and-paste prompting in a browser, and OpenAI's official Excel add-in that can read and update the workbook itself. That distinction matters because the best use cases are different. If you need one formula, plain ChatGPT is usually enough. If you need workbook-aware updates, cleanup, or scenario changes inside Excel, the add-in is the better fit.

Deckary, the AI Excel add-in built for consultants, finance teams, and analysts, is still the stronger option for multi-step workbook execution because it follows a read workbook -> plan steps -> write formulas or sheets -> verify output -> ask before destructive edits loop.

For this guide, we reviewed the top 5 Google results for "chatgpt for excel" on May 9, 2026, read 6 current OpenAI, Microsoft, and research sources, and mapped the workflow against 5 recurring analyst jobs: formulas, VBA drafts, cleanup, model updates, and workbook explanation. The ranking pages mostly cover prompt tips and add-in setup. The main gap is practical guidance on when the official Excel add-in is better than copy-paste chat, and where it still stops.

WorkflowReads workbook contextWrites back to the sheetBest for
Browser ChatGPTOnly what you paste inNo direct write-backOne formula, one explanation, one quick VBA draft
ChatGPT for ExcelYesYes, with permission promptsWorkbook updates, scenarios, cleanup, formula help
DeckaryYesYesMulti-step workbook work, audits, finance models, output tabs

ChatGPT for Excel workflow infographic

What Is ChatGPT for Excel?#

ChatGPT for Excel is OpenAI's spreadsheet add-in for building, updating, and analyzing workbooks directly inside Microsoft Excel.

OpenAI's March 2026 launch post says the add-in helps users build and update models, run scenarios, and generate outputs based on cells and formulas. OpenAI's May 5, 2026 product update says ChatGPT for Excel is now generally available across all plans, and the product page says it can build full spreadsheets, answer questions across tabs, add and edit formulas, and update sheets in real time.

The most useful product detail is not the launch headline. It is the operating model. OpenAI says ChatGPT for Excel explains what it is doing, links answers to the cells it references and updates, preserves formulas and formatting, and asks for permission before making changes. That is a real shift from the older workflow where users copied a prompt into ChatGPT, copied a formula back out, and hoped it fit the workbook.

ChatGPT for Excel vs Copy-Paste ChatGPT#

ChatGPT for Excel is better than copy-paste chat when the workbook context matters.

That is the pattern across the current SERP. The top-ranking pages mostly teach three things: how to install an add-in, how to ask for formulas, and how to paste the answer into Excel. That still works, but it is no longer the full story. OpenAI's current product page shows a different workflow: the add-in can work inside the file, summarize trends across tabs, explain formulas, clean up sheets, and update tables without forcing you to translate everything into pasted examples first.

Use this rule:

If your real job is...Best path
"Write me an XLOOKUP"Plain ChatGPT or ChatGPT for Excel
"Explain why this model output changed"ChatGPT for Excel
"Update this sheet to match new assumptions and summarize what changed"ChatGPT for Excel
"Audit this inherited workbook and create checked output tabs"Deckary

For many analysts, the best setup is mixed: plain ChatGPT for fast one-off answers, ChatGPT for Excel when the workbook needs to stay in the loop.

ChatGPT for Excel for Formulas#

ChatGPT for Excel is strongest on formula writing and formula explanation.

OpenAI's help and product pages both position formula help as a core use case, and the current search results reflect that intent. This is still the first reason most people search for chatgpt for excel.

Formula taskWeak promptBetter prompt
Lookup"Write a lookup formula""Write an XLOOKUP that returns Region from Sheet2 into Sheet1 by matching Customer ID."
Conditional logic"Fix this IF""Rewrite this nested IF into a clearer IFS formula and explain each condition."
Error handling"Why is this broken?""Explain why cell F27 returns #N/A, then suggest a corrected formula."
Fill-down helper column"Make a margin formula""Create a Gross Margin % formula using Revenue and COGS, then fill it down the full table."

Two practical rules matter more than prompt cleverness: test the output on a few rows before you trust the full column, and ask for the logic in words, not just the final formula.

That second rule is where ChatGPT for Excel beats a pure formula generator. OpenAI says the add-in links answers to the cells it references and updates, so the explanation can stay tied to the workbook instead of floating in a separate browser tab.

If formula help is your main use case, read AI for Excel, Best AI for Excel, and Excel AI next. Those guides compare formula tools against broader workbook agents.

Build and audit Excel workbooks with AI

Describe the model, cleanup, audit, or output sheet you need. Deckary's AI Excel agent works through the task inside your workbook.

ChatGPT for Excel for VBA Drafts and Automation#

ChatGPT for Excel is useful for VBA drafting, but it is not a VBA automation engine.

This is the section many ranking pages blur. Third-party tutorials often promise "use ChatGPT for macros" as if the add-in can directly automate VBA inside Excel. OpenAI's current product FAQ says it does not. The limitations section explicitly lists macro or Visual Basic for Applications automation as unsupported.

That means the right workflow is:

VBA jobUse ChatGPT for Excel?Why
Draft a macro from plain EnglishYesGood for first-pass code and comments
Explain an inherited macroYesStrong at line-by-line translation into plain English
Refactor a long VBA procedureYesUseful for cleanup and modularization ideas
Run or manage VBA automation inside the add-inNoOpenAI says VBA automation is unsupported

Prompt examples that work:

  • "Write a VBA macro that splits the active sheet into separate tabs by the value in column A."
  • "Explain what this VBA procedure does and call out any destructive steps."
  • "Rewrite this macro so it checks for blank headers before it runs."
  • "Convert this macro into clearer subroutines with comments."

ChatGPT for Excel for Cleanup, Scenarios, and Model Explanations#

ChatGPT for Excel is more valuable for cleanup and workbook explanation than most formula-only posts admit.

OpenAI's product page uses examples such as cleaning up a sheet, fixing inconsistent labels, removing duplicates, summarizing trends across three tabs, and updating a table to reflect new assumptions. Those are better examples of real analyst work than generic "write a SUMIF" prompts.

This is where the official add-in starts to justify itself:

JobWhy the add-in is better than browser chat
Standardize labels and formattingIt can work on the actual sheet, not a pasted sample
Summarize trends across tabsWorkbook context matters
Explain a formula chainCell-linked explanations are easier to verify
Update a scenario tabIt can write changes back into the file

There is also a broader adoption point here. Microsoft and LinkedIn's 2024 Work Trend Index surveyed 31,000 people across 31 countries and found that 75% of knowledge workers already use AI at work. The question is no longer whether spreadsheet teams will use AI. The question is which jobs can be trusted to AI with review, and which still need tighter controls.

Where ChatGPT for Excel Stops#

ChatGPT for Excel is not a full replacement for Excel power features, and OpenAI is explicit about that.

The current product page says some advanced capabilities are not supported yet, including Office Scripts, Power Query, Pivot or Data Model work, data validation, named ranges manager, slicers, timelines, advanced charting breadth beyond the current supported set, and VBA automation. OpenAI also notes that very large workbooks may exceed the context window, which can lead to partial results.

That has two direct implications:

LimitationWhat it means in practice
No Power Query supportStill a poor fit for repeatable ETL pipelines
No VBA automation supportDraft code here, then test it yourself
Partial results on very large workbooksDo not assume every tab was fully considered
Workbook editing riskBe specific and review what changed

OpenAI's help page adds two trust details worth knowing. First, it says ChatGPT for Excel activity is separate from your main ChatGPT chat history. Second, it says some data logs may be stored with OpenAI for 30 days for safety and integrity purposes, while shared data is not used to improve models by default for Business, Enterprise, Edu, and Teachers plans.

The reason this caution matters is simple: spreadsheet reasoning is still hard. The 2023 paper InstructExcel: A Benchmark for Natural Language Instruction in Excel includes more than 10,000 samples across 170-plus Excel operations and 2,000 public spreadsheets, and the authors describe it as a hard benchmark even for GPT-4. Treat ChatGPT for Excel as an analyst assistant, not an unchecked final reviewer.

If you need multi-sheet cleanup, audit trails, output-sheet generation, and tighter overwrite control in one workflow, Deckary is the better tool. If you want the Microsoft-first path, compare this with Microsoft Copilot for Excel and How to Use Copilot in Excel.

Best ChatGPT for Excel Prompts for Analysts#

ChatGPT for Excel works best when the prompt names the workbook object, the task, and the output.

GoalPrompt
Formula creation"In the Gross Margin % column, create a formula using Revenue and COGS, then fill it down and explain the logic."
Model explanation"Explain why Net Working Capital changed between the Base and Downside tabs and list the driver cells."
Cleanup"Standardize the Date column to one format, fix inconsistent Region labels, remove duplicate invoice rows, and summarize what changed."
Scenario update"Update the forecast tab for a 5% price increase and 2% unit decline, then summarize the effect on revenue and EBITDA."
VBA drafting"Write a VBA macro that inserts a summary sheet with totals by department and comments each step."
Error tracing"Explain why cell H44 returns #VALUE!, identify the broken references, and suggest a corrected formula."

These prompts are simple on purpose. The current SERP is crowded with prompt lists, but specificity beats novelty.

Should You Use ChatGPT for Excel?#

ChatGPT for Excel is worth using if your workflow already lives in Excel and you want workbook-aware help with formulas, explanations, cleanup, and scenario updates. It is a real step up from browser-only prompting because it can read the sheet, link answers to cells, and write changes back into the file with permission prompts.

It is not the best fit for every spreadsheet job. If you want one quick formula, plain ChatGPT is faster. If you need Power Query, VBA automation, or heavier workbook controls, ChatGPT for Excel still has gaps. For consultants, FP&A teams, and finance users working in high-stakes files, we recommend Deckary because the product is built around the full workbook loop rather than a lighter assistant pattern.

For the broader buying decision, read AI for Excel, Best AI for Excel, and Microsoft Copilot for Excel.

Sources#

Build and audit Excel workbooks with AI

Describe the model, cleanup, audit, or output sheet you need. Deckary's AI Excel agent works through the task inside your workbook.

ChatGPT for Excel: Practical Guide for Formulas and VBA | Deckary