help with this SUMIF formula (for a budget spreadsheet)

boxhamster

New Member
Joined
Jan 12, 2016
Messages
14
Hi,

I can't seem to figure out what the mistake is.
I want to sum up the amounts depending on the type of expense and the month.

ABCD
1DateItemCategoryAmount
228.02.2018FoodFood Shopping 10,00 €
3
4Month2
5Food Shopping

<tbody>
</tbody>


Using this formula:
= SUMIFS(D1:D3;MONTH(C1:C3);B4;C1:C3;B5)

<tbody>
</tbody>

Any idea what's going on?

Thanks :)
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
SUMIFS requires ranges so you cant do MONTH(C1:C3). Try this:

=SUMIFS(D1:D3,C1:C3,A5,A1:A3,">="&DATE(YEAR(TODAY()),B4,1),A1:A3,"<"&DATE(YEAR(TODAY()),B4+1,1))
 
Upvote 0
For sure not MONTH(C1:C3)
but (if at all then):
MONTH(A1:A3)

Moreover the formula shall be probaly commited as array formula (with Ctrl+Shift+Enter , not just Enter)
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,790
Members
451,589
Latest member
Harold14

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