How can I calculate fractional months between two dates?

J

JulesMacD

I have two dates: December 31, 2008 and June 16, 2008. I'd like to be able
to show the difference as 6.5 months. Any ideas? I've tried the datedif
formula but it returns 6. Thank you.
 
D

David Biddulph

=DATEDIF(A1,A2,"m")+DATEDIF(A1,A2,"md")/30 and format as General.
Adjust the formula to suit your interpretation of how many days are in a
month.
 
J

Jim Cone

This will get you close enough to satisfy most people...
=(A2-A1)/365*12
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"JulesMacD"
wrote in message
I have two dates: December 31, 2008 and June 16, 2008. I'd like to be able
to show the difference as 6.5 months. Any ideas? I've tried the datedif
formula but it returns 6. Thank you.
 
Top