Hi,
With the two dates as 2 December 2011 and 1 January 2012, the answer is get is 0, 0 and 30. I wonder how she got the answer as 143?
Also, please note that the "md" bit of the DATEDIF() function is knowwn to be problematic - it does return negative number is some instances
With a starting date of 31 July 2007 and ending date of 2 March 2009, "md" in the DATEDIF() returns the answer as -1 (minus 1)
As an alternative to the "md" in the DATEDIF(), i use the following:
=B13-EDATE(A13,(C13*12)+D13)
where:
B13 is the ending date; and
A13 is the beginning date; and
C13 is the result of "y" in the DATEDIF(); and
D13 is the result of "ym" in the DATEDIF()