filtering data that has similar information, not exact?

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
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.
 
Upvote 0
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)),"")
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,071
Latest member
cdnMech

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