Game Points Bank Account

jgthtrotih

Well-known Member
Joined
Aug 28, 2009
Messages
568
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Hi All,
Excel Workbook
RSTUVWX
5Your PointsPoints Needed To Level UpCurrent LevelYour CreditWithdrawalDepositCredit
6
7
80You Need 18,000 Pts.IntermediateYour Credit is 0 Pts
911,5006,500BeginnerYour Credit is 0 Pts25004000
1010,4547,546BeginnerYour Credit is 454 Pts454
11125005,500BeginnerYour Credit is 1000 Pts200035001000
Sheet6


i have a "Game Points Bank Account" that keeps track of the points users earn or spend in the game...what i need help is creating a running total for the bank..ive tried everything nothing works..

(this is actually like a traditional bank account)

each player starts with 10,000 points

*Row 8 is the only row to have formulas*

*Rows 9-11 are typed in to show my desired results*

Here is the point value "Ranking System" for Column T

Excel Workbook
AGAH
5Tier 1
6Beginner18000
7Beginner36000
8Beginner54000
9Intermediate72000
10Intermediate90000
11Intermediate108000
12
13Tier 2
14Advanced126000
15Advanced144000
16Advanced162000
17Expert180000
18Expert198000
19Expert216000
20
21Tier 3
22Elite234000
23Elite252000
24Elite270000
25Superior288000
26Superior306000
27Superior325000
Sheet6


Please ask for further questions!

Thanks!
 
There were some changes in the formulas. Also you need to change the sorting of the values, and you can delete the 0, Beginner line.
Excel Workbook
RSTAAAB
5325000Superior
6306000Superior
7288000Superior
872000You Have Enough Pts.Intermediate270000Elite
910000You need 8000 Pts.Beginner252000Elite
1018000You Have Enough Pts.Beginner234000Elite
1171998You need 2 Pts.Intermediate216000Expert
12126000You Have Enough Pts.Advanced198000Expert
1371999You need 1 Pts.Intermediate180000Expert
14-85You need 18085 Pts.Beginner162000Advanced
1510000You need 8000 Pts.Beginner144000Advanced
16126000Advanced
17108000Intermediate
1890000Intermediate
1972000Intermediate
2054000Beginner
2136000Beginner
2218000Beginner
Sheet1
Excel 2007
Cell Formulas
RangeFormula
S8=IF(ISNA(INDEX($AA$5:$AB$22,MATCH(R8,$AA$5:$AA$22,0),1)),"You need "&INDEX($AA$5:$AB$22,MATCH(R8,$AA$5:$AA$22,-1),1)-R8&" Pts.","You Have Enough Pts.")
S9=IF(ISNA(INDEX($AA$5:$AB$22,MATCH(R9,$AA$5:$AA$22,0),1)),"You need "&INDEX($AA$5:$AB$22,MATCH(R9,$AA$5:$AA$22,-1),1)-R9&" Pts.","You Have Enough Pts.")
S10=IF(ISNA(INDEX($AA$5:$AB$22,MATCH(R10,$AA$5:$AA$22,0),1)),"You need "&INDEX($AA$5:$AB$22,MATCH(R10,$AA$5:$AA$22,-1),1)-R10&" Pts.","You Have Enough Pts.")
S11=IF(ISNA(INDEX($AA$5:$AB$22,MATCH(R11,$AA$5:$AA$22,0),1)),"You need "&INDEX($AA$5:$AB$22,MATCH(R11,$AA$5:$AA$22,-1),1)-R11&" Pts.","You Have Enough Pts.")
S12=IF(ISNA(INDEX($AA$5:$AB$22,MATCH(R12,$AA$5:$AA$22,0),1)),"You need "&INDEX($AA$5:$AB$22,MATCH(R12,$AA$5:$AA$22,-1),1)-R12&" Pts.","You Have Enough Pts.")
S13=IF(ISNA(INDEX($AA$5:$AB$22,MATCH(R13,$AA$5:$AA$22,0),1)),"You need "&INDEX($AA$5:$AB$22,MATCH(R13,$AA$5:$AA$22,-1),1)-R13&" Pts.","You Have Enough Pts.")
S14=IF(ISNA(INDEX($AA$5:$AB$22,MATCH(R14,$AA$5:$AA$22,0),1)),"You need "&INDEX($AA$5:$AB$22,MATCH(R14,$AA$5:$AA$22,-1),1)-R14&" Pts.","You Have Enough Pts.")
S15=IF(ISNA(INDEX($AA$5:$AB$22,MATCH(R15,$AA$5:$AA$22,0),1)),"You need "&INDEX($AA$5:$AB$22,MATCH(R15,$AA$5:$AA$22,-1),1)-R15&" Pts.","You Have Enough Pts.")
T8=INDEX($AA$5:$AB$23,MATCH(R8,$AA$5:$AA$23,-1),2)
T9=INDEX($AA$5:$AB$23,MATCH(R9,$AA$5:$AA$23,-1),2)
T10=INDEX($AA$5:$AB$23,MATCH(R10,$AA$5:$AA$23,-1),2)
T11=INDEX($AA$5:$AB$23,MATCH(R11,$AA$5:$AA$23,-1),2)
T12=INDEX($AA$5:$AB$23,MATCH(R12,$AA$5:$AA$23,-1),2)
T13=INDEX($AA$5:$AB$23,MATCH(R13,$AA$5:$AA$23,-1),2)
T14=INDEX($AA$5:$AB$22,MATCH(R14,$AA$5:$AA$22,-1),2)
T15=INDEX($AA$5:$AB$22,MATCH(R15,$AA$5:$AA$22,-1),2)
 
