The quick answer
Paste any Excel formula and the explainer reads it back in parts: a card for every function with its arguments and a one-line plain-English description, the list of cells and ranges the formula touches, and a reading order that follows Excel's own innermost-first evaluation. Parsing runs locally in your browser, so nothing uploads.
What the Excel Formula Explainer is
The Excel Formula Explainer is a syntax reader for Excel and Google Sheets formulas. It takes formula text and returns three panels: Functions in this formula, Cells and ranges referenced, and How to read it. The input box arrives with a worked example already pasted in, and the panels rebuild live on every keystroke. Descriptions come from a built-in dictionary of 43 functions, SUM through LAMBDA; any name outside it is labeled User-defined or unrecognized function, the honest answer for anything the dictionary cannot describe.
The How to read it panel leads with the nesting depth, then lists the functions in evaluation order, innermost first, which is the order Excel computes in. It names the cells and ranges the result depends on, and two operator notes appear when they apply: the caret line for ^ (exponentiation, evaluated before multiplication and division) and the ampersand line for & (text joining, as in "Total: " & A1). Formulas containing VLOOKUP or XLOOKUP get one more line, the advice to wrap the lookup in IFERROR to control what shows when the key is missing.
A worked example, read both ways
Here is the example that greets you on the page, a budget check with a lookup inside, shown with what the tool reports for it:
Input
=IF(SUM(B2:B10)>1000, VLOOKUP(E2, A:C, 3, FALSE), "under budget")
Output
Functions in this formula: IF, SUM, VLOOKUP. Cells and ranges referenced: B2:B10, E2. How to read it: this formula nests 3 levels deep; the reading order is SUM → VLOOKUP → IF; wrap the formula in IFERROR to control what shows when the key is missing.
What the formula itself computes, with real numbers: if B2:B10 holds the nine invoices 145.50, 210.00, 88.25, 342.75, 96.00, 175.50, 62.00, 128.50 and 36.00, SUM returns 1,284.50, the comparison 1,284.50 > 1000 is TRUE, and IF takes its second argument, so VLOOKUP searches the first column of A:C for the value in E2 and returns the third-column match. Notice the card detail the tokenizer leaves: A:C is a whole-column range it does not recognize, and the bare FALSE flag is dropped too, so VLOOKUP's argument list shows E2, an empty slot, 3, and another empty slot. That is a limit to know, not a bug in your formula.
Input
=ROUND(SUMIFS(D2:D90,B2:B90,"Q3")*0.0825,2)
Output
Functions in this formula: ROUND, SUMIFS. Cells and ranges referenced: D2:D90, B2:B90. How to read it: nests 3 levels deep; the reading order is SUMIFS → ROUND. On data where the Q3 rows sum to 12,400.75, the formula returns 12,400.75 × 0.0825 = 1,023.06 after ROUND to two decimals.
How to use the Excel Formula Explainer
Copy the formula with its equals sign
Click the cell and copy the text from the formula bar, or press Ctrl+` to show all formulas on the sheet and copy from there. The leading = is required; without it the input is rejected.
Paste into the box
Replace the example text with yours. Results recompute live on every keystroke, with no button to press.
Read the function cards
Each card shows the function name, its arguments as the tokenizer split them, and a one-line description from the 43-function dictionary; anything outside reads User-defined or unrecognized function.
Check the referenced cells
The chips list every cell and range the formula touches, with $ signs and sheet names preserved: the values the result depends on, and the first place to look when a result looks wrong.
Follow the reading order
The How to read it panel orders the functions innermost first, matching Excel's evaluation order, and states the nesting depth. Formulas with VLOOKUP or XLOOKUP also get the IFERROR tip.
Fix with the reading in hand
Use the cards as a refactor checklist: replace nested IF chains with IFS or SWITCH where they fit, wrap lookups in IFNA, or split deep nests into LET steps.
What the tokenizer recognizes, and what it skips
Under the hood runs a single-pass tokenizer. It types every run of characters: an uppercase name before an opening parenthesis becomes a function token; A1-style references with optional $ signs, sheet prefixes and ranges become reference tokens; numbers, quoted strings, operators, parentheses, commas and semicolons each become their own type. Quoted strings are captured whole, so a comma inside "under, budget" never splits an argument list.
The skips are worth knowing before you trust a card. Whole-column references such as A:C or D:E are not recognized: they never appear in the referenced-cells list and leave an empty argument slot in the function card. Bare TRUE and FALSE constants are dropped the same way, which is why a VLOOKUP's exact-match flag can show as an empty argument. Commas and semicolons are both accepted as separators, so European pastes parse, though the tool does not announce which it found. And it does not invent: unrecognized functions are labeled as such, and input without an equals sign is rejected outright.
Error values: what the # signal means
Excel's error values are terse on purpose: they are typed values, not messages, and they propagate outward through a formula the way exceptions do in code. Recognizing each one on sight is half of formula debugging.
| Error | Meaning | Typical cause | First thing to check |
|---|---|---|---|
| #DIV/0! | Division by zero | Denominator is empty or 0 | Wrap in IF(denominator=0,...,…) or IFERROR |
| #N/A | Lookup miss | Value genuinely absent, or type mismatch | Trailing spaces; numbers stored as text |
| #NAME? | Unrecognized name | Typo, or function missing in this version | Spelling; XLOOKUP in Excel 2016 raises this |
| #VALUE! | Wrong argument type | Arithmetic on text, bad array shape | What the cell actually contains vs. looks like |
| #REF! | Invalid reference | Referenced cells were deleted | Undo history; rebuild the reference |
| #NUM! | Numeric impossibility | SQRT of negative, iteration divergence | Domain of the math itself |
| #NULL! | Bad range intersection | Space operator between disjoint ranges | Should that space be a colon? |
| #SPILL! | Array cannot expand | Cells in the spill path are occupied | Clear blockers below or beside the formula |
IFERROR catches everything, which is its danger: it converts bugs into blank cells and lets them spread silently for months. The disciplined pattern is IFNA for expected lookup misses and IFERROR only where every possible error is acceptable. The explainer's own lookup tip draws that line for VLOOKUP and XLOOKUP: wrap the formula in IFERROR to control what shows when the key is missing.
Who reaches for a formula explainer
Auditors and reviewers use it as triage: an inherited formula becomes a function list, a set of references and a reading order in seconds, before anyone commits hours to verification. Learners use it the other way around, pasting formulas from documentation until the grammar sticks. Teams in handover season run the worst cell in the workbook through it first, because the reading order tells the successor where to start reading.
Frequently asked questions
What does the $ mean in an Excel formula?
It marks a locked reference. $A$1 is absolute, so both column and row stay fixed when the formula is copied. A$1 locks only the row, $A1 locks only the column, and A1 locks nothing. Press F4 while editing a reference to cycle through the four states.
How does the explainer handle nested formulas?
It counts the nesting levels and prints the reading order innermost first, which is the order Excel evaluates in. For a formula like =IF(SUM(B2:B10)>1000,VLOOKUP(A2,D2:E90,2,FALSE),"under budget"), the reading order reads SUM → VLOOKUP → IF, and each of those functions gets its own card with arguments and a one-line description.
Why does my formula return #N/A?
A lookup failed to find its value: VLOOKUP with FALSE, MATCH, or XLOOKUP without an if_not_found argument all raise it. Check for invisible mismatches first: trailing spaces, numbers stored as text, and differently typed values are the three usual culprits. Wrap in IFNA or supply XLOOKUP's if_not_found to handle it.
Does it work with Google Sheets formulas?
For the shared grammar, yes: SUM, IF, VLOOKUP and the A1 reference style parse identically. Sheets-only functions such as ARRAYFORMULA, QUERY or IMPORTRANGE are not in the built-in 43-function dictionary, so their cards read User-defined or unrecognized function instead of a made-up description.
What do the double dashes mean in a formula?
Double negation converts TRUE and FALSE into 1 and 0. The classic pattern SUMPRODUCT(--(B2:B100="TX")) counts rows where column B equals TX: the comparison makes a list of TRUEs and FALSEs, the first dash converts them to -1/0, the second flips them back positive. It is type coercion disguised as arithmetic.
Why does Excel show #SPILL! instead of my answer?
Your formula returns multiple values, a dynamic array, and something occupies the cells where those values need to land. Clear the blocking cells and the formula spills. #SPILL! appears only in Excel 365 and 2021+, where dynamic arrays exist; older versions would have required Ctrl+Shift+Enter.
Is my formula uploaded to a server?
No. Tokenizing and explanation run entirely in your browser as JavaScript, with no network request anywhere in the process. Sheet names, cell references and constants in your formulas stay on your machine.
Sources and further reading
The references cover the platform facts this page leans on: the function reference, the formula limits, the formal grammar, and the version history.
Sources and further reading
- Microsoft Support: Excel help and learning(support.microsoft.com)
- Microsoft Support: Excel specifications and limits(support.microsoft.com)
- ECMA-376: Office Open XML file formats(ecma-international.org)
- Wikipedia: Microsoft Excel(en.wikipedia.org)
We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.