Sumifs with or, question

jwillits

New Member
Joined
Jul 10, 2018
Messages
38
Office Version
  1. 2010
Platform
  1. Windows
So I have a sumifs formula I need to make and here is what I have.

=SUM(SUMIFS(D:D,H:H,"Jul 2018",E:E,{"*AMZN MKTP*","*AMAZON MKTPLACE*"}))

It doesn't seem to be working but what I am trying to say is,

Sum column D if Column H has Jul 2018 and Column E has AMZN MKTP or AMAZON MKTPLACE.

What am I doing wrong or what would the correct formula be?
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
How about
=SUMPRODUCT(--(((ISNUMBER(SEARCH("AMZN MKTP",E:E)))+(ISNUMBER(SEARCH("AMAZON MKTPLACE",E:E))))*(H:H="Jul 2018"))*D:D)
 
Upvote 0
It's working on my test workbook. Can you post some sample data?
 
Upvote 0
The original formula is correct assuming column H actually contains text, and not dates formatted to display as just month and year.
 
Upvote 0
The original formula is correct assuming column H actually contains text, and not dates formatted to display as just month and year.

Yep, you are right, it was correct, looks like I shifted a column and it was trying to look at the wrong cell, thanks guys!
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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