Match / Find / Search help please.

Walshie1987

New Member
Joined
Aug 8, 2010
Messages
10
Hi All,

I have searched many forums and cannot find an answer to the what i am wanting.

I want to search a cell (Target Cell) to see if it contains words that are in a list (list is about 100 cells long).

If the target cell contains a word from the list, i want to then do a vlookup and insert a category name next the the target cell.

E.g.

Target cell's value is: "Light blue T-Shirt"

The list is as follows:

A | B
Item Name | Category

1 | Jacket | Jackets and Coats

2 | T-Shirt | T-shirts and Polos


I want to insert a formula so the word "T-Shirt" is picked out of the taregt cell (as it is contained in the list), this word is then looked up in the list and the value "T-shirts and Polos" is returned.

I am currently using VBA loop to check all this but with the sizes of the spreadsheet it takes over 20mins to run. Therefore the above formula would be by far quicker.

Please can someone help? I'm pretty good with VBA so VBA suggestions also welcome

Cheers
Chris
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
if someone could show me how to identity if the target cell contains a word from the list I'm sure i could figure out the rest?

Cheers
Chris
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,833
Members
452,947
Latest member
Gerry_F

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