Nested "sumif" statements?

MN_Excel

Board Regular
Joined
Nov 8, 2010
Messages
153
I'm basically trying to do two sumif statements into one formula. If the cell in column B is "sales" I want to add the amount in column C. However, even if the value in column B is "sales" I don't want to add the amount in column C if column A is either "discounts" or "returns." Not sure the easiest way to do this.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I'm once again using these "sumifs" and was hoping for a little troubleshooting help. The formula below is resulting in zero

SUMIFS($AB$94:$AB$4998,$Z$94:$Z$4998,"Strategic",$Z$94:$Z$4998,"Support")

If I take out the second argument ("support") the formula will acccurately sum all those items in column Z with "Strategic". Likewise, when I remove the "strategic" criteria it is accurate in summing the "support" items. Problem is that when I put them together I am getting zero and can't figure out why.
 
Upvote 0
you can't use sumifs that way because you are refering to one column for criteria range with 2 criteria. try:

=SUMPRODUCT(($AB$94:$AB$4998)*($Z$94:$Z$4998={"Strategic","Support"}))
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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