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

x
?
Solved

Calculating age in Excel

Posted on 2012-04-01
4
Medium Priority
?
372 Views
Last Modified: 2012-04-21
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
Comment
Question by:Steve_Brady
4 Comments
 
LVL 50

Accepted Solution

by:
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

by:zorvek (Kevin Jones)
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

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

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

Author Closing Comment

by:Steve_Brady
ID: 37876542
Thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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.

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question