Excel beginner age birthdate datedif today

How to Calculate Age from Birthdate in Excel

Calculate Age from Birthdate is a Excel function that calculates the number of complete years between a person's birthdate and today's date.. Formula Genius generates and validates this formula automatically from a plain-English prompt.

Finding a person's age from their birthdate can be easily done using the TODAY() function in Excel. This guide will show you how.

The Formula

Prompt

"Calculate a person's current age in complete years from their date of birth using TODAY()"

Excel
=DATEDIF(A1, TODAY(), "Y")

This formula calculates the number of complete years between a person's birthdate and today's date.

Step-by-Step Breakdown

  1. Step 1: Enter the birthdate in a cell, e.g., A1.
  2. Step 2: Use the TODAY() function to get the current date.
  3. Step 3: Apply the DATEDIF function to calculate the difference in years.
  4. Step 4: Use the "Y" argument to specify that you want the difference in complete years.

Edge Cases & Warnings

  • The birthdate is in the future.
  • The birthdate is today, resulting in an age of 0.
  • Leap year birthdates may cause confusion in age calculation.
  • Invalid date formats can lead to errors in the formula.

Examples

Prompt

"Birthdate: 1990-05-15"

Excel
Age: 33
Prompt

"Birthdate: 2000-01-01"

Excel
Age: 23

Frequently Asked Questions

How does the DATEDIF function work?

The DATEDIF function calculates the difference between two dates based on the specified unit.

What if the birthdate is today?

If the birthdate is today, the formula will return 0 as the age.

Can I use this formula for future dates?

No, the formula will not work correctly for future birthdates.

Can't find what you need?

Describe any formula in plain English and Formula Genius will generate, explain, and validate it — instantly.