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

Price GroupCountryVolume
A <100 - 499GB1790
B 500 - 1000GB5232
C 1001 - 2000DE9958
C 1001 - 2000GB4556

<tbody>
</tbody>

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

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
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,214,951
Messages
6,122,449
Members
449,083
Latest member
Ava19

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