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.
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?
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.
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?