Looking for a way to match text within a cell to a lookup table

lloyd1

New Member
Joined
Dec 23, 2017
Messages
8
Hello, I'm searching for a way to match text that is embedded within a cell to a lookup table. For example, we receive product descriptions such as this: "HammerSilver2010v1.0" and I'd like to effectively run a query that if that product description has a certain word then it will give me a related ID. In this example, if the production description has "Silver" then give me the ID "400". I've been currently using a new column with the extract ("Silver") in Row 1 and the ID ("400") in Row 2 but the spreadsheet has become unstable because of the amount of data and columns. Is there a better way ~ perhaps with a separate lookup table? Thank you very much in advance for your help. Sheets below:

Column A: Production Descriptions
A3: HammerSilver2010v1.0
A4: NailGold2014v2.0

Column B - ZZ: Word Matches
B1: Silver
B2: 400
B3: =if(ISNUMBER(SEARCH(B$1,$A3),$B2,"")
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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