Finding a certain month in a range of dates

marvinsae

New Member
Joined
Dec 2, 2016
Messages
20
Hi everyone,

I'm having a bit of an issue with figuring out a formula.

I have a rental report where the users are able to input a start date, and an end date in separate cells. I'm trying to summarise this report by months and I want to see how many units are on rental in a month to month break down also separated by the model (there's only a few models, around 5).

I'm thinking the best way to go about it is have Excel check for a month in this range of dates, and if it is, it would sum a column of total units on rent.

I'm currently using a SUMIFS statement for the range of sums, one of the criteria is the name of the model on rent which I'm matching to a String, and the final criteria would be the month as explained above.

How would I write this out?

Thanks
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

RedBeard

Well-known Member
Joined
May 16, 2015
Messages
858
Depending on how your data is laid out, you could do a pivot table with a grouping for month.
 

Watch MrExcel Video

Forum statistics

Threads
1,133,530
Messages
5,659,355
Members
418,498
Latest member
nattynat

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