gino59
Active Member
- Joined
- Jul 26, 2010
- Messages
- 496
Hi all...
Got some great help earlier on the DATEDIF formula, but it doesn't appear to be very accurate.
In cell I12 - (formatted as a date) 5/27/1929
In cell I13 - (formatted as a date) 1/3/2004
Cell I14 Result is 74 years, 7 months, 120 days. ????
Result should be 74 years, 7 months, 7 days.
If I change I13 to a date like 1/31/2004 - I get 74 years, 8 months, 4 days which is accurate. Not sure why the day count comes up as 120 days in the first example.
The formula is:
=DATEDIF(I12,I13,"y")&" years, "&DATEDIF(I12,I13,"ym")&" months, "&DATEDIF(I12,I13,"md")&" days"
Thank you!!
Gino
Got some great help earlier on the DATEDIF formula, but it doesn't appear to be very accurate.
In cell I12 - (formatted as a date) 5/27/1929
In cell I13 - (formatted as a date) 1/3/2004
Cell I14 Result is 74 years, 7 months, 120 days. ????
Result should be 74 years, 7 months, 7 days.
If I change I13 to a date like 1/31/2004 - I get 74 years, 8 months, 4 days which is accurate. Not sure why the day count comes up as 120 days in the first example.
The formula is:
=DATEDIF(I12,I13,"y")&" years, "&DATEDIF(I12,I13,"ym")&" months, "&DATEDIF(I12,I13,"md")&" days"
Thank you!!
Gino