How to find whether that cell values is there in another sheet

satya12

Board Regular
Joined
Oct 19, 2021
Messages
70
Office Version
  1. 2016
Platform
  1. Windows
Hi All,

I am having 2 workbooks. If workbook 1 "D" Col having some keywords, if that keyword is there in the workbook2 "C" Col sentence, it will copy workbook2 row values, and paste it into another workbook. In the Workbook 1 "D"Col some of keywords are more than 1 word, is it possible to take that keyword, and search it in the workbook2. i tried one code, in that i used directly specify the keyword name, but in future "D" Col will update , and new keywords will appear, that macro will not give the correct output.
HP PLSuffix w/out OptionDescription Keywords
7FUTEliteDesk, EON, EOT
GAUTEliteDesk, EDK
9RSmartbuy, SBY, Promo
CYSmartbuy, SBY, Promo
MGSmartbuy, SBY, Promo

if you see 3rd col is the -D Col, how to take those keywords, and search it in the Workbook 2 "C" col
for example: If visible cell is 3rd row in the image, it's having "EliteDesk", "EDK" , macro will search the workbook2 Col "C" whether any one these 2 words are there in the "C" Col .
is it possible to do.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,214,599
Messages
6,120,447
Members
448,966
Latest member
DannyC96

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