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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

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