Finding a specific list of values in a cell of listed values

Nighabi

New Member
Joined
Feb 13, 2008
Messages
34
I was given a list of available products but the codes need to be translated to my setup. To top it off, the way the information was given to me is really bad.
Essentially I was given 2 columns
Colunn A is CardNumber and Column B is AvailableProducts
For this exercise, CardNumber is irrelevant. The format of column be is what is causing me the problem. It is essentially a list of product codes, separated by commas. The list can also vary in length, for Example
Column A Column B
Card1 1,4,5,25,96
Card2 4,7,25,96
My dilemma comes in that in Column C - G need to put an 'X' if I see a value.
For example in Column C I will need to put an 'X' if I see a 1 or 5 or 19. In column D I will need an 'X' if I see a 20 or 96.
Given the above rows, Card1 would have an 'X' in both column C and Column D but Card 2 would only have an 'X' in Column D.
Any help would be appreciated. I was hoping Excel would have a 'Contain' or 'Like' function but I haven't found one that works.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,224,551
Messages
6,179,476
Members
452,915
Latest member
hannnahheileen

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