Index Match Multiple Results from Multiple Criteria

Azira

New Member
Joined
May 10, 2012
Messages
13
Office Version
  1. 2016
Platform
  1. Windows
Good Day all,
It's been quite a while since I've had to post a question here. I've searched many, many posts about this and have no luck finding the solution.
Note: I only have Excel 2016, so 365 solutions won't do me any good.

My goal is to input the criteria (yellow) and return a list of names (Green) that match the criteria.
Yellow cells are the inputted criteria. Green are what's expected. (the highlights are only for clarification)
The From and To columns are always low to high, if that helps.

Book1.xlsx
ABCDEFGHIJKL
1AreaSegmentRegionFromToNamenumber between
2North100Plains0100JimAreaSegmentRegionfrom and to
3South5150Mountains100523SteveSouth5150Mountains125
4East1Swamps035Alice
5West500Boreal09999James
6South5150Mountains1050BillNames
7East685Plains25150.2BobSteve
8East7000Mountains010.5HarryJane
9South5150Mountains35238Jane
10West63Boreal025Nancy
11North685Boreal2555Chris
12
Sheet1


Thanks for any help
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I only have Excel 2016
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

How about
Excel Formula:
=IFERROR(INDEX($F$2:$F$11,AGGREGATE(15,6,(ROW($F$2:$F$11)-ROW($F$2)+1)/($A$2:$A$11=$H$3)/($B$2:$B$11=$I$3)/($C$2:$C$11=$J$3)/($D$2:$D$11<=$K$3)/($E$2:$E$11>=$K$3),ROWS(K$7:K7))),"")
 
Upvote 0
Solution
Wow!
I think I was on the right track with using Aggregate, but I just couldn't figure it out.
Thank you so much. I'm going to enjoy picking it apart to see how it works.
Something I noticed though, on other typical index matches, the criteria are separated with an asterisk (criteria1=this)*(criteria2=that) etc...
Are the slashes a way to separate the criteria or is there actual division going on?

And I updated my profile btw.
 
Upvote 0
I updated my profile btw.
Thanks for that (y)

When using AND criteria inside Aggregate, you can either use the multiplication or the division, it's just a matter of personal preference.
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,198
Members
453,022
Latest member
RobertV1609

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