Starts with anything in a list

mikebishop

New Member
Joined
Apr 30, 2014
Messages
2
Have a list A and am looking to find if anything in this list starts with anything in list B

[TABLE="width: 271"]
<tbody>[TR]
[TD]My things A[/TD]
[TD][/TD]
[TD][/TD]
[TD]My list B[/TD]
[/TR]
[TR]
[TD]red coasts[/TD]
[TD="align: center"]TRUE[/TD]
[TD][/TD]
[TD]red[/TD]
[/TR]
[TR]
[TD]red hats[/TD]
[TD="align: center"]TRUE[/TD]
[TD][/TD]
[TD]green[/TD]
[/TR]
[TR]
[TD]redhats[/TD]
[TD="align: center"]TRUE[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]blue hats[/TD]
[TD="align: center"]FALSE[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]bluehats[/TD]
[TD="align: center"]FALSE[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]green hats[/TD]
[TD="align: center"]TRUE[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Help please!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Book1
ABC
1ThingsMatch?List
2red coatsTRUEred
3red hatsTRUEgreen
4redhatsTRUE
5blue hatsFALSE
6bluehatsFALSE
7green hatsTRUE
Sheet1
Cell Formulas
RangeFormula
B2{=SUM(COUNTIF($A2,$C$2:$C$3&"*"))>0}
Press CTRL+SHIFT+ENTER to enter array formulas.


Extend $C$2:$C$3 as necessary.

WBD
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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