Advanced Filter Wildcard using Formula

pto160

Active Member
Joined
Feb 1, 2009
Messages
473
Office Version
  1. 365
Platform
  1. Windows
I'm able to use advanced filter with wildcards that are values only.
How do you use wildcard advanced filter using a formula.

Sheet3

AB
1Column A
2adfd dog g
3dfdf green gfdf
4sghwfh cat fdfd
5fafad mouse fdfd
6
7
8 Criteria
9GreenFALSE
10Mouse

<colgroup> <col style="WIDTH: 30px; FONT-WEIGHT: bold"> <col style="WIDTH: 87px"> <col style="WIDTH: 64px"></colgroup> <tbody>
</tbody>

Spreadsheet Formulas
CellFormula
B9=ISNUMBER(MATCH("*"&A2&"*",$A$9:$A$10,0))

<tbody>
</tbody>

<tbody>
</tbody>


This formula does not work for looking up values using wildcards.

What's wrong with the formula?

 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Try this

Before filter


A
B
1
Text​
2
adfd dog g​
3
dfdf green gfdf​
4
sghwfh cat fdfd​
5
fafad mouse fdfd​
6
7
8
Criteria​
Formula​
9
Green​
FALSE​
10
Mouse​

Formula in B9
=ISNUMBER(LOOKUP(9.99E+307,SEARCH($A$9:$A$10,A2)))

Apply Advanced Filter
List range: $A$1:$A$5
Criteria range:$B$8:$B$9

After filter


A
B
1
Text​
3
dfdf green gfdf​
5
fafad mouse fdfd​
6
7
8
Criteria​
Formula​
9
Green​
FALSE​
10
Mouse​

[/tr]



[/tr]



Hope this helps

M.
 
Upvote 0
Fantastic. This really helps. I spent a few hours today trying to figure this out. This will save me a lot of time at work. Thank you. :)
 
Upvote 0

Forum statistics

Threads
1,213,521
Messages
6,114,104
Members
448,548
Latest member
harryls

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