Formula explainer
Paste an Excel or Google Sheets formula. Get it in plain English, step by step. It runs in your browser: nothing is sent anywhere.
In plain English
Looks for G2 in A2:A9 and returns the value in the same position of C2:C9. If there's no match, it shows "Missing".
Works in: Excel 2021+, Microsoft 365, Google Sheets
Where each function is taught
Step by step
What each part does.
- 1XLOOKUP
=XLOOKUP(G2, A2:A9, C2:C9, "Missing")= 65Looks for
G2inA2:A9and returns the value in the same position ofC2:C9. If there's no match, it shows"Missing".key G2what to look for lookup_range A2:A9where to look for it return_range C2:C9what to bring back, the same height if_not_found "Missing"what to show when there's no match, instead of #N/AFrom the course:
Lesson 17XLOOKUPsearches one range and returns the value at the same position from another range.
Try it on a sample sheet
We filled the cells your formula reads with sample numbers and put the formula in I2. Type your own values (text works too) and watch the result and the steps above update.
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | |||||||||
| 2 | 47 | 81 | 31 | 65 | |||||
| 3 | 84 | 28 | |||||||
| 4 | 31 | 65 | |||||||
| 5 | 68 | 12 | |||||||
| 6 | 15 | 49 | |||||||
| 7 | 52 | 86 | |||||||
| 8 | 89 | 33 | |||||||
| 9 | 36 | 70 |
Practise this in 5 minutes
Everything this formula uses is taught in Lesson 17: XLOOKUP (Unit 4, Lookups), on a live sheet with instant feedback. Pro
Open “XLOOKUP”Need a quick reference? The formula cheat sheet is free to read and print.
How the formula explainer works
It reads your formula with the same engine that grades formulastreak's lessons, then describes each function in the order a spreadsheet calculates it: the innermost first. Every argument gets a name and a plain-English meaning, taken from the lesson that teaches that function.
Then it builds a small sample sheet around the cells your formula reads, so you can see what each step returns and change the numbers to test it. Nothing is uploaded: it all happens in this page.
Want to understand the errors instead? Try the Excel error decoder, or read the formula guides.
Popular formulas, explained
- VLOOKUP + IFERROR
=IFERROR(VLOOKUP(F2,$A$2:$C$9,3,FALSE),"Not found") - INDEX MATCH
=INDEX($C$2:$C$9,MATCH(F2,$A$2:$A$9,0)) - SUMIFS
=SUMIFS(D2:D20,B2:B20,"North",C2:C20,">="&H1) - IF with AND
=IF(AND(B2>=100,C2="Yes"),"Bonus","No bonus") - XLOOKUP
=XLOOKUP(G2,A2:A9,C2:C9,"Missing") - COUNTIF wildcard
=COUNTIF(A2:A20,"*shirt*") - Percent change
=ROUND((C2-B2)/B2,3) - FILTER
=FILTER(A2:C20,B2:B20="West","None")
Questions
Which formulas can it explain?+
Any formula written for Excel or Google Sheets: it reads cell references, ranges, operators, text, nested functions, LET and LAMBDA. It describes about 150 functions in detail. If it meets a function it doesn't know yet, it says so and still explains the rest.
Does my formula leave my computer?+
No. The explanation and the sample sheet run entirely in your browser. Nothing you paste is sent to our server.
Why does it explain the formula inside-out?+
That's the order a spreadsheet works it out: the innermost functions first, then the functions that use their results. Reading it in that order makes long formulas much easier to follow.
Does it work for formulas from another sheet or workbook?+
Yes. References like Prices!A2:C9 are explained without the sheet name. Excel table references like Table1[Amount] aren't supported yet.
Is it the same in Excel and Google Sheets?+
Most formulas are. Below each explanation you'll see which versions of Excel and whether Google Sheets support every function it uses.