Loading…
Loading…
DATEDIF returns the difference between two dates in "Y", "M" or "D".
=DATEDIF(start_date, end_date, unit)
| Argument | Required? | What it is |
|---|---|---|
| start_date | Required | The earlier date. |
| end_date | Required | The later date. |
| unit | Required | What to count: "Y" whole years, "M" whole months, "D" days. |
=DATEDIF(B2,C2,"Y") returns the whole years between the two dates.
From the lesson DATEDIF Function.
Type the formula yourself and get it graded instantly, no Excel needed.