Lookup multiple values in a single cell (separated by commas) and then return the values to a single cell (also comma separated)

onlyforsubu

New Member
Joined
May 15, 2016
Messages
1
Purple! Pink! Gold! Nude! Orange! Yellow! Brown
Ivory! Black! Green! Silver! Purple! Pink! Nude
Purple! Pink! Gold! Nude! Orange! Yellow! Brown

<tbody>
</tbody>

Above are values & we have another sheet of categories. In categories there are numbers like below

Red17
White18
Ivory82
Blue19
Black20
Green24
Silver21
Purple23
Pink22
Gold25
Nude81
Orange83
Yellow90
Brown91

<tbody>
</tbody>

We want above colors in numbers like

17,22,25........ etc. in same cell

Can someone help me please ????
 

J.Ty.

Well-known Member
Joined
Feb 4, 2012
Messages
1,027
Office Version
365, 2016, 2010
Platform
Windows, Web
Hi,

Welcome to MrExcel Forum!

To be honest, the idea of storing multiple pieces of information in a single cell is unfortunate. Sooner or later it causes problems, which you are now experiencing: your task is quite easy when the color names are located in spearate cells, and difficult otherwise. Many other problmes may surface later.

What is the reason for keeping all the names together?


J.Ty.
 

Forum statistics

Threads
1,085,495
Messages
5,384,007
Members
401,871
Latest member
allemandi

Some videos you may like

This Week's Hot Topics

Top