A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
DateDif (worksheet function) has a bug since Off 2007 SP2.
Please read this post http://answers.microsoft.com/en-us/office/forum/office_2007-excel/how-to-change-number-of-days-to-yearsmonths-and/d711c71e-8b71-4311-b568-57b6b4eee504
and particularly the comments from Rick Rothstein, MVP - Excel
on the subject
The VBA function DateDif is still correct.
Regards
JY
It works correctly in my Excel 2010 SP1. But it might be better not to depend on DATEDIF.