Index Match data to provide multiple results in columns

lomond44

New Member
Joined
May 6, 2014
Messages
7
I need some help with a spreadsheet that contains 2 worksheets.

The first sheet contains part numbers and the assemblies that they are used in. Each part number can be used in many assemblies.

On the 2nd sheet is a list of just the part numbers without duplicates. The aim is to create columns to the right of each part number that identifies all the assemblies that the part is used in.

I have looked at this link How To Return Multiple Match Values in Excel Using INDEX-MATCH or VLOOKUP | eImagine Technology Group but I do not want the results to be down a column but to go across the row.

Any help appreciated :)
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
This is how non-robust formula set ups propagate.

Care to post a small (5 row) sample from the source sheet?
 
Upvote 0
Using the example I linked to in my post, the data and results should look like this:

Part NoAssemblyLookupMatch 1Match 2
DuckDaffyDuckDaffy
MouseMickeyMouseMickeyMinnie
MouseMinnieBunnyBugs
BunnyBugsPigPorky
PigPorkyDogGoofyPluto
DogGoofy
DogPluto

<tbody>
</tbody>
 
Last edited:
Upvote 0
E2, control+shift+enter, not just enter, copy acrossas far as needed, and down:
Rich (BB code):
=IFERROR(INDEX($B$2:$B$8,SMALL(IF($A$2:$A$8=$D2,ROW($B$2:$B$8)-ROW($D$2)+1),
  COLUMNS($E2:E2))),"")
 
Upvote 0
Try to provide a small sample and the expected result(s)...

OriginAnimalNameLookup:Mouse, Disney
WarnerDuckDaffy
DisneyMouseMickeyMatches:Mickey
DisneyMouseMinnieMinnie
WarnerBunnyBugs
WarnerPigPorky
DisneyDogGoofy
DisneyDogPluto
20th CentMouseMighty

<colgroup><col width="64" span="6" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,213,534
Messages
6,114,184
Members
448,554
Latest member
Gleisner2

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