Player ranking

Saracen628

New Member
Joined
May 21, 2012
Messages
18
Hi All

Id like to set up a ranking system based on points.
When a person gains or loses points they add the number of points gained or lost (-) in column D (player points col B cant go lower than 0)
When they press enter the points counter for the relevant row in column C updates, the row moves up or down and column D goes back to being blank.
Column A would need to remain static.
Ranking - Sheet 1.png


But thats not all! (Please dont hate me) on Sheet 2 it would be great if a history of points gained or lost could be recorded against each player as a list.
History - Sheet 2.png


Any help would be greatly appreciated!

Cheers
Chris
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
@Saracen628
Chris, it may help if you can clarify a couple of things.
You say Player Points column B cannot go below 0. (Assume you mean C?)
So a player history of 10,10, -10, -15, 5 would reflect as 10, 20, 10, 0 , 5 in column C, even though the overall gains and losses sum to 0 ?
Ranking is based upon this never-negative total rather than the real ongoing sum of gains and losses?
The entry scenario you have outlined will require vba. Are you ok with that?
Would you take a non-vba solution if it could be found?
 
Upvote 0
Chris, it may help if you can clarify a couple of things.
You say Player Points column B cannot go below 0. (Assume you mean C?)
So a player history of 10,10, -10, -15, 5 would reflect as 10, 20, 10, 0 , 5 in column C, even though the overall gains and losses sum to 0 ?
Ranking is based upon this never-negative total rather than the real ongoing sum of gains and losses?
The entry scenario you have outlined will require vba. Are you ok with that?
Would you take a non-vba solution if it could be found?

Hii Snakehips
thanks for the quick response!
Apologies for the mistakes.
Yes its column C - i will probably set a starting points count at 2000 per player so there is a buffer if people have a losing streak.
id like to keep the neg (-) value for losses if possible.

im happy to provide more info where i can if needed
Id be completely happy with VBA :)

Cheers
Chris
 
Upvote 0
Might something like the below offer a simple formulaic solution?
It would require losses and gains to be entered in the player's history column and the ranking table would update accordingly.

MXLBook1 (version 1).xlsb
ABCDEFGHIJKLMNOPQRSTU
1Player HistoryBuffer >2000
2
3PlayerABCDEFGHIJKLMNOPQRST
4Points Total20251975202020701965202520052010201020102010202020102010201520102010200519852005
5Rank2194120315789105111261314161817
6History10-152020-10205555555555520-55
7105-1520-515101010101020101015101015-510
8-1051020-20-25-5-5-5-5-5-5-5-5-5-5-5-30-5-10
915-10102015-5
10-1010-5-10
115-20
12-25
1330
14
15
Player History
Cell Formulas
RangeFormula
B4:U4B4=SUM(B6:B2000)+$E1
B5:U5B5=RANK(B4,$B$4:$U$4,0)+COUNTIF($B$4:B$4,B$4)-1


MXLBook1 (version 1).xlsb
ABC
1Ranking
2RankingPlayerPoints
31D2070
42A2025
53F2025
64C2020
75L2020
86O2015
97H2010
108I2010
119J2010
1210K2010
1311M2010
1412N2010
1513P2010
1614Q2010
1715G2005
1816R2005
1917T2005
2018S1985
2119B1975
2220E1965
23
Ranking
Cell Formulas
RangeFormula
B3:B22B3=INDEX('Player History'!$B$3:$U$3,1,MATCH($A3,'Player History'!$B$5:$U$5,0))
C3:C22C3=INDEX('Player History'!$B$4:$U$4,1,MATCH($A3,'Player History'!$B$5:$U$5,0))
 
Upvote 0

Forum statistics

Threads
1,216,036
Messages
6,128,432
Members
449,452
Latest member
Chris87

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