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

=MID(A2, FIND("[", A2)+1, FIND("]", A2)-FIND("[", A2)-1)

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

MIDFunction

Returns a specific number of characters from a text string starting at the position you specify.

  1. text
    A2

    The value in cell A2.

    Text is the text, or a reference to a cell containing text.

  2. start_num
    FIND("[",A2)+1

    Start_num is the position of the first character you want, where the first character in text is 1.

    Add (+)Operator

    Adds FIND("[",A2) and 1.

    FINDFunction

    Finds one text value within another (case-sensitive).

    1. find_text
      "["

      The text "[".

      Find_text is the text you want to find.

    2. within_text
      A2

      The value in cell A2.

      Within_text is the text containing the text you want to find.

    1The number 1.
  3. num_chars
    FIND("]",A2)-FIND("[",A2)-1

    Num_chars is how many characters you want returned. If omitted, 1 is assumed.

    Subtract (-)Operator

    Subtracts 1 from FIND("]",A2)-FIND("[",A2).

    Subtract (-)Operator

    Subtracts FIND("[",A2) from FIND("]",A2).

    FINDFunction

    Finds one text value within another (case-sensitive).

    1. find_text
      "]"

      The text "]".

      Find_text is the text you want to find.

    2. within_text
      A2

      The value in cell A2.

      Within_text is the text containing the text you want to find.

    FINDFunction

    Finds one text value within another (case-sensitive).

    1. find_text
      "["

      The text "[".

      Find_text is the text you want to find.

    2. within_text
      A2

      The value in cell A2.

      Within_text is the text containing the text you want to find.

    1The number 1.

See it calculate

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

A
1
2

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