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

=GROUPBY(A2:A6, B2:B6, SUM, , 0, -2)

The outer function is GROUPBY, so the final answer is what GROUPBY returns. It uses 1 function and 2 references.

GROUPBYA2:A6B2:B6

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.

GROUPBYFunction

Helps a user group, aggregate, sort, and filter data based on the fields you specify.

  1. row_fields
    A2:A6

    The cells A2:A6: 5 cells in one column.

  2. values
    B2:B6

    The cells B2:B6: 5 cells in one column.

  3. function
    SUM

    The name SUM — a cell, range or value named in the workbook (Formulas ▸ Name Manager). We can't see what it holds.

  4. field_headers(optional)
    (empty)

    Left empty. Excel treats an empty argument as 0 (or FALSE).

  5. total_depth(optional)
    0

    The number 0.

  6. sort_order(optional)
    -2

    Sort_order is 1 for ascending (default) or -1 for descending.

    Negative (-)Operator

    Makes 2 negative.

    2The number 2.

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

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