Multiple criteria SUMIFs including a date range

doylnea

New Member
Joined
Jan 12, 2019
Messages
2
I've been banging my head against the wall over what I think should be a pretty straightforward formula.

I have a year's worth of expenses that I've categorized with 10 business categories. To start, I used a simple SUMIF to sum any expense in a range for each of the categories to get the annual expenses in that category using the formula below:

=SUMIFS($N$2:$N$3959,$L$2:$L$3959,"Advertising and Marketing")
=SUMIFS($N$2:$N$3959,$L$2:$L$3959,"Cost of Goods - Materials")

And so on.
sl2nV2a.png


I'd like to append that formula now to break down the categorized expenses by month, so I'd have an annual total, and then a month by month for each category.

So, if an expense that is categorized "Advertising and Marketing" in the range $L$2:$L$3959 and is between date X and date Y in range $D$2:$D$3959, then Sum all the expenses that meet the criteria of having the matching category, and fall in the date range specified.

Any suggestions?



UbDdu5t
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
This is perfect - I had to tweak a bit to make work for my situation but that didn't take much time at all. Thanks again!

No to try to digest how it all works so I can use it again in the future. :)
 
Upvote 0
You're welcome if you need any further help let me know.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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