Calculate Age or Tenure Between Two Dates in Excel & Google Sheets

Compute completed years, months, or days between a start date and today or an end date for tenure, age, and contract tracking.

Formula for Completed Years Between Two Dates

Use DATEDIF(start_date, end_date, "Y") to return the number of full completed years between a start date in A2 and an end date (or TODAY()):

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

Common Unit Codes for Date Differences

Unit Code What It Returns Example Formula
"Y" Completed full years =DATEDIF(A2, TODAY(), "Y")
"M" Completed full months =DATEDIF(A2, TODAY(), "M")
"D" Total calendar days =B2-A2 or =DATEDIF(A2, B2, "D")

Practical Tips

Editorial & Accuracy Note: Tested across Microsoft Excel and Google Sheets. Part of the Know Unlimited Excel & Google Sheets Hub.