Formula to match any part of string in cell to lookup table

bentham7246

New Member
Joined
Nov 5, 2009
Messages
2
Hi, I've been scratching my head all day on this one. I feel like it should be easy but I can't fathom out how to do it. Any help would be much appreciated

So here's a sample:

Item ColourColour Lookup
OFF WHITEWHITE
DARK BLUEBLUE
GREY MARLGREY
NAVY/RED/GREYMULTI

<tbody>
</tbody>









Lookup Table

Colour List
BLUE
RED
GREY
WHITE
BLACK

<tbody>
</tbody>











So basically I have a big list of items each with a unique colour but they will be different variations such as light blue, dark red, midnight blue, honey orange etc etc. I'm just looking to match one of the words from my item list to my colour look up table so I can try to categorize items into colour groups


Can this be done through formula or is it a VBA task?

Thank you
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Place first table in A1:B5. Second in E1:E6. In B2:

=IF(SUM(INDEX(--(ISNUMBER(SEARCH($E$2:$E$6,A2))),0))>1,"MULTI",INDEX($E$2:$E$6,MATCH(1,INDEX(--(ISNUMBER(SEARCH($E$2:$E$6,A2))),0),0)))
 
Upvote 0

Forum statistics

Threads
1,216,102
Messages
6,128,851
Members
449,471
Latest member
lachbee

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