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

=SUM(OFFSET(B2, COUNT(B2:B100) - 3, 0, 3, 1))

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

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.

SUMFunction

Adds its arguments.

  1. number1
    OFFSET(B2,COUNT(B2:B100)-3,0,3,1)

    number1,number2,... are 1 to 255 numbers, cells or ranges. Logical values and text in cells are ignored.

    OFFSETFunction

    Returns a reference offset from a given reference.

    1. reference
      B2

      The value in cell B2.

      Reference is a reference to a cell or range.

    2. rows
      COUNT(B2:B100)-3

      Rows is the number of rows.

      Subtract (-)Operator

      Subtracts 3 from COUNT(B2:B100).

      COUNTFunction

      Counts how many numbers are in the list of arguments.

      1. value1
        B2:B100

        The cells B2:B100: 99 cells in one column.

        value1,value2,... are 1 to 255 values, cells or ranges.

      3The number 3.
    3. cols
      0

      The number 0.

      Cols is the number of columns.

    4. height(optional)
      3

      The number 3.

    5. width(optional)
      1

      The number 1.

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