How to Compare Whole Words in String between 2 columns

MaryJS

New Member
Joined
Nov 10, 2015
Messages
10
I have 2 columns of data, one with a product description and the other with Keywords that apply to that product.

Currently, the Keyword contains words that are also found in the Product Description. I need to create a new Keyword column that excludes those words. I don't want any whole words found in Product Description to be included in the new Keyword column. Can anyone help? The words are separated by 1 space.

Thank you!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Example:
Product Description: Right-handed office scissors
Keyword: Right-handed office scissors knives cutters
New Keyword: knives cutters

words are not case sensitive
 
Upvote 0
Ok. The reason I was asking was that IF the maximum number was reasonably small - say 4 or 5 as in post #2 - then you could manage this with a fairly straightforward formula using standard Excel text analysis functions.

But if the maximum possible number of keywords is much larger, then this approach becomes - not impossible - but extremely clunky quite rapidly.

There is probably a VBA solution to this but personally I'm not a VBA expert.

Anyone else out there want to pick this one up ?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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