Here's the basic issue with simply subtracting the dates.....
When formatted as any kind of date, Excel interprets the difference as a
date serial number and displays the value of that date.
Example:
Using
A1: 02/01/1957 and
A2: 02/01/2006
(which is obviously 49 years)
02/01/2006 - 02/01/1957 = 17,897 days
Excel interprets that as date serial number for 12/30/1948
Using the custom format of yy"y " mm"m " dd"d", you get
the YEAR of that date: 1948
the MONTH of that date: 12
and the DAY of that date: 30
However, using DATEDIF and the fomula from Chip Pearson's site:
=DATEDIF(A1,A2,"y") & " years, " & DATEDIF(A1,A2,"ym") & " months, " &
DATEDIF(A1,A2,"md") & " days"
That difference calculates to:
49 years, 0 months, 0 days
***********
Regards,
Ron
XL2002, WinXP