Vlookup multiple values with comma separated list

andersen_yunan

New Member
Joined
Feb 7, 2018
Messages
36
I'm looking to use Excel to look up and return multiple reference values for a given key. VLookup does something very similar to what I need - but only returns a single match. The thing is, my reference cell contains comma separated list. For example, here is the example of my reference data.

VisitDayCustomer
MONDAY-1, MONDAY-3Store 1
TUESDAY-2Store 2
WEDNESDAY-1,SATURDAY-3Store 3
THURSDAY-1, THURSDAY-2, THURSDAY-3Store 4
MONDAY-2, MONDAY-4Store 5
TUESDAY-1, TUESDAY-2, TUESDAY-3Store 6
MONDAY-1, MONDAY-4Store 7
MONDAY-1, MONDAY-3Store 8
TUESDAY-2Store 9
WEDNESDAY-1,SATURDAY-3Store 10

<colgroup><col><col></colgroup><tbody>
</tbody>
<strike></strike>

and I'm trying to get this value

CountVisitDay
MONDAY-13Store 1Store 7Store 8
MONDAY-21Store 5
MONDAY-32Store 1Store 7
MONDAY-42Store 5Store 7

<colgroup><col><col span="4"></colgroup><tbody>
</tbody>
<strike></strike>
Any help as to how to approach handling multiple values in this context is apprecited. Thanks.<strike></strike>
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,215,425
Messages
6,124,824
Members
449,190
Latest member
rscraig11

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