If you mean complete months, use
=DATEDIF(A1,B1,"m")
If you mean months with a fractional portion, use
=DATEDIF(A1,B1,"m")+(DATEDIF(A1,B1,"md")/30)
See
www.cpearson.com/excel/datedif.htm for more information about the
DATEDIF function.
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
Trace398 said:
I am trying to figure out the number of months (in decimal form) between
two dates. For example, from 10/12/2004 to 12/31/2004, how many months
would that be?