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.
Hi & welcome to MrExcel.
How about
Excel Formula:
=FILTER(List!D1:D8,List!A1:A8=B3)
 
Upvote 0
So you get a message like
1608138411332.png
 
Upvote 0
So it doesn't say formula then ;)
How about in B7 dragged down
Excel Formula:
=IFERROR(INDEX(List!$D$1:$D$8,AGGREGATE(15,6,(ROW(List!$D$1:$D$8)-ROW(List!$D$1)+1)/(List!$A$1:$A$8=B3),ROWS(B$7:B7))),"")
 
Upvote 0
So it doesn't say formula then ;)
How about in B7 dragged down
Excel Formula:
=IFERROR(INDEX(List!$D$1:$D$8,AGGREGATE(15,6,(ROW(List!$D$1:$D$8)-ROW(List!$D$1)+1)/(List!$A$1:$A$8=B3),ROWS(B$7:B7))),"")
Eh...it's still only showing one result, even if more than one Customer uses the Food item.
 
Upvote 0

Forum statistics

Threads
1,213,538
Messages
6,114,220
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