Table of Contents

Calculate Age

To calculate age in Excel use the DATEDIF function and TODAY. You can also use the age formula further down to calculate a person’s exact age in years months and days.

1. Enter the date of birth into cell A2.

Date of Birth in Excel

2. Enter the TODAY function into cell B2 to return today’s date.

Today Function

3. The DATEDIF function below calculates the age of a person.

DateDif Function

Note: the DATEDIF function in Excel has three arguments. Fill in “y” for the third argument to get the number of complete years between the date of birth and today’s date.

4. Calculate the age of a person without displaying today’s date.

Calculate Age in Years

5. Calculate the age of a person on a specific date.

Calculate Age on Specific Date

Note: the DATE function accepts three arguments: year month and day.

6. The age formula below calculates the exact age of a person in years months and days.

Calculate Age in Years Months and Days

Note: fill in “ym” for the third argument to ignore years and get the number of months between two dates. Fill in “md” for the third argument to ignore months and get the number of days between two dates. Use the & operator to join strings.

Leave A Comment

Excel meets AI – Boost your productivity like never before!

At Formulas HQ, we’ve harnessed the brilliance of AI to turbocharge your Spreadsheet mastery. Say goodbye to the days of grappling with complex formulas, VBA code, and scripts. We’re here to make your work smarter, not harder.

Related Articles

The Latest on Formulas HQ Blog