BeginnerDate & Time5 min15 points

Count complete years of service with DATEDIF

The situation

Harbor Supply's long-service awards go by completed years at the annual review date. Dividing the day count by 365 gave the HR coordinator 7.58 for someone who has done seven years, and a spreadsheet that argued with the policy. Years of service means whole years that have actually passed.

A1
fx
Count complete years of service with DATEDIF — question sheet. Use the arrow keys to move between cells, Enter or F2 to edit, Escape to cancel, Control D to fill down from the cell above, and Control C and Control V to copy and paste.
Row numberABCDEF
1EmployeeStart dateYears of serviceReview date
2Dana WhitfieldMar 4, 2019Oct 1, 2026
3Marcus BellSep 13, 2021
4Priya RamanJan 22, 2024
5Alan ReyesNov 7, 2016
6

Functions in this exercise

Who this is for