Advance Filter to mimic Custom filter for cells that contain

inarbeth

Well-known Member
Joined
Apr 8, 2002
Messages
912
I have a list in a column with several names in each cell. I want to use Advanced Filter to filter the list in place so that it shows only those rows that contain the text string that is typed in. The list is in a named range called Parties. The heading Parties is in cell D1 and my criterion formula is to go in cell D2. Cell F3 contains the text the user types in. Essentially what I need is to do a filter in the same way as the custom filter that checks to see if the cell contains the relevant text.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Juan Pablo González

MrExcel MVP
Joined
Feb 8, 2002
Messages
11,959
You can use this

=ISNUMBER(FIND("Yourtexthere",A2))

where A2 is the first data row of the column of interest. Remember that when using Advanced Filter with formulas you don't need a title for that criteria, leave it empty, BUT select that row as if it had a title.
 

inarbeth

Well-known Member
Joined
Apr 8, 2002
Messages
912
Sorry Juan Pablo, I didn't test it enough. The filter does work. My next problem is that I have the text to be selected in another list of names and use data validation to select it. Is there a way to get the Advanced Filter to update when the text is changed?
 

Forum statistics

Threads
1,143,640
Messages
5,719,987
Members
422,257
Latest member
Calion

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
Top