Rank Adjacent Cells

tcarwardine

New Member
Joined
Jul 13, 2016
Messages
26
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi everyone

I have a list of scores for students along with year group they are studying in.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Points[/TD]
[TD]Year[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]100[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]Paul[/TD]
[TD]252[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]George[/TD]
[TD]800[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]Ringo[/TD]
[TD]53[/TD]
[TD]7[/TD]
[/TR]
</tbody>[/TABLE]

I would like to create a leader board for the Top 10 in each year group based on these scores.
Year 7
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Position[/TD]
[TD]Points[/TD]
[TD]Name[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]100[/TD]
[TD]John[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]53[/TD]
[TD]Ringo[/TD]
[/TR]
</tbody>[/TABLE]

Year 8
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Position[/TD]
[TD]Points[/TD]
[TD]Name
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]800[/TD]
[TD]George[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]252[/TD]
[TD]Paul[/TD]
[/TR]
</tbody>[/TABLE]

Is there any formula I could use to put something like this together?

Thanks
Tom
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hi, see if you can adapt something like this to your set-up:


Excel 2013/2016
ABCDEFGHIJK
1Year7Year8
2NamePointsYearPositionPointsNamePositionPointsName
3John10071100John1800George
4Paul2528253Ringo2252Paul
5George8008
6Ringo537
Rebate
Cell Formulas
RangeFormula
F3=AGGREGATE(14,6,$B$3:$B$100/($C$3:$C$100=F$1),ROWS(F$3:F3))
G3{=INDEX($A$3:$A$100,SMALL(IF($B$3:$B$100=F3,IF($C$3:$C$100=F$1,ROW($C$3:$C$100)-ROW($C$3)+1)),COUNTIF(F$3:F3,F3)))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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