Loading…
Loading…
DATEDIF measures the gap between two dates in complete years ("Y"), months ("M") or days ("D"). It is the go-to for ages and tenure. It only counts completed units: 4 years and 7 months is 4 years.
Syntax
DATEDIF(start_date, end_date, unit)
Example: =DATEDIF(B2,C2,"Y") returns the whole years between the two dates.
Common mistakes
Read the lesson, then try it yourself in a live spreadsheet.