Hi, I'm trying to find a formula to check whether any search terms in Col A (which would be separated by spaces), are contained in in Col B (words also separated by spaces), and put a "yes" or "no" in Col C
In the example below, Col A is the data to be cleaned up, Col B is the Categories to be searched, & Col C = "are any words in Col A contained in Col B".
I've tried all sorts of helper columns and FIND and SEARCHES, but I'm wondering if there is a better way with a single formula!?
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Col A: Data To be Cleaned
[/TD]
[TD]Col B: Categories
[/TD]
[TD]Any words from Col A contained in Col B?
[/TD]
[/TR]
[TR]
[TD]ball and socket
[/TD]
[TD]balls, joints, bearings
[/TD]
[TD]yes
[/TD]
[/TR]
[TR]
[TD]belt on car
[/TD]
[TD]belting
[/TD]
[TD]yes
[/TD]
[/TR]
[TR]
[TD]tube for valve
[/TD]
[TD]pipe and tube
[/TD]
[TD]yes
[/TD]
[/TR]
[TR]
[TD]regulators, valves
[/TD]
[TD]adapters
[/TD]
[TD]no
[/TD]
[/TR]
[TR]
[TD]air cond'g pipe
[/TD]
[TD]pipes and exhausts
[/TD]
[TD]yes
[/TD]
[/TR]
</tbody>[/TABLE]
In the example below, Col A is the data to be cleaned up, Col B is the Categories to be searched, & Col C = "are any words in Col A contained in Col B".
I've tried all sorts of helper columns and FIND and SEARCHES, but I'm wondering if there is a better way with a single formula!?
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Col A: Data To be Cleaned
[/TD]
[TD]Col B: Categories
[/TD]
[TD]Any words from Col A contained in Col B?
[/TD]
[/TR]
[TR]
[TD]ball and socket
[/TD]
[TD]balls, joints, bearings
[/TD]
[TD]yes
[/TD]
[/TR]
[TR]
[TD]belt on car
[/TD]
[TD]belting
[/TD]
[TD]yes
[/TD]
[/TR]
[TR]
[TD]tube for valve
[/TD]
[TD]pipe and tube
[/TD]
[TD]yes
[/TD]
[/TR]
[TR]
[TD]regulators, valves
[/TD]
[TD]adapters
[/TD]
[TD]no
[/TD]
[/TR]
[TR]
[TD]air cond'g pipe
[/TD]
[TD]pipes and exhausts
[/TD]
[TD]yes
[/TD]
[/TR]
</tbody>[/TABLE]