Wild Card in SUMPRODUCT formula search

Bravo2003

Active Member
Joined
Apr 1, 2010
Messages
273
Office Version
  1. 365
Platform
  1. Windows
=SUMPRODUCT(--('2019 Sales'!$CR$1:$CR$1055<>"IND")*--('2019 Sales'!$D$1:$D$1055=$A$2)*--('2019 Sales'!$B$16:$BY$16=BX$1)*--('2019 Sales'!$B$17:$BY$17=$A3),'2019 Sales'!$B$1:$BY$1055)

Using the above SUMPRODUCT formula - where I have "IND"
aim is to sum everything excluding any matches to IND, but I have IND-xx (various xx references - eg IND-JC, etc)

I tried using the WildCard * - <>"IND*"
But this doesn't exclude anything.

Am i using the right format? or is there any way to ask for a wild card search?

Or will I have to revert to adding a new column along side the IND-* column to remove the suffixes?
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

njimack

Well-known Member
Joined
Jun 17, 2005
Messages
7,772
=SUMPRODUCT(--(ISERROR(SEARCH("IND",'2019 Sales'!$CR$1:$CR$1055))),--....
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,114
Messages
5,857,457
Members
431,880
Latest member
kar2rost

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
Top