Age from date of birth

Work out an age in complete years or months from a date of birth with DATEDIF, and get a decimal age with YEARFRAC.

Confident · 10 min · 9 steps

In this lesson

  • Age in complete years: =DATEDIF(B2, G1, "Y"), date of birth first.
  • Other units: "M" complete months, "D" days, "YM" the months after the last whole year (for "2 years, 3 months").
  • The other way round, DATEDIF shows #NUM!.

Try a free lesson first

Remove duplicates

Delete repeated rows from a merged list, and choose which columns decide what counts as a duplicate.

Confident · 9 min · Free, with no sign-up

Do the free lesson on your computer.

Send yourself the link and open it on a laptop or desktop.

On your computer, go tolearnford.com/go/2R5R

This lesson is in the full Excel course

US$149 once

Tax included. New lessons are added as they're written.

Get the full course, US$149

30-day money-back guarantee if you've opened fewer than 10 paid lessons.

  • All 217 Excel lessons open today, and every new one as it's written.
  • The Roadmap, Skills and all eight paths.
  • A cheat sheet for every lesson you finish.

Already have the course? Sign in

Skill
Dates and times
Stage
Confident

Where it sits in Dates and times 11 lessons

And 2 more, up to Quarters and fiscal years from a date. See the whole skill

The steps

9 steps: 4 explanations, 3 Do this, 2 questions, then Your turn.

Try a free lesson first

Remove duplicates

Delete repeated rows from a merged list, and choose which columns decide what counts as a duplicate.

Confident · 9 min · Free, with no sign-up

Do the free lesson on your computer.

Send yourself the link and open it on a laptop or desktop.

On your computer, go tolearnford.com/go/2R5R