Search with multiple criteria

sshweky

New Member
Joined
Jul 10, 2016
Messages
2
Hi,

I need to look at a range of values that consist of customer name, item # & colors available. I need to know if a specific combination exists in the list. I am using a countifs statement to accomplish this, but I can't figure out the color part. I can't search a range of values to see if a string is contained within a text cell (Find & Match do not work on ranges). Please see the statement I am using below and it is the CriteriaRange3 that I can't figure out.

=COUNTIFS(CriteriaRange1, "Customer Name", CriteriaRange2, "Item Number", CriteriaRange3, ??Contains Red)

Any ideas or another ways to accomplish my goal?

Thank you!!

Steven
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Maybe this...

=COUNTIFS(CriteriaRange1,"Customer Name",CriteriaRange2,"Item Number",CriteriaRange3,"*Red*")

The * are wildcards which mean: any characters or no characters.
 
Upvote 0

Forum statistics

Threads
1,216,419
Messages
6,130,515
Members
449,585
Latest member
kennysmith1

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