G
Guest
How can I calculate the number of months (or years) between two dates, such as
06/11/2000 and 09/20/2005?
06/11/2000 and 09/20/2005?
How can I calculate the number of months (or years) between two dates, such as
06/11/2000 and 09/20/2005?
Bill said:I've been trying to calculate the number of months (including fractions of
months) between two dates. The closest I've come is using YearFrac.
Date1 = 01/01/2006 - Cell A1
Date2 = 11/30/2011 - Cell A2
YearFrac(A1,A2)
Result = 5.914 (Years) - Cell A3
Months = A3*12
Result = 70.97 (Should be 71)
I think YearFrac is the closest formula but it's not always perfect. Any
way to make it work right every time?
Bill Johnson
Glenn said:Define "between two dates"...
- Including both Date1 and Date2
- Including only Date1
- Including only Date2
- Including neither