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

=LET(price, XLOOKUP(E2, A2:A50, B2:B50, ""), IF(price="", "Missing", price*1.13))

The outer function is LET, so the final answer is what LET returns. It uses 3 functions and 3 references.

LETXLOOKUPIFE2A2:A50B2:B50

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.

LETFunction

Assigns names to calculation results.

  1. name1
    price

    Names a value price so it can be reused below.

  2. name_value1
    XLOOKUP(E2,A2:A50,B2:B50,"")
    XLOOKUPFunction

    Searches a range or an array, and returns an item corresponding to the first match it finds. If a match doesn't exist, then XLOOKUP can return the closest (approximate) match.

    1. lookup_value
      E2

      The value in cell E2.

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

    2. lookup_array
      A2:A50

      The cells A2:A50: 49 cells in one column.

      Lookup_array is the range of cells to search.

    3. return_array
      B2:B50

      The cells B2:B50: 49 cells in one column.

      Return_array is the range of cells to return a value from.

    4. if_not_found(optional)
      ""

      Empty text (""), which looks like a blank cell.

      If_not_found is returned if no match is found. If omitted, #N/A is returned.

  3. calculation
    IF(price="","Missing",price*1.13)
    IFFunction

    Specifies a logical test to perform.

    1. logical_test
      price=""

      Logical_test is any value or expression that can be evaluated to TRUE or FALSE, e.g. B2>100.

      Comparison (=)Operator

      Checks whether price is equal to "", giving TRUE or FALSE.

      priceThe variable price, named earlier in this formula with LET or LAMBDA.
      ""Empty text (""), which looks like a blank cell.
    2. value_if_true
      "Missing"

      The text "Missing".

      Value_if_true is the value that is returned if logical_test is TRUE. If omitted, TRUE is returned.

    3. value_if_false(optional)
      price*1.13

      Value_if_false is the value that is returned if logical_test is FALSE. If omitted, FALSE is returned.

      Multiply (*)Operator

      Multiplies price by 1.13.

      priceThe variable price, named earlier in this formula with LET or LAMBDA.
      1.13The number 1.13.

See it calculate

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

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

Want the details on one function? Browse every Excel function