Why it works
- What it does
- DATEDIF counts complete units between a start and an end date; with "y" it gives full years, which only tick over on the anniversary. Use it for years of service, age or contract length. The start date goes first.
- The shape of the formula
- =DATEDIF(start date, end date, "y")
- How to remember it
- A year counts on its anniversary, not after 365 days.
- The usual mistake
- Dividing the days by 365. Leap days pile up, and people a few days short of an anniversary get a year they have not finished.
Keep practicing
Updated