Explain and fix an Excel formula
Paste a formula to see what each part does, in the order Excel works it out, with common mistakes found and fixed.
A sample formula. Paste yours: it's explained as you type, and it isn't stored.
Step by step
In the order Excel works it out.
Step 1: VLOOKUP(A2,$E$2:$F$20,2,FALSE)
Looks for
A2in the first column of$E$2:$F$20and gives the value in column2of the row where it finds it.FALSEmeans only an exact match counts: whenA2isn't there, VLOOKUP shows #N/A.Step 2: IFERROR(step 1,"Not found")
Gives step 1, but if that's an error, such as #N/A or #DIV/0!, it gives
"Not found"instead.
The functions
IFERROR
How IFERROR worksReturns a value of your choice instead of an error.
- value
VLOOKUP(A2,$E$2:$F$20,2,FALSE) - The formula that might give an error.
- value_if_error
"Not found" - What to show instead, like 0 or "".
- value
VLOOKUP
How VLOOKUP worksFinds a value in the first column of a table and returns a value from the same row.
- lookup_value
A2 - The value to find, like an ID or a name.
- table_array
$E$2:$F$20 - The table to look in; the value is searched in its first column.
- col_index_num
2 - Which column of the table to return, counting from 1.
- range_lookup
FALSE - FALSE for an exact match (almost always what you want).
- lookup_value
The references
- A2Relative
One cell. Copy the formula to another cell and it moves the same distance.
- Copied down
A3- Copied right
B2
- $E$2:$F$20Absolute
A range of 19 rows by 2 columns (38 cells). The $ signs keep it in place wherever you copy the formula.
- Copied down
$E$2:$F$20- Copied right
$E$2:$F$20
VLOOKUP in a small example
Worked out by the same engine that checks ProExcel's practice sheets.
Learn what this formula uses
- Replace an error with IFERROREveryday Functions: Math, Counting and Logic6 min
- Look up a value with VLOOKUPLookups: VLOOKUP, XLOOKUP and INDEX/MATCH6 min
- Copy a formula down a columnExcel Foundations8 min
How to use it
- Copy the formula from Excel's formula bar, = included, and paste it into the box. Typing works too.
- Pick your version of Excel, so the check knows which functions you have.
- Read the fixes first, if there are any, then the steps: each one is a part of the formula, in the order Excel works it out.
How it works
The explainer reads your formula with the same parser ProExcel uses to check the formulas learners type in its lessons. It splits the formula into the steps Excel works out, innermost first, and describes each function from ProExcel's function reference. No AI is involved, and nothing keeps your formula once it's explained.
The checks look for the mistakes that most often stop a formula working: brackets and quotation marks that don't pair up, a misspelled function, text without its quotation marks, VLOOKUP without FALSE, SUMIFS ranges of different sizes and a division that can hit zero. In =VLOOKUP(A2,E2:F20,2), for example, the missing FALSE makes VLOOKUP look for an approximate match, which only works on a sorted list.
Questions
Is my formula stored anywhere?
No. It goes to ProExcel's server to be read and explained, and nothing keeps it. It never goes in the page's address, so it isn't in your browser history either.
It flags something in a formula that works. Is it wrong?
Some checks are warnings, not errors. Dividing by a cell that's never empty is fine, and a name you made in Name Manager doesn't need quotation marks. Each warning says when to leave the formula as it is.
Does it read formulas from Excel in another language?
Partly. It turns the semicolons between arguments into commas, and it knows the most used function names in French, German, Spanish, Italian, Dutch and Portuguese, such as SVERWEIS for VLOOKUP. Any other name it treats as misspelled.
Can it explain every function?
It reads every Excel function, and describes in full the hundred or so that ProExcel's function reference covers, which are the ones people use most. For the others it lists the arguments without describing them.
Does it check my formula gives the right answer?
No. It reads the formula, but it doesn't have your data. ProExcel's lessons do that part: you type formulas into a real sheet and each one is checked the moment you press Enter.
More free tools
All tools- Excel function finderDescribe a job in plain words and get the Excel function that does it, with a small example to copy.count cells that aren't emptyanswer:
=COUNTA(B2:B5) - Does my Excel have it?Check which versions of Excel have a function, from Excel 2016 to Microsoft 365, and what to use when yours doesn't.XLOOKUP in Excel 2019?answer:No: Excel 2021 or later
- Excel shortcut trainerPress the real keys for everyday Excel shortcuts, on Windows or Mac, and see straight away if you got each one right.CtrlD⌘ CmdDFill down
Write formulas you don't have to look up
ProExcel's free course teaches the formulas people use at work, one short lesson at a time, with practice you type yourself and feedback the moment you press Enter.