# filtering data that has similar information, not exact?

n/a

### Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
polyxenne said:
I'm trying to find the contents in column C “Dog Names” within the contents of column B “All Names.” I’d like to filter out the names and match the ones with column C. can you help?

Try to provide a small sample along with the desired result list.

sample

nevermind

Re: sample

polyxenne said:
nevermind

Why?
Book7
BCDEF
103
2AllDogsMatchList
3jake johnsonjake1jake johnson
4david dougdoug2david doug
5drewroger3roger rabbit
6ralphcebe
7roger rabbit
8
Sheet1

D1 must house a 0.

D3, copied down:

=IF((C3<>"")*ISNUMBER(MATCH("*"&C3&"*",\$B\$3:\$B\$7,0)),LOOKUP(9.99999999999999E+307,\$D\$1:D2)+1,"")

F1:

=LOOKUP(9.99999999999999E+307,D3:D6)

F3, copied down:

=IF(ROW()-ROW(\$F\$3)+1<=\$F\$1,INDEX(\$B\$3:\$B\$7,MATCH("*"&LOOKUP(ROW()-ROW(\$F\$3)+1,\$D\$3:\$D\$6,\$C\$3:\$C\$6)&"*",\$B\$3:\$B\$7,0)),"")

Replies
1
Views
54
Replies
5
Views
302
Replies
12
Views
243
Replies
3
Views
208
Replies
2
Views
190

1,196,057
Messages
6,013,165
Members
441,751
Latest member
336448

### 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.

### Which adblocker are you using?

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

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