Text filter - multiple word search

jlugo

Board Regular
Joined
Aug 12, 2011
Messages
146
Hello all~

For some reason, I can't seem to get this formula right.

I have a column that contains both individual names and corporations. I want to do a text filter (with functions) to only display cell values with company names that contain:

Partner
INC

INC.
CO
University
Associates


=count(SEARCH({"Partner"," INC "," INC."& CO","University","Associates"},A1))>0

Formula above doesn't consistently detect all the cells. An example would be, it captures the word "Cincinnati" as TRUE but Saint John Associates Inc CO as FALSE (when I want it to be true).

How can I build this formula to be equally as good as doing an advance text filter that searches words that contains these key business terms? It should return values that perform AND or OR logic in case more than one word shows up.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Could someone provide two formulas for the Cincinnati & INC CO examples? I want to know how to find exactly what I want and to include spaces or not to include spaces.
 
Upvote 0
Exactly, I just want to see the difference between two formulas that detect Inc or Inc. vs. Incinerator PLC and/or Inc.
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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