Search help with formula multipule

cfer

Well-known Member
Joined
Jul 29, 2002
Messages
560
Hi,

I have the following formula that works fine

=IF(ISNUMBER(SEARCH("Radio",Q301)),"Radio Protocols","")

What I would like to be able to do is search for 3 names instead of 1 (Radio), but return only "Radio Protocols" for any 3 in the search.

Appreciate any help.

Cfer
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi, here is one option you can try:

=IF(SUM(COUNTIF(A1,"*"&{"radio","name2","name3"}&"*")),"Radio Protocols","")
 
Upvote 0
DEAR CFER

MODIFIED YOUR FORMULA USING SEARCH

=IF(ISNUMBER(LOOKUP(2^15,SEARCH({"RADIO","NAME2","NAME3"},A1),SEARCH({"RADIO","NAME2","NAME3"},A1))),"Radio Protocols","")
 
Upvote 0
=LOOKUP(9.99999999999999E+307,SEARCH(SearchList,Q301),ResultList)

where SearchList is a range which contains search items to look for and ResultList a range with the corresponding return values.
 
Upvote 0
Hi,

Thank you all for responding,

I thought I had replied earlier, sorry for that.

I get the result I want , with the variations above.

Thanks again. Cfer
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,431
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