Count number of months per year between two dates

BenB0425

New Member
Joined
Sep 17, 2019
Messages
6
So I'm having trouble coming up with a formula to be able to count the number of months between two given dates and break it down by year. So if the dates are from (11/2018 until 8/2019) I would like it to break it down to 2 months for 2018 and 8 months for 2019. But I have a range of dates from 2011 until 2019. Below is a copy of the difference in months but I would like it to expand and elaborate on how many months per year were utilized. These date are just from 2017 until 2019 but I have other dates backing all the way to 2011.

03/201906/201810
03/201905/201811
03/201903/201813
03/201907/201721

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>


Can anyone help?
Thanks
 
I feel like this never ending. I'm sorry. Some of the dates work but most do not. The last row is 2019 and it is calculating 10 months when it should be only 3 months in this example for 2019 and the rest for previous years. SMH. This is so frustrating.

Thanks


3/1/201908/201808/01/201870000000010
3/1/201907/201807/01/201880000000010
3/1/201905/201805/01/2018100000000010
3/1/201904/201804/01/2018110000000010
3/1/201911/201711/01/2017160000000010
3/1/201911/201811/01/201840000000010
3/1/201911/201811/01/201840000000010
3/1/201911/201811/01/201840000000010
3/1/201911/201811/01/201840000000010

<colgroup><col><col span="2"><col><col span="9"></colgroup><tbody>
</tbody>
 
Upvote 0

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
The structure of my example is not equal to the structure of your example, therefore you must adapt the formula.
Why not try my data and then adapt the formula to your data.
 
Upvote 0

Forum statistics

Threads
1,215,500
Messages
6,125,168
Members
449,211
Latest member
ykrcory

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