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
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.
Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.
- start_date
start_dateThe name
start_date— a cell, range or value named in the workbook (Formulas ▸ Name Manager). We can't see what it holds.Start_date is the date the period starts.
- end_date
end_dateThe name
end_date— a cell, range or value named in the workbook (Formulas ▸ Name Manager). We can't see what it holds.End_date is the date the period ends.
- unit
unitThe name
unit— a cell, range or value named in the workbook (Formulas ▸ Name Manager). We can't see what it holds.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.
This formula doesn't read any cells, so there's no sample data to show.
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.
Popular formulas to explore
- Two-condition lookup
=INDEX(C2:C50, MATCH(1, (A2:A50="North")*(B2:B50="Q1"), 0)) - XLOOKUP with a fallback
=XLOOKUP(F2, A2:A20, C2:C20, "Not found") - Sum with two conditions
=SUMIFS(D2:D100, A2:A100, "North", B2:B100, ">100") - Letter grades
=IF(B2>=90,"A",IF(B2>=80,"B",IF(B2>=70,"C","F"))) - VLOOKUP gone wrong
=VLOOKUP(F2, A2:D20, 3) - Text before a dash
=TEXTBEFORE(A2, "-") - Count rows that match
=SUMPRODUCT((A2:A50="North")*(C2:C50>500)) - Safe division
=IFERROR(C2/B2, 0)
Want the details on one function? Browse every Excel function