#1
|
|||
|
|||
calculate age
hello!
I have a list/column of dates in 30/01/1949 format which are birth dates I want to calculate the age of each person how can I do it? thanks! |
#2
|
|||
|
|||
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. |
#3
|
|||
|
|||
Quote:
I get "the formula you typed contains an error :/ |
#4
|
|||
|
|||
Works fine for me
|
#5
|
|||
|
|||
Look at this
|
#6
|
|||
|
|||
the format of the dates is different, maybe this is the problem?
is it possible to make a function that will work with any date formats? |
#7
|
|||
|
|||
This is the format for the date you specified, this is UK date format is that what you want?
|
#8
|
|||
|
|||
the format I want is dd/mm/yyyy
|
#9
|
|||
|
|||
It does not matter the way the date is formatted as. Whether it is dd/mm/yyyy or mm/dd/yyyy the answer will still be the same. Please attach a sample workbook with what you have input so I can take a look.
|
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
add values to dropdown selections and calculate | guyhs | Word | 7 | 10-24-2012 05:11 PM |
How to calculate percentages??? | fabthi | Excel | 3 | 04-13-2012 12:08 PM |
What formula should I use to calculate commission? | grs | Excel | 3 | 02-21-2011 02:17 AM |
Can't calculate formulas | Cpat | Excel | 2 | 06-09-2010 02:07 PM |
How to get cells to calculate time? | jrasche2003@yahoo.com | Excel | 2 | 02-09-2007 07:10 AM |