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

=LOOKUP(2, 1/(B:B<>""), B:B)

The outer function is LOOKUP, so the final answer is what LOOKUP returns. It uses 1 function and 1 reference.

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.

LOOKUPFunction

Looks up values in a vector or array.

  1. lookup_value
    2

    The number 2.

    Lookup_value is the value to find. It can be a value, a reference or a text string.

  2. lookup_vector
    1/(B:B<>"")
    Divide (/)Operator

    Divides 1 by (B:B<>""). If the bottom number is 0 or empty you get #DIV/0!. Because a range is involved, Excel does this for every cell and returns a list of results.

    1The number 1.
    Comparison (<>)Operator

    Checks whether B:B is not equal to "", giving TRUE or FALSE. With a range, you get one TRUE/FALSE for every cell.

    The brackets make Excel work this part out first.

    B:BEvery cell in column B (1,048,576 rows).
    ""Empty text (""), which looks like a blank cell.
  3. result_vector(optional)
    B:B

    Every cell in column B (1,048,576 rows).

See it calculate

Like Excel's Evaluate Formula: the highlighted part is worked out next, then replaced by its value.

AB
1
2
3
4
5
6
7
8
9
10
11

We made this data up so you can see the formula work. Type over any cell to try your own values.

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.

Want the details on one function? Browse every Excel function