Index&Match Array Formula to Return Multiple Matches not working when looking up numbers

loto

New Member
Joined
Dec 17, 2011
Messages
11
Hi everyone

I've been trying to create a spreadsheet that tracks our golf group (boring I know!). And I have a table ranking the players that have won the most match points, made the most pars, birdies, etc, over the course of the week. I can use INDEX and MATCH functions to find the highest ranked player and this works well when there is only 1 winner - but how can I get the formula to return multiple matches where there is more than 1 player with the same score? Is there a way to get the formula to list the names in one cell (C36, D36, etc) separated by columns or do I have to copy the formula down the column to list all matching references? The only other problem is that for 'Lost Balls' the winner is the one with the lowest score (all the others the highest score wins) - but I assume I can solve that with MIN function.

Any help would be much appreciated. I did have one formula partially working but it seems to break when I lookup numbers rather than text!

Example:

[TABLE="width: 776"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]G[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]MVP Rank[/TD]
[TD]Team[/TD]
[TD]Match Points[/TD]
[TD]Pars[/TD]
[TD]Birdies[/TD]
[TD]Eagles[/TD]
[TD]Lost Balls[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1[/TD]
[TD]Player 1[/TD]
[TD]5[/TD]
[TD]30[/TD]
[TD]15[/TD]
[TD]5[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1[/TD]
[TD]Player 2[/TD]
[TD]5[/TD]
[TD]4[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]23[/TD]
[TD]Player 3[/TD]
[TD]0[/TD]
[TD]10[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]23[/TD]
[TD]Player 4[/TD]
[TD]0[/TD]
[TD]15[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]11[/TD]
[T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/TD]
[TD]WINNER[/TD]
[TD]Player Names[/TD]
[TD]Player Names[/TD]
[TD]Player Names[/TD]
[TD]Player Names[/TD]
[TD]Player Names[/TD]
[/TR]
</tbody>[/TABLE]

Thanks!!
 
Last edited:

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Here's one way.
These are array formulas and must be entered with CTRL-SHIFT-ENTER (command-return on MAC).
Also, the IFERROR function is only available in Excel 2010 or later.

Formula in C36 can be copied down and across to column F.
Formula in G36 is the same only changing MAX to MIN (copy this formula down as needed).
Excel Workbook
ABCDEFG
1MVP RankTeamMatch PointsParsBirdiesEaglesLost Balls
21Player 15301554
31Player 254003
423Player 3010004
523Player 4015004
611Player 52.520005
711Player 62.525004
811Player 72.520002
911Player 82.530001
101Player 9525000
111Player 105300012
1223Player 110250034
1323Player 120300012
1423Player 13025005
1523Player 140300013
1611Player 152.5452004
1711Player 162.5452001
1823Player 1708952
1923Player 18035053
201Player 195601004
211Player 20540505
2211Player 212.5401051
2311Player 222.5451000
2411Player 232.520055
2511Player 242.5501006
2623Player 25030004
2723Player 26030007
281Player 2757015014
291Player 28535558
301Player 29530002
311Player 30590002
3211Player 312.5452003
3311Player 322.5502008
34*******
35*RESULTSMVPParsBirdiesEaglesLost Balls
36*WINNERPlayer 1Player 30Player 15Player 1Player 9
37**Player 2*Player 16Player 17Player 22
38**Player 9*Player 31Player 18*
39**Player 10*Player 32Player 21*
40**Player 19**Player 23*
41**Player 20**Player 28*
42**Player 27****
43**Player 28****
44**Player 29****
45**Player 30****
Sheet
 
Upvote 0
@AhoyNC - it's official you're a genius ;-) It works perfectly!

Thank-you so much - wish I'd asked you last night instead of trying to do it at 2 a.m.!

And now I can see what I was doing wrong!
 
Upvote 0
You're welcome. Thanks for the feedback. I wouldn't have been awake at 2 am.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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