Exercises / Dates and deadlines · 3 of 10

Age in whole years

DATEDIF(start, end, unit) counts complete years ("y"), months ("m") or days ("d") between two dates. Dividing days by 365 drifts because of leap years and gives fractions.

Your taskIn C2, use DATEDIF to work out how many complete years old each person is on the date in F1. It will be copied down to C7.
Pro

Unlock this exercise and every module after the basics.

Pro opens every exercise in every module, your review schedule, and the final test for the course certificate.

RowABCDEF
1NameBornAgeAs of9 Nov 2026
2Ana21 Mar 1994
3Ben9 Nov 2001
4Cara1 Dec 1988
5Dino10 Nov 1999
6Ema29 Feb 2004
7Femi14 Jul 1975