Need help with Sumifs and or Combination...excel formula:

pedie

Well-known Member
Joined
Apr 28, 2010
Messages
3,875
Hi, current formula:
'=SUMIFS($D$1:$D$27,$B$1:$B$27,"May",$C$1:$C$27,OR("FEC","ORANGE"))

I want to sum col D if col c either has "FEC" or "Orange"
and month is May in Col B.

Thanks for the Advice.
 
When the "OR"s apply to the same column it can be shortened, i.e.

=SUMPRODUCT(--(B1:B27="May"),(C1:C27="FEC")+(C1:C27="ORANGE"),(A1:A27="NY")+(A1:A27="LA")+(A1:A27="GA"),D1:D27)
 
Upvote 0

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Thanks Barry, thanks Marcelo, thanks alot guys
for your time and taking out time to explain how it works too...
Very helpful. Thanks again.:)
 
Upvote 0

Forum statistics

Threads
1,226,730
Messages
6,192,708
Members
453,748
Latest member
akhtarf3

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