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

=DATEDIF(B2, TODAY(), "Y")

The outer function is DATEDIF, so the final answer is what DATEDIF 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.

DATEDIFFunction

Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.

  1. start_date
    B2

    The value in cell B2.

    Start_date is the date the period starts.

  2. end_date
    TODAY()

    End_date is the date the period ends.

    TODAYFunction

    Returns the serial number of today's date.

  3. unit
    "Y"

    The text "Y".

    Unit is the kind of result you want: "Y", "M", "D", "MD", "YM" or "YD".

See it calculate

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

AB
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