Attempting to figure out highest scoring players

tpasmall

New Member
Joined
Mar 7, 2011
Messages
1
Hi, I'm creating database for a hockey league and I need to create a formula for a record book which would find the players with the most points and show their name.

Here's my basic formula:

=INDEX(A13:B16;MATCH(MAX(B13:B16);B13:B16;0);1)


Now this formula works great as long as there are no duplicate values in column B.

I was wondering if there was a way to get the answer for all the values, not just the first occurance of it.

Example:

Name: Points:
Wayne Gretzky 7
Mario Lemiuex 7
Harry Houdini 4
Peter Griffin 7

I'd like to be able to get the formula to find Gretzky, Lemiuex and Griffin.

Thanks,
Dave


 

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).
Hi, I'm creating database for a hockey league and I need to create a formula for a record book which would find the players with the most points and show their name.

Here's my basic formula:

=INDEX(A13:B16;MATCH(MAX(B13:B16);B13:B16;0);1)


Now this formula works great as long as there are no duplicate values in column B.

I was wondering if there was a way to get the answer for all the values, not just the first occurance of it.

Example:

Name: Points:
Wayne Gretzky 7
Mario Lemiuex 7
Harry Houdini 4
Peter Griffin 7

I'd like to be able to get the formula to find Gretzky, Lemiuex and Griffin.

Thanks,
Dave


Try this...

Enter these labels in the cells:

  • D1 = Max Points
  • E1 = Count
Enter this formula in D2:

=MAX(B13:B16)

Enter this formula in E2:

=COUNTIF(B13:B16,D2)

Enter this array formula** in F2:

=IF(ROWS(F$2:F2)>E$2,"",INDEX(A:A,SMALL(IF(B$13:B$16=D$2,ROW(B$13:B$16)),ROWS(F$2:F2))))

** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER.

Copy down until you get blanks.
 
Upvote 0

Forum statistics

Threads
1,224,582
Messages
6,179,670
Members
452,936
Latest member
anamikabhargaw

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