Number of months between two dates

Mldeuser

Well-known Member
Joined
Dec 27, 2008
Messages
544
Does anyone know how to calculate the number of months between two dates when the first and last months are not full months.

For example:

Start date 02/05/2010
End date 08/14/2011

Any help would be appreciated
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Mldeuser

Well-known Member
Joined
Dec 27, 2008
Messages
544
What I am looking for is a formula that will calculate the number of months between the two dates out two decimals since the first month and the last month are not complete months.
 

njimack

Well-known Member
Joined
Jun 17, 2005
Messages
7,772
What would the desired result be, given the 2 dates you posted?
 

schielrn

Well-known Member
Joined
Apr 4, 2007
Messages
6,941
Maybe something like this? I am adding 2 to add back in the 2 dates that are used int eh subtraction, but I am not sure if that is correct or not depending on what you need?
Excel Workbook
WX
452/5/2010
468/14/201118.3123
Data Check
Cell Formulas
RangeFormula
X46=(W46-W45+2)/365*12

Hope that helps.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,446
Messages
5,837,292
Members
430,493
Latest member
prontonz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top