Calculate number of months between dates

S

steph44haf

B8 = 10/15/06
J3 = 09/30/07

The formula below computes 13 months, but I need it to calculate 12.5 months.

=(YEAR($J$3)-YEAR(B8))*12+MONTH(B8)-MONTH($J$3)

Does anyone know how I can calculate the 12.5 months?
 
B

Bob Phillips

You mean 11.5 don't you?

=DATEDIF(B8,J3,"M")+DATEDIF(B8,J3,"MD")/30

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Top