Number of months between two dates

Mldeuser

Well-known Member
Joined
Dec 27, 2008
Messages
573
Office Version
  1. 365
Platform
  1. Windows
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.
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.
 
Upvote 0
It should be 18.31, when calculating the months individually
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

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
Back
Top