use INDEX formula in Excel for gathering multiple search items

Half Measures

New Member
Joined
Dec 16, 2020
Messages
26
Office Version
  1. 365
Platform
  1. Windows
On the "List" worksheet, I have an inventory of Food, Music, Activity and Color that a Customer uses listed into columns. On a "Search" worksheet I have created PickLists cataloguing the Food, Music, Activity and Color available for Customers.

My goal with this is to create an INDEX formula for finding which Customers are utilizing a chosen item from the PickLists? These would be done by aligning the Row of a Customer and Item listed that they are using, from the "List" worksheet. A VLOOKUP formula only shows one result, and only shows the first one in the search. I’m looking for a way to result all the Customers using the chosen item.

I wanted to attach the Excel doc here that I'm talking about, for a better example. But, I couldn't find a way to do that. I'm new here. So, here are some screen-shot's visualizing what I'm talking about.


List worksheet.jpg
Search worksheet PickLists.jpg
Search worksheet search formula.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.
Put the formula in B7 then select B7:B10 (or however far you want) & hit Ctrl D
 
Upvote 0
In that case please use the XL2BB add-in to post some sample data of both sheets, along with expected results.
 
Upvote 0
In that case please use the XL2BB add-in to post some sample data of both sheets, along with expected results.
I followed directions listed there. I do not have that add-in. Not sure how to get that and install it. I clicked on the links provided, and read articles. Couldn't find explanation on how to install the add-in if I do not have it.
 
Upvote 0
You can download it here
 
Upvote 0
You can download it here
Copy of Customer Test Forms - Copy (1).xlsx
B
7Alice's kitchen
Search
Cell Formulas
RangeFormula
B7B7=IFERROR(INDEX(List!$D$2:$D$8,AGGREGATE(15,6,(ROW(List!$D$2:$D$8)-ROW(List!$D$2)+1)/(List!$A$2:$A$8=Search!$B$3),ROWS(Search!$B$7:$B$7))),"")
 
Upvote 0
Copy of Customer Test Forms - Copy (1).xlsx
B
7Alice's kitchen
Search
Cell Formulas
RangeFormula
B7B7=IFERROR(INDEX(List!$D$2:$D$8,AGGREGATE(15,6,(ROW(List!$D$2:$D$8)-ROW(List!$D$2)+1)/(List!$A$2:$A$8=Search!$B$3),ROWS(Search!$B$7:$B$7))),"")
Here is my first worksheet called "List"

Copy of Customer Test Forms - Copy (1).xlsx
ABCDE
1FoodMusicActivityCustomerColor
2pizzacountrywalkingAlice's kitchenred
3hamburgermetaltalkingAlice's kitchenblue
4spaghetticlassicalAlice's kitchengreen
5rapAlice's kitchenyellow
6Alice's kitchenorange
7spaghettipoptalkingDonovan's backyardred
8sandwichescountrysleepingDonovan's backyardyellow
List
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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