Calculate 'exact' age in EXCEL
Hi,
I've never understood the value of months in calculating a time
period. Try these 2 dates with your formula and you will get
7y,1m,-2d
a1= 31/01/2002
b1= 01/03/2009
It returns this type of result if the first month is longer than the
second.
Mike
On Jan 10, 6:35*am, Zanny Garbett wrote:
Try this with:
[A1] = date of birth;
[B1] = Date of death;
=DATEDIF(A1,B1,"y")&"y,"&DATEDIF(A1,B1,"ym")&"m,"& DATEDIF(A1,B1,"md")&"d"
Should work OK
Regards
Zanny
EggHeadCafe - .NET Developer Portal of Choicehttp://www.eggheadcafe.com/default.aspx?ref=ng
|