Ghost Sheet

DATEDIF: full years of service or age

How do I count complete years between two dates?

This is the task for this topic. It is part of the plan; the level check before it is free.
D2Type a formula for D2, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDE
1NameTeamStart dateFull years
2Grace ObiPeople04/19/2013
3Tomas NovakDispatch02/07/2017
4Lena ParkAccounts10/09/2018
5Omar HaddadAccounts01/18/2003
6Ravi MenonAccounts02/06/2011
7Eli BrooksDispatch05/26/2010
8Nora KellyDispatch01/06/2015
9Felix WongAccounts10/27/2009
10Maya SinghDispatch10/08/2024
11Owen ReyesPeople05/09/2009
12Iris LundSales desk11/09/2018
13
14
15
16
17
18
19
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

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