Thread: calculate age
View Single Post
 
Old 06-01-2012, 03:00 AM
userman userman is offline Windows XP Office 2003
Advanced Beginner
 
Join Date: Sep 2010
Posts: 52
userman is on a distinguished road
Default

Quote:
Originally Posted by dazwm View Post
In A2 for example put a persons DOB i.e 13/08/1969 then in B2 enter

=DATEDIF(A2,TODAY(),"y")&" years "&DATEDIF(A2,TODAY(),"ym")&" months "&DATEDIF(A2,TODAY(),"md")&" days"

Copy down as needed.


The result will show the difference from the current date to include the number of years, months and days. The best news is that you don't have to update the formula if you open the file at a later date; the age will automatically recalculate based on the current date.

I get "the formula you typed contains an error :/
Reply With Quote