StepGleam logoStepGleam
Excel guide

Decode a long Excel formula with Evaluate Formula and an LLM

Paste the formula into ChatGPT or Claude for a plain-English explanation, then confirm each part with Evaluate Formula and F9 so you aren't relying on a wrong answer.

~20 minBeginner 78/100 5 steps Updated Oct 26, 2026
ChatGPTExcel (Microsoft 365)
Decode a long Excel formula with Evaluate Formula and an LLM — illustration for this Excel guide

Tools used

Step navigator0/5 done
0 of 5 steps done
What you'll get

A formula you understand piece by piece, with each piece's result confirmed in Excel.

Who this is for

Anyone staring at a nested formula someone else wrote.

Read this first

Before you start

On r/excel, a top answer to "best way to audit a complicated formula" was to paste it into ChatGPT. The pushback was about trust: answers that are confidently wrong. The workable version uses AI for the explanation and Excel's own tools to prove it.

Step-by-step instructions

Step 1 of 5 · Excel

Paste the formula into an LLM and ask for a breakdown

Copy the formula from the formula bar and ask for an explanation of each part. Users in the thread: "Throw it in ChatGPT and ask it to do it", and "when it comes to excel formulas, VBA and small Python scripts - AI shines." Say what the referenced cells contain.

Copy-ready promptChatGPT
Explain this Excel formula part by part, innermost first. B2 is an order date, C2 is a region code, and Rates!A:B is a lookup table. Formula: <paste>
Decode a long Excel formula with Evaluate Formula and an LLM — guide thumbnail
Step 2 of 5 · Excel

Treat the explanation as a hypothesis

Another user's caution: "I think the real issue is the hallucinated responses which remove the trust." Check it before you rely on it.

Step 3 of 5 · Excel

Step through it with Evaluate Formula

Select the cell, then Formulas → Formula Auditing → Evaluate Formula. Select Evaluate to compute the underlined part; use Step In to open a referenced formula and Step Out to go back. Compare each intermediate result with what the AI said.

Why this works

This shows what Excel actually computes, in order.

Step 4 of 5 · Excel

Check any piece with F9

In the formula bar, select one complete piece of the formula and press F9 to see its value, then press Esc so you don't replace the formula with the value. It's one of the tools r/excel users list for understanding individual formulas.

Step 5 of 5 · Excel

Test any AI rewrite on a copy

If you ask the AI to simplify the formula, test the new one next to the old one on a copy. One user rates the advice at "like 75% good" and says "you'd definitely want to save a copy and try it before moving on since it sometimes cranks out some non working formulas."

End of guide · Reviewed Oct 26, 2026

Pro tips2
  • Ask the AI to rewrite the formula over several indented lines; it is easier to read.
  • Ctrl+[ jumps to the cells the formula reads.
Common mistakes2
  • Pressing Enter after F9, which saves the value instead of the formula.
  • Accepting the explanation without stepping through it.
FAQ2
Does Evaluate Formula work on everything?
Microsoft notes some limits, e.g. Step In isn't available the second time a reference appears.
ChatGPT or Claude?
Users in the thread mention both. Either way, confirm in Excel.