Last edited:
Upvote 0

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Snow,

Changed Out There Formulas..Checked It Out Works Perfect!

There are a few changes i would like to make/add but that can be dealt with another time.?

Thanks!
 
Upvote 0
Hey,

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
Select Case Target.Column
Case 22
Target.Offset(0, -4).Value = Target.Offset(0, -4).Value - Target.Value
Case 23
Target.Offset(0, -5).Value = Target.Offset(0, -5).Value + Target.Value
Case 24
Target.Offset(0, -6).Value = Target.Offset(0, -6).Value + Target.Value
Case Else
Exit Sub
End Select
End Sub

currently this code is for the whole colums of R V W X can it be tuned down to the ranges of

R8:R42 V8:V42 W8:W42 X8:X42

and every time i try and edit a multiple rows i get a "debugger" error?

Thanks!
 
Upvote 0
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
If Target.Row < 8 Or Target.Row > 42 Then Exit Sub
Select Case Target.Column
Case 22 'Column V
Target.Offset(0, -4).Value = Target.Offset(0, -4).Value - Target.Value
Case 23 'Column W
Target.Offset(0, -5).Value = Target.Offset(0, -5).Value + Target.Value
Case 24 ''Column X
Target.Offset(0, -6).Value = Target.Offset(0, -6).Value + Target.Value
Case Else
Exit Sub
End Select
End Sub
Should do it.
Column "R" shouldn't be in there, right? Wasn't part of the original.

How do you mean "edit multiple rows"? It should immediately exit if multiple cells are changed. And it should only react to user changes. As far as I'm aware you can only edit one cell at a time.
I can't replicate any error. What does the error say exactly?
 
Upvote 0
Snow,

The code isnt working its still letting the users enter numbers in columns V W X than calutlating the total in column R...beyond Row 42

How do you mean "edit multiple rows"? It should immediately exit if multiple cells are changed. And it should only react to user changes. As far as I'm aware you can only edit one cell at a time.
I can't replicate any error. What does the error say exactly?
OK nvm this error it does what you say it does..it does exit on multiple row edits..so that's fine.

Thanks!
 
Upvote 0
The code isnt working its still letting the users enter numbers in columns V W X than calutlating the total in column R...beyond Row 42

This is working now...didn't put it in the right spot.

There are a few changes i would like to make/add but that can be dealt with another time.?


Thanks!
 
Upvote 0
Hi All

Excel Workbook
NOPQR
5RankYour Points
6
7
81164
92916,483
103126,364
1141012500
125818,000
136663,000
14715200
158134,994
169116,499
1710575,000
18113198,040
19122201,004
2013476,554
2114734,531
22151295,000
2316174
2417141,232
Sheet6


i found the formula i think on the Microsfot Website

i have developed a rank system..my only problems is i need a way to pull out the highest and lowest score with the corresponding number

So with the data above i would get for the lowest score

"Player 16 has a Rank of 17 with 4 Pts"

For The Highest

"Player 15 has a Rank of 1 with 295,000 Pts"

There are 35 Player Spots 17 are Filled

Thanks!
 
Upvote 0
Try this.
Though I recommend starting a new thread for a new question. You'll get more views that way usually.

Excel Workbook
LM
26LowestPlayer 16 has a rank of 17 with 4 points
27HighestPlayer 15 has a rank of with 295000 points
Sheet1
Excel 2007
Cell Formulas
RangeFormula
M26="Player " & INDEX(N8:N42,MATCH(MAX(P8:P42),P8:P42,0),1) & " has a rank of " & INDEX(P8:P42,MATCH(MAX(P8:P42),P8:P42,0),1) & " with " & INDEX(R8:R42,MATCH(MAX(P8:P42),P8:P42,0),1)& " points"
M27="Player " & INDEX(N8:N42,MATCH(MIN(P8:P42),P8:P42,0),1) & " has a rank of " & INDEX(Q8:Q42,MATCH(MIN(P8:P42),P8:P42,0),1) & " with " & INDEX(R8:R42,MATCH(MIN(P8:P42),P8:P42,0),1)& " points"
 
Upvote 0
Snow,

Thanks That Works Nicely..

Though I recommend starting a new thread for a new question. You'll get more views that way usually.
i would have started a new thread but i thought that the question went along with the with the topic. i might have another question.. in the near future but as of now everything is perfect!

Thanks For All Your Help!

Thanks!
 
Upvote 0

Forum statistics

Threads
1,221,579
Messages
6,160,616
Members
451,658
Latest member
NghiVmexgdhh

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