Last updated: November 2026. Works with: ChatGPT Free, Go and Plus, plus the ChatGPT for Excel add-in (also works in Claude and Gemini)
It is Sunday evening. You opened your sales sheet to check one number, and now you are 40 minutes into a formula that keeps showing #N/A.
You know the answer is in there somewhere. You just do not have the hours to become an Excel expert.
Using ChatGPT for Excel fixes that. Describe what you want in plain English, and it writes the formula, explains the error or builds the sheet.
Below are 14 tested prompts for the spreadsheet jobs owners face every week. They work in the ChatGPT chat window, in the official ChatGPT for Excel add-in, and in Claude and Gemini too.
Quick answer
- ChatGPT can write, fix and explain Excel formulas from a plain-English description of your columns.
- There are two ways to use it: paste or upload your data in the ChatGPT chat, or use the official ChatGPT for Excel add-in inside your workbook.
- ChatGPT for Excel became generally available on all ChatGPT plans on May 5, 2026, according to OpenAI. Free and Go get limited usage.
- Always tell ChatGPT your column letters, header names and Excel version. Vague questions get formulas that point at the wrong cells.
- Test every formula on a few rows you can check by hand, and duplicate the file before letting any AI edit it.
Jump to a prompt group:
- 1. Write formulas
- 2. Fix and explain formulas
- 3. Clean messy data
- 4. Analyze your numbers
- 5. Build sheets from scratch
- 6. Automate repeat work
Before You Start
Option 1: the ChatGPT chat window. Paste a few rows, or upload the file, and ask your question. You then copy the formula back into Excel yourself. This works on every plan, but OpenAI’s pricing page lists file uploads and data analysis as limited on Free and included on Go, Plus and Pro.
Option 2: the ChatGPT for Excel add-in. It opens in a sidebar inside your workbook, reads your tabs, and can write formulas and edit cells directly. OpenAI launched it in beta on March 5, 2026, added a Google Sheets version on April 22, 2026, and made both generally available on all plans on May 5, 2026.
Here is what you get on each plan for the add-in, based on OpenAI’s help article as of November 2026:
- Free and Go: limited usage of the Excel and Google Sheets add-ins.
- Plus and Pro: access subject to your plan’s agentic usage limit.
- Business: the Excel, Word, PowerPoint and Google Sheets extensions are included. A standard seat costs $20 per user per month billed annually or $25 billed monthly, for teams of 2 to 200 (OpenAI business pricing).
To install it, open Excel (desktop or web), go to Home, then Add-ins, search for “ChatGPT”, add it, and sign in with your ChatGPT account. OpenAI says the add-in asks for permission before it changes your workbook.
Two limits to know: add-in chats do not sync with your main ChatGPT history or memory, and VBA and macros may not be fully supported there.
Three setup steps (5 minutes):
- Duplicate the file first. OpenAI itself recommends this for important work, so you can go back if an edit goes wrong.
- Describe your layout. Every prompt below has a [MY COLUMNS] line. Write it like this: “A = Date, B = Customer, C = Product, D = Qty, E = Unit Price, F = Total. Headers in row 1, data in rows 2 to 500.”
- Fill the [BRACKETS]. Replace each placeholder with your details and delete lines that do not apply. Add your Excel version if you know it.
Pro tip
In the chat window, never paste customer names, emails or payment details. Replace them with “Customer 1”, “Customer 2” first. The formula will work the same way on your real file.
1. Write Formulas in Plain English
All sample outputs in this guide use the same made-up business: a 3-person bakery that sells bread and pastries to local cafes. Its order sheet has Date in A, Customer in B, Product in C, Qty in D, Unit Price in E and Total in F.
Plain-English Formula Writer
Use it when: you know what you want the cell to show but not which function does it.
Write an Excel formula for me.
My columns: [MY COLUMNS]
My Excel version: [VERSION, OR "NOT SURE"]
What I want: [DESCRIBE THE RESULT, e.g. "show Reorder in column G if stock in C is below the minimum in D"]
Where the formula goes: [CELL, e.g. G2, then copied down]
Give me:
1. The formula, ready to paste
2. A one-line explanation in plain English
3. One quick test I can do to check it works
If my request is unclear, ask me one question before writing anything.
Example output (your results will vary), sample scenario: show “Reorder” in G when stock in C is below the minimum in D:
- Formula for G2:
=IF(C2<D2,"Reorder","") - What it does: if stock is lower than the minimum, it shows Reorder. Otherwise the cell stays empty.
- Test: type 3 in C2 and 5 in D2. G2 should say Reorder. Change C2 to 8 and it should go blank.
Lookup Formula Builder
Use it when: you need to pull a price, name or status from another tab, and VLOOKUP keeps breaking.
I need a lookup formula.
Main sheet "[SHEET NAME]": [MY COLUMNS]
Lookup sheet "[SHEET NAME]": [ITS COLUMNS]
Match on: [COLUMN THAT EXISTS IN BOTH, e.g. product code]
Bring back: [COLUMN TO RETURN]
If there is no match, show: [e.g. "Not found"]
Excel version: [VERSION]
Write it with XLOOKUP, and also with INDEX and MATCH in case my version does not have XLOOKUP.
Explain both in one line each, and tell me the most common reason this kind of lookup returns no match.
Example output (your results will vary), sample scenario: pull the unit price from a Products tab (Code in A, Name in B, Price in C) using the product code in column C:
- XLOOKUP (E2):
=XLOOKUP(C2,Products!A:A,Products!C:C,"Not found") - INDEX and MATCH (E2):
=IFERROR(INDEX(Products!C:C,MATCH(C2,Products!A:A,0)),"Not found") - Most common problem: hidden spaces, or codes stored as text in one tab and numbers in the other.
Summary Report Formulas
Use it when: you want a small report, such as sales per customer per month, without building a pivot table.
Help me build a summary table with formulas.
Data sheet "[SHEET NAME]": [MY COLUMNS]
I want a table that shows: [e.g. total sales per customer per month]
Rows should be: [e.g. customer names]
Columns should be: [e.g. months, October to December 2026]
Tell me exactly where to type the row and column labels, then give me ONE formula for the first cell that I can copy across and down.
Use SUMIFS or COUNTIFS. Lock the right cell references with $ signs and explain which ones are locked and why.
Example output (your results will vary), sample scenario: total sales for one customer in one month:
- Formula for October sales to Cafe Luna:
=SUMIFS(Orders!F:F,Orders!B:B,"Cafe Luna",Orders!A:A,">="&DATE(2026,10,1),Orders!A:A,"<"&DATE(2026,11,1)) - Copy-ready version: put customer names in column H and month start dates in row 1, then swap the fixed values for $H2 and I$1.
- Check: on the sample data this returned $162 (20 loaves at $4.50 plus 40 croissants at $1.80), which matches a hand count.
2. Fix and Explain Formulas
Error Detective
Use it when: a cell shows #N/A, #VALUE!, #REF!, #DIV/0! or a number you know is wrong.
This Excel formula is not working.
Formula: [PASTE FORMULA]
It is in cell: [CELL]
It shows: [ERROR OR WRONG RESULT]
What I expected: [EXPECTED RESULT]
My columns: [MY COLUMNS]
A few sample rows: [PASTE 3 TO 5 ROWS, PRIVATE DETAILS REMOVED]
1. Tell me the most likely cause in plain English
2. List other possible causes, most likely first
3. Give me the fixed formula
4. Tell me how to check which cause it is in under a minute
Example output (your results will vary), sample scenario: a price lookup returns #N/A even though the product code is clearly in the Products tab:
- Most likely cause: the code in your order sheet has a space at the end (“CROIS ” instead of “CROIS”), so Excel sees two different values.
- Other causes: codes stored as numbers in one tab and text in the other, or the lookup range not covering the full list.
- Fixed formula:
=XLOOKUP(TRIM(C2),Products!A:A,Products!C:C,"Not found") - Quick check: type
=LEN(C2)next to the code. If “CROIS” shows 6 instead of 5, there is a hidden space.
Formula Explainer
Use it when: you inherited a sheet from a bookkeeper, partner or past employee and have no idea what a formula does.
Explain this Excel formula to me like I am smart but not an Excel expert.
Formula: [PASTE FORMULA]
What the columns mean: [MY COLUMNS]
1. Explain what it does in 2 sentences
2. Walk through it piece by piece, from the inside out
3. Show what it returns for one example row: [PASTE ONE ROW]
4. Point out anything risky, such as fixed numbers typed into the formula or ranges that will miss new rows
5. Suggest a simpler version if there is one
Inherited Spreadsheet Tour
Use it when: you open a big workbook and need to understand it before you trust any number in it.
I am attaching (or describing) a workbook I did not build: [FILE OR DESCRIPTION OF TABS]
Give me a tour:
1. What each tab is for, in one line each
2. Which cells are inputs I am meant to change, and which are calculated
3. How the tabs connect (which tab feeds which)
4. The 5 most important formulas and what they calculate
5. Anything that looks broken, inconsistent or risky, with the cell address
Do not change anything. Just report. If you cannot see something, say so instead of guessing.
3. Clean Messy Data
Exports from shops, booking tools and banks are rarely tidy. Clean them once and every report gets easier.
Cleanup Plan
Use it when: you have a messy export and do not know where to start.
Here are the first 20 rows of a messy spreadsheet export (private details replaced):
[PASTE ROWS INCLUDING HEADERS]
I want to use it for: [e.g. monthly sales reports by customer]
1. List every problem you see (spaces, mixed date formats, merged columns, inconsistent names, blanks, totals mixed into the data)
2. Put them in the order I should fix them
3. For each one, give the exact Excel steps or formula to fix it
4. Tell me which fixes I should do once in the original file and which need a helper column
Duplicate Hunter
Use it when: you suspect an order, invoice or contact was entered twice.
Help me find duplicates in my sheet.
My columns: [MY COLUMNS]
A row counts as a duplicate when these columns all match: [e.g. Date, Customer, Product and Qty]
1. Give me a helper column formula that shows TRUE for every row that has a twin
2. Tell me how to highlight those rows with conditional formatting
3. Explain how to remove duplicates safely, keeping the first one
Warn me about any case where two matching rows might both be real.
4. Analyze Your Numbers
These prompts turn rows into answers you can act on.
Pivot Table Walkthrough
Use it when: you want a quick summary and have never built a pivot table, or forgot how.
Walk me through building a pivot table step by step.
My data: [MY COLUMNS], rows [2 TO X]
I want to see: [e.g. total sales by product for each month]
My Excel version: [VERSION, e.g. Microsoft 365 on Windows, Excel for Mac, Excel on the web]
Give me numbered clicks, one action per step.
Tell me what to drag into Rows, Columns, Values and Filters.
Then tell me how to group dates by month and how to refresh it when I add new data.
What Changed This Month
Use it when: you want to know why sales or costs moved, not just that they moved.
Here are my monthly numbers (pasted or attached):
[PASTE TABLE: CATEGORY, LAST MONTH, THIS MONTH]
1. Show the change for each row in money and percent
2. Rank the changes from biggest to smallest impact on the total
3. Write 3 short bullet points I could share with my team or partner
4. List 3 questions I should ask to find the real reason behind the biggest change
Show how you calculated each number. Do not guess reasons; label any idea as a possibility.
Example output (your results will vary), sample scenario: bakery sales by product for September and October:
- Croissants: up $324 ($1,188 to $1,512, about 27.3%). Biggest change.
- Sourdough: down $270 ($2,610 to $2,340, about 10.3%).
- Total: almost flat, $4,818 to $4,812 across all products. Croissant growth hid a drop in sourdough.
- Question to ask: did any cafe swap a bread order for pastries, or did one stop ordering bread?
Pro tip
Ask ChatGPT to “show how you calculated each number” in every analysis prompt. If it cannot show the math, do not trust the result. Then check the two biggest numbers in Excel yourself.
5. Build Sheets From Scratch
Let ChatGPT design the structure, then fill in your real numbers. In the add-in, OpenAI says ChatGPT can build a formatted sheet with formulas included.
Cash Flow Forecast Builder
Use it when: you want to see if you will have enough cash in 3 months, before it is a problem.
Design a simple 13-week cash flow forecast for my business in Excel.
Business: [WHAT YOU SELL]
Starting cash: [AMOUNT]
Money coming in: [e.g. weekly sales, invoices due and when]
Money going out: [e.g. rent on the 1st, payroll every 2 weeks, supplier bills, loan payment]
1. Lay out the tabs, rows and columns, with an Inputs area kept separate from formulas
2. Give me the formulas for running cash balance each week
3. Add a cell that flags any week where cash falls below [SAFETY AMOUNT]
4. Keep it simple enough to update in 10 minutes each Monday
If you are using the add-in, build it in a new tab and do not touch my other tabs.
Example output (your results will vary), sample scenario: the bakery, with $6,200 starting cash and a $2,000 safety level:
- Closing balance formula (C8):
=B8+C4-C6, where B8 is last week’s closing balance, C4 is this week’s cash in and C6 is this week’s cash out. - Warning flag (C9):
=IF(C8<Inputs!$B$2,"LOW CASH","")
Price and Margin Calculator
Use it when: you are setting or raising prices and want to see your real margin per product.
Build a price and margin calculator I can use in Excel.
Products: [LIST]
For each product I know: [e.g. ingredient or supply cost, packaging, time in minutes]
My hourly labor cost: [AMOUNT]
My target margin: [PERCENT]
1. Create the columns with clear headers
2. Give me formulas for total cost, current margin percent and the price needed to hit my target margin
3. Add a column that flags products below target
4. Explain the difference between margin and markup in 2 sentences, because I mix them up
Example output (your results will vary), sample scenario: a sourdough loaf that sells for $4.50 and costs $1.80 to make:
- Margin formula:
=(B2-C2)/B2, where B is price and C is total cost. Result: 60%. - Price for a 65% target margin:
=C2/(1-0.65), which gives about $5.14. - Margin vs markup: margin is profit as a share of the price (60% here). Markup is profit as a share of the cost (150% here), so the same loaf has two very different-sounding numbers.
6. Automate Repeat Work
Macro Writer
Use it when: you repeat the same formatting, sorting or copying steps every week.
Write an Excel VBA macro for me. I am not a programmer.
What I do by hand every [WEEK/MONTH]: [LIST THE STEPS IN ORDER]
Sheet names involved: [NAMES]
My columns: [MY COLUMNS]
1. Write the macro with a comment above each step in plain English
2. Make it stop with a clear message if a sheet it needs is missing
3. Tell me exactly how to add it, run it and save the file as .xlsm
4. Tell me what to back up before I run it the first time
Make it better: test any macro on a copy first, because Ctrl+Z cannot undo it. Use the chat window for this one, since VBA may not be fully supported in the add-in.
Highlight Rules
Use it when: you want overdue invoices, low stock or big orders to jump out without scanning every row.
I want Excel to highlight rows automatically.
My columns: [MY COLUMNS]
Highlight a row when: [e.g. the due date in D is in the past and Status in E is not "Paid"]
Color: [COLOR]
Give me the conditional formatting rule formula, the exact steps to add it to the whole table, and tell me which $ signs matter and why.
Example output (your results will vary), sample scenario: highlight unpaid invoices that are past their due date (Due Date in D, Status in E):
- Rule formula:
=AND($D2<TODAY(),$E2<>"Paid") - Steps: select A2 to E500, then Home, Conditional Formatting, New Rule, “Use a formula to determine which cells to format”, paste the formula and pick a fill color.
- Why the $ matters: the $ before D and E keeps every cell in the row looking at the same columns, so the whole row turns red, not just one cell.
Pro tip
Save your [MY COLUMNS] line in a note, or in a ChatGPT Project if you use the chat window. Pasting the same layout into every prompt saves typing and stops ChatGPT from guessing at your structure.
Best AI Tools for Excel and Spreadsheet Work
ChatGPT is great for formulas and one-off analysis, but your numbers often live in other tools first. If most of your spreadsheet work is bookkeeping, compare the best AI bookkeeping software or read QuickBooks vs Xero.
If you copy data between apps by hand every week, see our list of the best AI automation tools. For more ChatGPT prompts across your whole business, read ChatGPT for small business, and if you also use Claude, see how to set up Claude Projects for business.
Mistakes to Avoid
- Trusting a formula you did not test. Check it on 3 rows you can work out by hand before you copy it down 500 rows.
- Pasting customer or payroll data into the chat. Swap names, emails and amounts for dummy values. The formula works the same.
- Asking vague questions. “Fix my sales sheet” gets a guess. Column letters, headers and an example row get a working answer.
- Letting the add-in edit your only copy. Duplicate the file first, and review the changed cells before saving or sharing.
- Using it for tax or legal decisions. OpenAI’s help article says ChatGPT is not a financial, legal or tax advisor. Use it to prepare the sheet, then take the decision to a professional.
FAQs
Can ChatGPT write Excel formulas?
Yes. Describe your columns and the result you want, and ChatGPT will write the formula and explain it. Always test it on a few rows you can check by hand.
Is there an official ChatGPT add-in for Excel?
Yes. OpenAI’s ChatGPT for Excel add-in became generally available on all plans on May 5, 2026, and a Google Sheets version is also available. You install it from Home, then Add-ins, inside Excel.
Is ChatGPT for Excel free?
You can use it on the free plan, but OpenAI says Free and Go include limited usage. Plus and Pro include access subject to each plan’s agentic usage limit.
Can ChatGPT analyze an Excel file I upload?
Yes. As of November 2026, OpenAI lists file uploads and data analysis as limited on Free and included on Go, Plus and Pro. For big files, the add-in or a paid plan works better.
Is it safe to put business data from Excel into ChatGPT?
Remove personal details first. On Free, Plus and Pro personal accounts, OpenAI says data sharing is on by default, and you can turn off “Improve the model for everyone” in Settings, Data controls (OpenAI data controls). By default, OpenAI does not train on ChatGPT Business, Enterprise or Edu workspace content.
Do these prompts work in Claude, Gemini and Google Sheets?
Yes. The prompts are plain instructions, so they work in Claude and Gemini, and most formulas also work in Google Sheets. Mention Google Sheets in the prompt so you get the right function names.
Final Thoughts
Start with the Error Detective the next time a cell shows #N/A. It is the fastest way to see how much time ChatGPT can save you in Excel, and it takes under a minute.
Want more prompts like these? Read our guides to ChatGPT for customer service and ChatGPT for small business.
