Free tool
Excel Formula Explainer
Paste any formula. See what every function, range and operator does in plain English, watch Excel calculate it step by step, and catch common mistakes.
At a glance
Piece by piece
Outside in: the outer function first, with each argument and the pieces inside it. Green badges show each piece's value with the sample data below.
Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula.
Any error at all in the first part — including typos and broken references — is replaced by the second part.
- value
VLOOKUP(E2,A2:B50,2,FALSE)Value are 1 to 255 values, cells or ranges.
VLOOKUPFunctionLooks in the first column of an array and moves across the row to return the value of a cell.
- lookup_value
E2The value in cell
E2.Lookup_value is the value to find. It can be a value, a reference or a text string.
- table_array
A2:B50The cells
A2:B50: 2 columns × 49 rows (98 cells).Table_array is the table of data to search. The first column is searched for lookup_value.
- col_index_num
2The number 2.
Col_index_num is the column number in table_array from which the matching value is returned. The first column is 1.
- range_lookup(optional)
FALSEFALSEmeans exact match only.Range_lookup is FALSE for an exact match, or TRUE (or omitted) for the closest match in an ascending sorted list.
- value_if_error
"Not found"The text "Not found".
Value_if_error is the value returned when value is an error (#N/A, #VALUE!, #DIV/0! ...).
See it calculate
Like Excel's Evaluate Formula: the highlighted part is worked out next, then replaced by its value.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | |||||
| 2 | |||||
| 3 | |||||
| 4 | |||||
| 5 | |||||
| 6 | |||||
| 7 | |||||
| 8 | |||||
| 9 | |||||
| 10 | |||||
| 11 | |||||
| 12 | |||||
| 13 | |||||
| 14 | |||||
| 15 | |||||
| 16 | |||||
| 17 | |||||
| 18 | |||||
| 19 | |||||
| 20 | |||||
| 21 | |||||
| 22 | |||||
| 23 | |||||
| 24 | |||||
| 25 | |||||
| 26 | |||||
| 27 | |||||
| 28 | |||||
| 29 | |||||
| 30 |
We made this data up so you can see the formula work. Type over any cell to try your own values. Only the first rows and columns of large ranges are shown.
What the explainer shows you
Every piece, in plain English
Each function's arguments are named and explained, ranges are colour-coded like Excel, and lookup settings like 0 or FALSE are spelled out.
A live calculation
We build a small sample sheet under your formula so you can watch it calculate step by step — and see exactly where an error starts.
Mistakes caught early
Approximate-match lookups, numbers stored as text, missing brackets, misspelt functions and slow whole-column maths are flagged with a fix.
Popular formulas to explore
- Two-condition lookup
=INDEX(C2:C50, MATCH(1, (A2:A50="North")*(B2:B50="Q1"), 0)) - XLOOKUP with a fallback
=XLOOKUP(F2, A2:A20, C2:C20, "Not found") - Sum with two conditions
=SUMIFS(D2:D100, A2:A100, "North", B2:B100, ">100") - Letter grades
=IF(B2>=90,"A",IF(B2>=80,"B",IF(B2>=70,"C","F"))) - VLOOKUP gone wrong
=VLOOKUP(F2, A2:D20, 3) - Text before a dash
=TEXTBEFORE(A2, "-") - Count rows that match
=SUMPRODUCT((A2:A50="North")*(C2:C50>500)) - Safe division
=IFERROR(C2/B2, 0)
Want the details on one function? Browse every Excel function