How to Use ChatGPT to Get an Excel Formula from a Screenshot (Free Prompt)
Stop describing your spreadsheet. Show it, say what you want in plain words, and learn to read the formula you get back.
Worth your time if: you know what you want your spreadsheet to do, and you can't remember the formula that does it.
Last checked: November 2026 · Applies to: ChatGPT on the free and paid plans, with Excel or Google Sheets.

You know the formula exists. You've Googled it four times this year. You still can't remember if it's IF then AND, or AND then IF, or where the quote marks go.
So you search again, find an answer written for someone else's spreadsheet, and spend ten minutes swapping their columns for yours.
Here's the shortcut: stop describing your spreadsheet. Show it. Here's how to use ChatGPT to get an Excel formula from a screenshot: one screenshot, one sentence in plain words and one test row.
The Dread List · Part 2 of 5. Five work tasks people put off, each with a free prompt that gets it done in minutes.
1. Catch up on a 40-reply email thread · 2. Get an Excel formula from a screenshot · 3. Say no to extra work without sounding rude · 4. Write your self-review · 5. Write your weekly report by voice
How do I get an Excel formula from a screenshot with ChatGPT?
Take a screenshot of your sheet with the column letters and row numbers showing, attach it in ChatGPT and say what you want in plain words. ChatGPT reads your columns and gives you the formula and the exact cell to paste it in. Test it on one row before you fill it down.
- Screenshot the sheet. Letters and numbers in frame.
- Say what you want. Plain words, one prompt.
- Test one row. Then fill it down.
Step 1: Screenshot the sheet
Include the column letters along the top and the row numbers down the side. Without them, ChatGPT has to guess which column is C.
- Windows: Windows + Shift + S, then drag over the sheet.
- Mac: Shift + Command + 4, then drag over the sheet.
Ten rows are enough. Zoom in first if the text is small: OpenAI says ChatGPT reads bigger text better (OpenAI Help Center).
Step 2: Say what you want
Paste the screenshot into ChatGPT, or select + and add it. Then paste the prompt and fill in the brackets.
Copy this prompt:
Here's a screenshot of my spreadsheet. I use [Excel or Google Sheets].
I want: [say it in normal words, e.g. show "Late" in column D when the date in column C has passed]
Give me the formula, tell me exactly which cell to paste it in, and explain each part in one line. Only use the columns you can see. If you can't read something, ask me instead of guessing.
"Explain each part in one line" is the line that teaches you something. For the example in the prompt, ChatGPT gives you something like this for cell D2:
=IF(C2<TODAY(),"Late","")Read it like a sentence. Every IF formula has three parts, separated by commas:
| Part | What it says |
|---|---|
C2<TODAY() | The question: is the date in C2 before today? |
"Late" | What to write if yes |
"" | What to write if no: nothing |
Once you can read one IF, you can read most of the formulas you'll ever inherit.
Plan: Free in ChatGPT. Free accounts can upload images, with lower limits than paid plans (OpenAI Help Center).
Step 3: Test one row, then fill it down
Paste the formula into the cell ChatGPT named. Check that row by eye. Then check a row that should give the opposite answer, and one with an empty cell.
The empty one matters. In the formula above, a blank date counts as "before today", so every empty row gets marked Late. Tell ChatGPT what you saw, in the same chat:
Rows with no date are showing Late. Fix the formula so blank dates stay blank.
You get a corrected version like this:
=IF(AND(C2<>"",C2<TODAY()),"Late","")When three test rows look right, drag the corner of the cell down the column.
Plan: Free in ChatGPT.
What changes when you show instead of describe?
The formula arrives fitted to your sheet, so you skip the translating.
| Searching | Showing | |
|---|---|---|
| You explain | Your columns, in a search box | Nothing. The screenshot does it |
| You get | A formula for someone else's sheet | A formula for yours |
| Where it goes | You work it out | ChatGPT names the cell |
| Next time | You search again | You can read the formula |
What does ChatGPT get wrong about spreadsheets?
It sees a picture of your sheet, not the sheet itself. Three things a picture hides:
- Dates stored as text. A date typed as text looks the same in a screenshot and breaks date formulas. If the test row fails, ask: "How do I check whether column C holds real dates?"
- Your version. Newer functions don't exist in older Excel. Microsoft says XLOOKUP isn't available in Excel 2016 or Excel 2019 (Microsoft Support). If you see #NAME?, tell ChatGPT your version.
- Commas or semicolons. Excel in many European languages separates the parts with semicolons. If Excel rejects the formula, ask ChatGPT to rewrite it with semicolons.
And before you upload, look at what's in the cells.
A serious note on privacy: crop to the columns ChatGPT needs, or swap real names and figures for made-up rows. The formula comes out the same. On a personal account, you can stop your chats being used to train OpenAI's models: Settings > Data controls > Improve the model for everyone (OpenAI Help Center).
How do I get more out of it?
| Level | What you get | Plan |
|---|---|---|
| 1. Prompt | A formula for your sheet (steps above) | Free |
| 2. Colour | Late rows turn red by themselves | Free |
| 3. Explain | A formula you inherited, in plain words | Free |
| 4. Project | Your Excel version and language saved | Free |
Level 1: Start with the prompt
Use it on the next formula you'd otherwise search for.
Level 2: Make the late rows turn red
A column that says Late is useful. A red row is impossible to miss in a meeting. In the same chat:
Now tell me how to make every row marked Late turn red, step by step, with the exact menu names in [Excel or Google Sheets].
That feature is called conditional formatting. You don't need to remember the name, only that you can ask for it.
Level 3: Understand a formula you inherited
Got a sheet that works and you don't know why? Copy the formula from the formula bar and paste it as text:
Explain this formula one part at a time, in plain words. Then tell me what would break it.
[paste the formula]
Level 4: Save your setup in a Project
Create a Project called Spreadsheets, open the ••• menu, select Project settings and add one line to the instructions: "I use [Excel 2019, in German]. Give me formulas that work in that version." Every answer then fits your setup first time. How Projects work.
Plan: Free in ChatGPT. Projects need you to be signed in (OpenAI Help Center).
Try it today
Open the spreadsheet you use most. Pick one thing you do by hand in it every week, screenshot the sheet and ask for the formula.
Can't take a screenshot? Describe your columns with the Excel formula helper prompt. Staring at an error box instead? Read how to fix an error message with ChatGPT.
Next, part 3: say no to extra work without sounding rude.
FAQ
Can ChatGPT write an Excel formula from a screenshot?
Yes. Attach a screenshot that shows the column letters and row numbers, say what you want in plain words, and ChatGPT gives you the formula and the cell to paste it in.
Is it free to get Excel formulas from ChatGPT?
Yes. Free accounts can upload images, with lower limits than paid plans.
Does it work for Google Sheets?
Yes. Say which one you use in the prompt, because a few formulas are written differently in Google Sheets.
What if the formula gives an error like #NAME? or #VALUE!
Screenshot the error and send it in the same chat. #NAME? usually means your version of Excel doesn't have that function, so tell ChatGPT your version and ask for one that works in it.
Is it safe to screenshot a work spreadsheet?
Check your company's AI policy first. Crop the screenshot to the columns ChatGPT needs, or replace real names and figures with made-up rows. The formula comes out the same.
Sources: OpenAI Help Center: ChatGPT Image Inputs FAQ · OpenAI Help Center: ChatGPT Free Tier FAQ · Microsoft Support: XLOOKUP function · OpenAI Help Center: Data controls in ChatGPT · OpenAI Help Center: Projects in ChatGPT