Calculate number of months between dates

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top