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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

T. Valko

Well-known Member
Joined
May 9, 2009
Messages
16,623
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.
 

Forum statistics

Threads
1,141,019
Messages
5,703,776
Members
421,315
Latest member
awaisnazir139

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
Top