VLOOKUP to a cell with comma separated values

bambers3185

New Member
Joined
Jul 8, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I need to be able to do a lookup in Column D (Pipeline) to Column A (Customer Number) in Worksheet 2, to the cell in Column A (Customer NUmber) in Worksheet 3 to find the value in Column D (Amount).
I can do that if there is only a single value in Column A as in Cell A4 using the formula =VLOOKUP("*" & A4 & "*",Sheet3!A2:D5,4,FALSE) which give me the value 2,425, but need to be able to do a Lookup to a cell with comma separated values,

Worksheet 2
Sheet 2.jpg


Worksheet 3

Sheet 3.jpg
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Trying to do that with a single cell formula would be near to, if not completely impossible. You would need to break the customer numbers down into individual cells first to have any realistic chance of making it work.

It would be a far better idea to improve the method of entry in the bottom sheet so that there is only one customer number per row.
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,453
Members
448,967
Latest member
grijken

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