Text filters

elchenuk

New Member
Joined
Aug 11, 2011
Messages
8
Hi I'm fairly new to Excel and I could do with some advice.

I want to filter a column in Excel based on four words e.g. 'essex', 'bedford', 'manchester' and 'leeds'. However I can only insert no more than 2 text criteria in the text filters -> contains menu.

How do I add more text filters?

thanks
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Welcome to the board...

Use a helper column.

If you want to filter column A on essex or bedford or manchester or leeds
In B2 put = OR(A2={"essex","bedford","manchester","leeds"})
Then filter on Column B for True

Hope that helps.
 
Upvote 0
Cheers jonmo1!

failed to mention that some of those words are contained within longer phrases in column A, so for example 'new homes in leeds' etc

I guess it must be a case of just adjusting the query with some sort of 'contains' command?
 
Upvote 0
Glad to help, thanks for the feedback..

You can also put your list of key words in a range of cells.
Makes for easier adjustment, and easier to hold MANY possible values...

=ISNUMBER(LOOKUP(2^15,SEARCH(F2:F5,A2)))

F2:F5 = essex bedford manchester leeds
 
Upvote 0
thanks jonmo1 that works even better as I can use this as a template :)

Incidentally do you know where I can go to find out more about VBA and specifically lookups?

thanks for your help
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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