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

=REDUCE(0, B2:B13, LAMBDA(n, v, IF(v>=500, n+1, n)))

The outer function is REDUCE, so the final answer is what REDUCE returns. It uses 3 functions 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.

REDUCEFunction

Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator.

  1. initial_value(optional)
    0

    The number 0.

  2. array
    B2:B13

    The cells B2:B13: 12 cells in one column.

    Array is a range of cells or an array constant.

  3. lambda(accumulator
    LAMBDA(n,v,IF(v>=500,n+1,n))
    LAMBDAFunction

    Create custom, reusable functions and call them by a friendly name.

    1. parameter1(optional)
      n

      Names a value n so it can be reused below.

    2. parameter2(optional)
      v

      Names a value v so it can be reused below.

    3. calculation
      IF(v>=500,n+1,n)
      IFFunction

      Specifies a logical test to perform.

      1. logical_test
        v>=500

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

        Comparison (>=)Operator

        Checks whether v is greater than or equal to 500, giving TRUE or FALSE.

        vThe variable v, named earlier in this formula with LET or LAMBDA.
        500The number 500.
      2. value_if_true
        n+1

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

        Add (+)Operator

        Adds n and 1.

        nThe variable n, named earlier in this formula with LET or LAMBDA.
        1The number 1.
      3. value_if_false(optional)
        n

        The variable n, named earlier in this formula with LET or LAMBDA.

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

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
12
13

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