How to Calculate Age from a Birthdate in Excel: Step-by-Step Guide


Michael Collins

Calculating age from a birthdate in Excel may seem tricky, but it’s really a piece of cake once you get the hang of it. All you need is the birthdate and the current date to get started. With a simple formula, Excel can do the math for you and give you the age in years. So, if you’re ready to find out how old you or someone else is in Excel, just keep reading!

Step by Step Tutorial: How to Calculate Age from a Birthdate in Excel

Before diving into the steps, you should know that calculating age in Excel involves using the DATEDIF function. This function calculates the difference between two dates, which is exactly what we need to find out someone’s age.

Step 1: Enter the Birthdate

Type the birthdate into a cell in Excel.

When you’re entering the birthdate, make sure it’s in a format that Excel recognizes as a date, such as MM/DD/YYYY or DD/MM/YYYY. This will ensure that when we use the DATEDIF function, Excel will calculate the age correctly.

Step 2: Enter the Current Date

Type the current date into another cell in Excel.

Just like with the birthdate, the current date should be in a format recognized as a date by Excel. You can also use the TODAY() function to automatically input the current date.

Step 3: Use the DATEDIF Function

Type the DATEDIF function formula into a new cell to calculate the age.

The formula follows this structure: =DATEDIF(start_date, end_date, "Y"). You’ll replace start_date with the cell containing the birthdate and end_date with the cell containing the current date.

Step 4: Press Enter

After typing in the formula, press enter to calculate the age.

Once you press enter, Excel will display the age in the cell where you entered the formula. If you followed the steps correctly and used the right date format, the age should be accurate.

After completing these steps, you’ll have the age displayed in years in the cell where you entered the DATEDIF formula. If you need the age in months or days, you can modify the formula accordingly, but that’s a story for another day.

Tips: How to Calculate Age from a Birthdate in Excel

  • Make sure the dates are entered in a format that Excel recognizes.
  • Use the TODAY() function if you want Excel to automatically use the current date.
  • Double-check that you’re using the correct cell references in the DATEDIF formula.
  • Remember that the DATEDIF function will give you whole years, not decimal years.
  • If you need to calculate the age for multiple birthdates, copy the formula down the column.

Frequently Asked Questions

What if I need the age in months instead of years?

You can modify the DATEDIF formula to calculate months by changing the "Y" to "M".

Can I use this formula to calculate age as of a specific date, not just today?

Yes, simply replace the TODAY() function or current date with the specific date you want to calculate the age as of.

Does the birthdate format matter?

Yes, it does. Excel must recognize the date as an actual date, so make sure you’re using a standard date format.

What if Excel doesn’t recognize my date format?

You may need to change your computer’s regional settings or use the DATEVALUE function to convert text to a date.

Can I calculate age in days with this formula?

Absolutely! Just change the "Y" in the DATEDIF formula to "D" to get the age in days.


  1. Enter the birthdate in a cell.
  2. Enter the current date in another cell.
  3. Use the DATEDIF function to calculate age.
  4. Press enter to display the age.


Calculating age from a birthdate in Excel is a useful skill that can come in handy in many situations. Whether you’re managing employee records, organizing events, or just curious about someone’s age, Excel can provide a quick and accurate result. The key is to use the DATEDIF function and ensure the dates are in a format Excel understands. With the tips and frequently asked questions provided, you should be well-equipped to tackle age calculations in Excel with confidence.

As with any Excel function, practice makes perfect. Don’t be discouraged if you don’t get it right on the first try. Experiment with different dates, and don’t forget that you can always refer back to this article for guidance. So, go ahead, give it a shot, and watch as Excel does the age-calculating magic for you!