Search 3 Columns for 1 Word

JeannetteE

Board Regular
Joined
May 19, 2016
Messages
53
Hi,

I want to search more than one column for a single string, I can do it for one column but having a problem over 3 columns without having to add extra columns and do it individually then do an If statement for the final column.

This works for a single column =IFERROR(IF(SEARCH("*ABCD*",O3,1),"Yes"),"")

Then I tried this but get an Error =IF((OR(SEARCH("*ABCD*",N5,1), SEARCH("*ABCD*",O5,1),SEARCH("*ABCD*",P5,1),SEARCH("*ABCD*",Q5,1))),"Yes", "")

Any help will be greatly appreciated
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
How about
=IF(ISNUMBER(MATCH("*abcd*",N5:Q5,0)),"Yes","")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,375
Messages
6,124,578
Members
449,174
Latest member
chandan4057

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