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

=INDEX(D2:D6, MATCH(1, (C2:C6="Accessories") * (B2:B6="Webcam"), 0))

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

INDEXMATCHD2:D6C2:C6B2: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.

INDEXFunction

Uses an index to choose a value from a reference or array.

INDEX + MATCH: MATCH finds the position, then INDEX returns the value at that position.

  1. array
    D2:D6

    The cells D2:D6: 5 cells in one column.

    Array is a range of cells or an array constant.

  2. row_num
    MATCH(1,(C2:C6="Accessories")*(B2:B6="Webcam"),0)

    Row_num selects the row in array to return a value from.

    MATCHFunction

    Looks up values in a reference or array.

    Looking up 1 in a list of multiplied TRUE/FALSE results finds the first row where every condition is true — a classic multi-condition lookup.

    1. lookup_value
      1

      The number 1.

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

    2. lookup_array
      (C2:C6="Accessories")*(B2:B6="Webcam")

      Lookup_array is the range of cells to search.

      AND logic (*)Operator

      Multiplies two lists of TRUE/FALSE results. TRUE × TRUE = 1 and anything with a FALSE = 0, so you get 1 only where both conditions are true.

      Comparison (=)Operator

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

      The brackets make Excel work this part out first.

      C2:C6The cells C2:C6: 5 cells in one column.
      "Accessories"The text "Accessories".
      Comparison (=)Operator

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

      The brackets make Excel work this part out first.

      B2:B6The cells B2:B6: 5 cells in one column.
      "Webcam"The text "Webcam".
    3. match_type(optional)
      0

      0 means exact match only.

      Match_type is 1 (less than), 0 (exact match) or -1 (greater than).

See it calculate

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

ABCD
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