SUMIFS Multiple "OR" Criteria

NicholasP

Active Member
Joined
Nov 18, 2006
Messages
291
I have a formula where I'm trying to use multiple criteria in an "OR" manner

=SUM(SUMIFS('Sheet1'!$R:$R,'Sheet1'!$K:$K,"Govt",'Sheet1'!I:I,{"Apple","Orange"},'Sheet1'!$O:$O,{"ONE","TWO","THREE"}))

So the idea is to sum if:
column K = Govt
Column I = Apple or Orange
Column O = One or Two or Three

I feel like I'm close, but
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Thank you for responding and thanks for providing the link as well. I was not aware that you need to use semi-colons in the last array.

Thanks again
Nick
 
Upvote 0
You don't need the CTRL-SHIFT-ENTER if you use explicit array variables (like {"Apple","Orange"}), but if you use a name (Range1) or range (A1:A5) then you do.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,243
Members
449,075
Latest member
staticfluids

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