SUMIFS with OR wildcard

MartinL

Well-known Member
Joined
Oct 16, 2008
Messages
1,141
Office Version
  1. 365
Platform
  1. Windows
I am stuck trying to do a sumifs where a partial match = set criteria

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Price Group[/TD]
[TD]Country[/TD]
[TD]Volume[/TD]
[/TR]
[TR]
[TD]A <100 - 499[/TD]
[TD]GB[/TD]
[TD]1790[/TD]
[/TR]
[TR]
[TD]B 500 - 1000[/TD]
[TD]GB[/TD]
[TD]5232[/TD]
[/TR]
[TR]
[TD]C 1001 - 2000[/TD]
[TD]DE[/TD]
[TD]9958[/TD]
[/TR]
[TR]
[TD]C 1001 - 2000[/TD]
[TD]GB[/TD]
[TD]4556[/TD]
[/TR]
</tbody>[/TABLE]

so If i want to sum the volume where price group >= 500
I'm thinking along the lines of using 1st characters of Col A [Price Group] like below

I've tried
Code:
=SUM(SUMIF(C:C,{"B*","C*"},A:A))
but it doesn't work.....obviously being dim somewhere

I'm quite happy to use SUMPRODUCT or anything else
 
Last edited:

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
You've got you columns the wrong way round, try
=SUM(SUMIF(A:A,{"B*","C*"},C:C))
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,250
Members
452,623
Latest member
Techenthusiast

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