vlookup (or other function) to pull multiple matches in the look up table

Jeffrey Green

Well-known Member
Joined
Oct 24, 2007
Messages
1,021
In column A I have a distinct part number.
In two other columns, i have that same list of parts, but it is not unique in the lookup table. each instance will have a different value in the 2nd column.

One part in Column A may exist 3 times (or more) in the look up table.
In column B, i want the first match of the the part number with the value in the 2nd column. i can do this with Vlookup.
But in Column C, i want the 2nd instance of my part in column A . . . i want the 2nd value from the lookup table.
iIn Column D, i want the third instance of that part (assuming there is a third)

Etc.

I can add as many columns as i need to pull in all instances.

thanks, i hope i explained that clearly
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
I knew this would happen . . . . . Although i would like to know the solution above, what i decided to do the old STACK 'Em up method. Add another column next to my Unique list, then STACK my two column lookup table underneath, then Sort by part number . . . .

thanks . . i am all set, unless you want to tell me how to do this like i asked orginally . . .
 
Upvote 0
Something like this?
Copy formula down and across as needed.
Excel Workbook
ABCDEF
1Part
2Part1330516164
3Part2674774167409
4Part3254
5Part4416651
6
7Look UP Table
8Part1330
9Part2674
10Part1516
11Part1164
12Part2774
13Part3254
14Part2167
15Part2409
16Part4416
17Part4651
Sheet
 
Upvote 0

Forum statistics

Threads
1,223,718
Messages
6,174,077
Members
452,542
Latest member
Bricklin

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