Hello,
I am having some difficulty with the YEARFRAC function not working consistently. If I have 3 dates (date1,date2,date3) and wish to find the exact number of years between date1 and date3, the formula is YEARFRAC(date1,date3,1). Now, it seemed reasonable to me that if I first found the number of years between date1 and date2 and then found the number of years between date2 and date3, I would be able to add these values together to get the number of years between date1 and date3.
However, it appears that there is some slight variation in the calculation because YEARFRAC(date1,date2,1) + YEARFRAC(date2,date3,1) will not necessarily equal YEARFRAC(date1,date3,1). The difference will not be very large, but it is noticeable.
Is anyone familiar with why this occurs and a possible way to fix it?
Bookmarks