How to Convert DOB to Age in MS Excel

Written by antoinette smith
  • Share
  • Tweet
  • Share
  • Email

Sometimes you create an Microsoft Excel calculation that you are certain will work. Yet it does not. Attempting to convert date of birth, or DOB, to age in Excel is one of those instances. Intuition might tell you that it's as simple as subtracting today's date from the DOB. In fact, that's just the start. Getting the DOB to age conversion right requires the assistance of a few more functions. In addition, you need to pay attention to the format of your data.

Skill level:
Moderately Easy

Other People Are Reading

Instructions

  1. 1

    Create two columns in your spreadsheet. Name the first column "DOB." Name the second column "Age."

  2. 2

    Enter an actual DOB in the cell under the "DOB" column.

  3. 3

    In the cell next to this actual DOB, type in the following:

    =QUOTIENT(NOW()-A2, 365.2422)

    This assumes that the actual DOB is in cell A2. If this is not the case, replace A2 with the correct cell. Press the "Enter" key on your keyboard.

    There are two functions used in the above equation. The NOW() function calculates the current date and time. When the DOB is subtracted from NOW(), you get the age of a person in days. The QUOTIENT() function divides the age in days by the number of days in a tropical year (365.2422). Using the tropical year eliminates errors that would arise from having to choose between the Gregorian calendar's 365-day year and 366-day leap year. Using QUOTIENT() was chosen over simple division to eliminate rounding errors. These errors might occur when trying to shorten the data to only include the whole number years of age.

  4. 4

    Click on the cell you just exited. This is the cell with the formula in it. You will notice that the cell is in date format, which is not helpful.

  5. 5

    Click on the "Home" tab at the top of the screen to open up the "Home" ribbon. Click on the "Number Format" (unlabeled) drop-down list in the "Number" section of the ribbon. Select "Number." You will now see the age of a person born on the DOB entered in the adjacent cell.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.