Lookup return multiple values for a list

MissSpreadsheets

New Member
Joined
Dec 20, 2016
Messages
1
Hi,

I need help with returning multiple values from a lookup. The data to the left is the source data for 1000s of rows that contain duplicates.
I would like the result to be something on the right (again this will be for 100s of cells) e.g. show the top 7 items (using the Large formula, this I can do), however in the fruit and veg columns it needs to return all that had 50.

I've found plenty of these solutions (How To Return Multiple Match Values in Excel Using INDEX-MATCH or VLOOKUP) (uses small formula) but this only works for one lookup for one item, whereas after returning all the ones with 50, it needs to return all the ones with 40 etc. in the same list.

Hope someone can help, thanks,

NumberFruitVegetableLargestFruitVegetable
50OrangeCarrot150OrangeCarrot
40ApplePeas250BananaOnion
18KiwiBroccoli350OrangePepper
40PineapplePotato440ApplePeas
50BananaOnion540PineapplePotato
50OrangePepper623PeachParsnip
23PeachParsnip718KiwiBroccoli

<tbody>
</tbody>
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,215,436
Messages
6,124,869
Members
449,192
Latest member
MoonDancer

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