Index w/ Multiple Results

ChazGarrett

New Member
Joined
Jun 8, 2015
Messages
2
I have a very large spreadsheet (10k+ items). I need to do an index that returns multiple results. The formula I use (below) works on other pages in this WB but on one I keep getting a #NUM! error. I have no unusual characters or blank spaces in the search array or the results array. I will send a link of the file to anyone that wants to take a look at it.

My Formula:
Col A = Search Array - (City Names)
Col B = Results Array - (Census Tract Numbers ie 48001950100)
C1 = Search Criteria - (City Name)
C3 = Search Results - (Corresponding CT numbers)

{=INDEX($A$2:$B$9250,SMALL(IF($A$2:$A$9250=$C$1,ROW($A$2:$A$9250)-1),COLUMNS($C3:C3)),2)}
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,214,818
Messages
6,121,725
Members
449,049
Latest member
MiguekHeka

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