Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
If I have a person's birthday, how can I calculate their current age based on
today's date? Thanks! |
#2
![]() |
|||
|
|||
![]()
You can use the DATEDIF function. E.g.,
=DATEDIF(birthdate,TODAY(),"y") See www.cpearson.com/excel/datedif.htm for more information about DATEDIF. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "devinm21" wrote in message ... If I have a person's birthday, how can I calculate their current age based on today's date? Thanks! |
#3
![]() |
|||
|
|||
![]() "devinm21" wrote: If I have a person's birthday, how can I calculate their current age based on today's date? Thanks! |
#4
![]() |
|||
|
|||
![]() "ertug" wrote in message ... "devinm21" wrote: If I have a person's birthday, how can I calculate their current age based on today's date? Thanks! In whole years: =YEAR(NOW())-YEAR(A1)-IF(MONTH(NOW())MONTH(A1),0,IF(MONTH(NOW())MONTH( A1),1,IF(DAY(NOW())<DAY(A1),1,0))) |
#5
![]() |
|||
|
|||
![]()
There's been a big discussion on this already.
http://excelforum.com/showthread.php...light=bluenose Mangesh "Vic Sowers" wrote in message ... "ertug" wrote in message ... "devinm21" wrote: If I have a person's birthday, how can I calculate their current age based on today's date? Thanks! In whole years: =YEAR(NOW())-YEAR(A1)-IF(MONTH(NOW())MONTH(A1),0,IF(MONTH(NOW())MONTH( A1), 1,IF(DAY(NOW())<DAY(A1),1,0))) |
#6
![]() |
|||
|
|||
![]()
My version of Excel does not have the "DATEIF" function. I was bale to cut
and paste the formula in, and it works fine. However it dispays the results as Xyears, Xmonths, Xdays. I used to have it displayed as a four digit (##.##) number, which made finding the average age eay. Any suggestions on how to get that format back? "Mangesh Yadav" wrote: There's been a big discussion on this already. http://excelforum.com/showthread.php...light=bluenose Mangesh "Vic Sowers" wrote in message ... "ertug" wrote in message ... "devinm21" wrote: If I have a person's birthday, how can I calculate their current age based on today's date? Thanks! In whole years: =YEAR(NOW())-YEAR(A1)-IF(MONTH(NOW())MONTH(A1),0,IF(MONTH(NOW())MONTH( A1), 1,IF(DAY(NOW())<DAY(A1),1,0))) |
#7
![]() |
|||
|
|||
![]()
Then you simply need to subtract the earlier date from the recent, and
format as number. =A1-B1 Mangesh "junepbug" wrote in message ... My version of Excel does not have the "DATEIF" function. I was bale to cut and paste the formula in, and it works fine. However it dispays the results as Xyears, Xmonths, Xdays. I used to have it displayed as a four digit (##.##) number, which made finding the average age eay. Any suggestions on how to get that format back? "Mangesh Yadav" wrote: There's been a big discussion on this already. http://excelforum.com/showthread.php...light=bluenose Mangesh "Vic Sowers" wrote in message ... "ertug" wrote in message ... "devinm21" wrote: If I have a person's birthday, how can I calculate their current age based on today's date? Thanks! In whole years: =YEAR(NOW())-YEAR(A1)-IF(MONTH(NOW())MONTH(A1),0,IF(MONTH(NOW())MONTH( A1), 1,IF(DAY(NOW())<DAY(A1),1,0))) |
#8
![]() |
|||
|
|||
![]()
On Thu, 9 Jun 2005 04:54:09 -0500, "Vic Sowers"
wrote: "ertug" wrote in message ... "devinm21" wrote: If I have a person's birthday, how can I calculate their current age based on today's date? Thanks! In whole years: Somewhat shorter formula: =DATEDIF(A1,TODAY(),"y") --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calculating growth with negative numbers | Excel Worksheet Functions | |||
calculating timesheet, time-in/time-out = total hours & minutes, . | Excel Worksheet Functions | |||
Formulas not calculating??? | Excel Discussion (Misc queries) | |||
calculating averages | Excel Worksheet Functions | |||
Periodic Calculating | Excel Worksheet Functions |