Skip to content

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.

Try:

Step by step

In the order Excel works it out.

Formula: =IFERROR(VLOOKUP(A2,$E$2:$F$20,2,FALSE),"Not found")
  1. Step 1: VLOOKUP(A2,$E$2:$F$20,2,FALSE)

    Looks for A2 in the first column of $E$2:$F$20 and gives the value in column 2 of the row where it finds it. FALSE means only an exact match counts: when A2 isn't there, VLOOKUP shows #N/A.

  2. 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

  • Returns a value of your choice instead of an error.

    valueVLOOKUP(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 "".
  • Finds a value in the first column of a table and returns a value from the same row.

    lookup_valueA2
    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_num2
    Which column of the table to return, counting from 1.
    range_lookupFALSE
    FALSE for an exact match (almost always what you want).

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.

Cell E2
Formula: =VLOOKUP(D2,A2:B4,2,FALSE)
E2 shows 7.25. In E2, =VLOOKUP(D2,A2:B4,2,FALSE) returns 7.25.

Learn what this formula uses

How to use it

  1. Copy the formula from Excel's formula bar, = included, and paste it into the box. Typing works too.
  2. Pick your version of Excel, so the check knows which functions you have.
  3. 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