Index-Match Function - Second match needed

tt333

New Member
Joined
Sep 15, 2017
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hi Folks

I'm using the INDEX function in combination with the MATCH function on a table (see attached sample), which is straight forward easy. But now i want to find a second match in case there is one.

My attempt was to use OFFSET for the INDEX range (using the MATCH result + 1), but I just fail to get a range in return. OFFSET gives me a SPILL error.

So, in my sample table, I need to adjust the range for the 2nd INDEX MATCH to "A3:A11" instead of Tabelle1[Result Range] (i.e. "A2:A11")

Any ideas?
 

Attachments

  • Unbenannt.PNG
    Unbenannt.PNG
    13.8 KB · Views: 8

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
What version of Excel are you using?

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’)

As you are getting a #SPILL error you should have the Filter function, that will return all matches.
 
Upvote 0
If you're getting a SPILL error then you must have dynamic array functions so should be able to use FILTER

=FILTER(Tabelle1[Result Range];Tabelle1[Lookup Range]=123;"No Match")
 
Upvote 0
What version of Excel are you using?

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’)

As you are getting a #SPILL error you should have the Filter function, that will return all matches.
Im using the latest 356 version ... I've just updated my account info
 
Upvote 0
Thanks for that, give Jason's formula a try.
 
Upvote 0
If you're getting a SPILL error then you must have dynamic array functions so should be able to use FILTER

=FILTER(Tabelle1[Result Range];Tabelle1[Lookup Range]=123;"No Match")

Thank you, that's already a start. The result is an array...but how do I get only the second match
 

Attachments

  • Unbenannt.PNG
    Unbenannt.PNG
    15.9 KB · Views: 4
Upvote 0
How about
Excel Formula:
=INDEX(FILTER(Tabelle1[Result Range];Tabelle1[Lookup Range]=123;"No Match");2)
 
Upvote 0
Solution
The result is an array...but how do I get only the second match
You don't need a formula for the second match, use the formula that I suggested for the first match. When there are 2 (or more) matches it will list all of them automatically.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,551
Members
449,088
Latest member
davidcom

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