Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the Date of Death in Cell A1 and the Date of Birth in Cell B1. I
would like to place the number of days / months / years this person was alive in Cell C1. I would like the output to reflect this: 79 Years 6 Months 3 Days Thank you for your help and support. Jerry |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I've never understood the values of using monthe in calculating age, is someome born on 1 feb the same age as someone born 1 jan at the end of those months? I think not. However, try this =DATEDIF(B1,A1,"y")&" years "&DATEDIF(B1,A1,"ym")&" months "&DATEDIF(B1,A1,"md")&" days" datedif isn't documented in excel so for help look here Be aware that this formula can throw up odd results, try these dates Some odd results arise with that formula when it is used for this kind of determination: DOB: 31 Jan 1943 DOD: 01 Mar 2008 Your Formula: 65 y 1 m -1 d Mike http://www.cpearson.com/excel/datedif.aspx "Boyertown Casket" wrote: I have the Date of Death in Cell A1 and the Date of Birth in Cell B1. I would like to place the number of days / months / years this person was alive in Cell C1. I would like the output to reflect this: 79 Years 6 Months 3 Days Thank you for your help and support. Jerry |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Difference between dates as # of months, # of days, # of years | Excel Worksheet Functions | |||
Number of years/months/days between 2 dates | Excel Worksheet Functions | |||
Number of years, months, days between two dates. | Excel Worksheet Functions | |||
difference between two dates in years, months and days. | Excel Worksheet Functions | |||
Converting dates to years, months & days | Excel Programming |