[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
Solved

# Calculating age in Excel

Posted on 2012-04-01
Medium Priority
372 Views
Hello,

Given a person's Date of Birth (DOB), what is the simplest formula in Excel that will accurately display that person's current age (in years)?  I emphasize "current" because I'm interested in a formula that will auto-update the result each day (i.e. the age will increase automatically on the person's birthday).

Thanks
0

LVL 50

Accepted Solution

Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 1000 total points
ID: 37793880
Until Barryhoudini comes along and posts how to do it correctly, here's my stab

=(B1-A1)/365.25

where A1 is the DOB and B1 is the current date.

cheers, teylyn
0

LVL 81

Assisted Solution

zorvek (Kevin Jones) earned 500 total points
ID: 37793892
Probably more than you want but - assuming your DOB is in A1:

=INT((TODAY()-A1)/365.25) & " years, " & INT(((TODAY()-A1)/365.25-INT((TODAY()-A1)/365.25))*12) & " months, " & TEXT(((TODAY()-A1)/365.25-INT((TODAY()-A1)/365.25)-INT(((TODAY()-A1)/365.25-INT((TODAY()-A1)/365.25))*12)/12)*365.25,"0.0") & " days"

Kevin
0

LVL 2

Assisted Solution

Kelden earned 500 total points
ID: 37793897
Use this:
B3 is the column with the birthday

=DATEDIF(B3;TODAY();"Y")
0

Author Closing Comment

ID: 37876542
Thanks
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calculâ€¦
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
###### Suggested Courses
Course of the Month20 days, 7 hours left to enroll