SUMIFS by multiple criteria

lopezcrazy

New Member
Joined
Aug 23, 2018
Messages
1
I have a "SUMIFS" formula that's returning a black cell.

My formula: =IF(MONTH(G1)=MONTH(NOW()),SUMIF(C150:C150,"Rent",D150:D150),"")

I'm wanting to create a formula that will sum up the values in D:D
BUT only if they are in the "Food" category
AND only if it's in the current month (G1)

Can anyone help me out?

tempsnip.png
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi,

Assuming your Table Column A contains Other months not shown in your picture, also assuming the "Number" in G1 is a Real Number:

Formula in H2 copied down:

=SUMPRODUCT((MONTH(A$2:A$200)=G$1)*(C$2:C$200=G2)*(D$2:D$200))
 
Upvote 0

Forum statistics

Threads
1,215,440
Messages
6,124,882
Members
449,193
Latest member
PurplePlop

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