Search for text string that matches with a name list

toadddd

New Member
Joined
Jan 7, 2017
Messages
1
Hi everyone

I want to search for some specific text string on List 1 that matches with names on List 2

To make it more visual, I have created 2 dummy lists below. Ideally, it would show that row 1 and 2 are TRUE while row 3 is FALSE. Hope this makes sense

Is there a simple function that can do this? Greatly appreciate your help on this. Thanks in advance

List 1
aa;bb;cc
cc;dd;ee
ff;ee;da

List 2
aa
cc
zz
yy
xx
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
A1:D6

[TABLE="width: 256"]
<tbody>[TR]
[TD="class: xl63, width: 64"]List 1[/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"]List 2[/TD]
[/TR]
[TR]
[TD="class: xl63"]aa;bb;cc[/TD]
[TD="class: xl63, align: center"]TRUE[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"]aa[/TD]
[/TR]
[TR]
[TD="class: xl63"]cc;dd;ee[/TD]
[TD="class: xl63, align: center"]TRUE[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"]cc[/TD]
[/TR]
[TR]
[TD="class: xl63"]ff;ee;da[/TD]
[TD="class: xl63, align: center"]FALSE[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"]zz[/TD]
[/TR]
[TR]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"]yy[/TD]
[/TR]
[TR]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"]xx[/TD]
[/TR]
</tbody>[/TABLE]

B2, confirmed with CONTROL+SHIFT+ENTER, and copied down:

=OR(ISNUMBER(SEARCH(";"&$D$2:$D$6&";",";"&A2&";")))

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,021
Members
452,374
Latest member
keccles

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