Explain and fix formulas in a workbook with ChatGPT
The struggle: You inherit a workbook with broken formulas and nobody can tell you how it was meant to work.
What you end up with: A plain explanation of what each sheet does, a list of formula problems, and tested fixes you apply to a copy.
Upload the workbook, have ChatGPT describe the logic first, then list formula errors and test each fix on a copy. You apply fixes in your own spreadsheet and compare results.
Tools: ChatGPT. Level: Free to start. Time: 45 min.
Use it if
- You inherited a model or a reporting workbook
- Totals changed and nobody knows why
- You can read formulas but not a whole chain of them
Skip it if
- The workbook uses macros you cannot share
- The numbers drive decisions and nobody can verify them
What you need first
- A ChatGPT account with file uploads and data analysis (limits vary by plan and are not published)
- A copy of the workbook you can freely change
The method
Upload a copy and map it (ChatGPT: Data analysis)
Save a copy named with today date. Remove personal data. Upload it and ask ChatGPT to map the sheets: what each does, where inputs are, where outputs are and how they connect.
Prompt to copy:
Describe this workbook. For each sheet: its purpose, the input cells or columns, the calculated cells, and which other sheets it uses. Then list the key outputs, such as totals. Mark anything you are guessing. If you cannot read a formula or a sheet, say which.
You get: A map of the workbook in words.
Tip: Ask for inputs and outputs first; formulas make sense once you know them.
List the formula problems (ChatGPT: Data analysis)
Ask for errors, hard coded numbers inside formulas, ranges that stop early, mixed units and references to empty cells. Read each finding and open the cell yourself to see it.
Prompt to copy:
List problems in the formulas: error values, hard coded numbers inside formulas, ranges that miss rows, references to blank cells, inconsistent formulas down a column, and totals that do not equal the sum of their parts. For each give the sheet, cell, the formula, why it is a problem and a proposed fix. Do not change anything. If unsure, say unsure.
You get: A list of cells that need attention, with reasons.
Tip: Hard coded numbers in formulas are the most common hidden problem.
Test a fix before you apply it (ChatGPT: Data analysis)
Pick one problem and ask ChatGPT to show the old and new result for three input examples. Compare with a manual calculation.
Prompt to copy:
For the problem in [cell], show the result of the current formula and of your fixed formula for three test cases that I give: [cases]. Show the arithmetic. If your fix changes a total elsewhere, tell me which cells change.
You get: Evidence that the fix works.
Tip: Test with one easy case and one edge case such as zero.
Apply on a copy and write notes (ChatGPT: Chat)
Apply the fixes in your copy of the workbook, one at a time. After each fix check the key outputs. Write a one line note per fix in a Notes sheet for the next person.
You get: A fixed copy with notes.
Tip: Do one fix at a time so you know which one changed a total.
Where this goes wrong
- A formula that looks right can still use the wrong cell. Test on numbers you can calculate by hand.
- Macros and external links may not be read. Ask what it could not see.
- Keep the original until your fixed copy produces the same results where it should.
- Have a qualified person check this before you sign, file or send it.
Sources
More like this
- Sort a year of bank lines into categories
- A polite late payment email ladder
- Your spreadsheets, explained and charted
Updated . Written with AI help and checked by an independent review step, as described in our editorial standards.