VinceF
Board Regular
- Joined
- Sep 22, 2007
- Messages
- 199
- Office Version
- 2016
- Platform
- Windows
Greetings...Another tough one at least for me.
This is a Golf game and it'll track winnings or losses for 40 rounds.
I have a workbook with several sheets. Only two of them come into play with this situation, "MAIN" & "WIN".
On the "MAIN" sheet I think I'd need a command button or active x (not sure) that triggers which column to copy and paste values on the "WIN" sheet.
On the MAIN sheet in cell AA3 will be a number between 1 and 40 representing which round is being played. This number in cell MAIN AA3 will dictate which column on the WIN sheet to copy and paste values.
On the WIN sheet #1 from the MAIN sheet (cell AA3) corresponds to column E, #2 corresponds to column F and so on until #40 corresponds to column AR
By copying and pasting the values it locks in the numbers in that column so when I save and close the workbook I don't lose those values going into the next round.
You'll see that in this example that the WIN sheet shows Round#5 in cell (WIN B4) was played and the button from the MAIN sheet would execute the copy and paste function in cells I2:I144
Thanks for your time and expertise...
VinceF
Excel 2016
This is a Golf game and it'll track winnings or losses for 40 rounds.
I have a workbook with several sheets. Only two of them come into play with this situation, "MAIN" & "WIN".
On the "MAIN" sheet I think I'd need a command button or active x (not sure) that triggers which column to copy and paste values on the "WIN" sheet.
On the MAIN sheet in cell AA3 will be a number between 1 and 40 representing which round is being played. This number in cell MAIN AA3 will dictate which column on the WIN sheet to copy and paste values.
On the WIN sheet #1 from the MAIN sheet (cell AA3) corresponds to column E, #2 corresponds to column F and so on until #40 corresponds to column AR
By copying and pasting the values it locks in the numbers in that column so when I save and close the workbook I don't lose those values going into the next round.
You'll see that in this example that the WIN sheet shows Round#5 in cell (WIN B4) was played and the button from the MAIN sheet would execute the copy and paste function in cells I2:I144
Thanks for your time and expertise...
VinceF
Excel 2016
1-16 test INDIANWOOD QUOTA - SKINS.xlsm | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | |||
1 | x | x | x | |||||||||||||
2 | RETURN TO MAIN PAGE | ENTRY FEE | $60 | |||||||||||||
3 | ROUND # | TOP MONEY WINNER | GAME TYPE | Q & S | ||||||||||||
4 | 5 | ADAM PIOCH | ||||||||||||||
5 | TODAY | PLAYER | YEAR TO DATE | |||||||||||||
6 | WON/LOST | EARNINGS | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ||||
7 | $10 | STAFF | $10 | $10 | ||||||||||||
8 | ADAM ALTMAN | |||||||||||||||
9 | $95 | ADAM PIOCH | $35 | $35 | ||||||||||||
10 | ALLEN PRAET | |||||||||||||||
11 | $55 | ANTHONY STEFANI | -$5 | -$5 | ||||||||||||
12 | AUSTIN ROMZEK | |||||||||||||||
13 | $20 | BILL KNIGHT | -$40 | -$40 | ||||||||||||
14 | BILLY UHL | |||||||||||||||
15 | BRANDON LESKE | |||||||||||||||
16 | BRIAN KNOX | |||||||||||||||
Win |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E2:N2 | E2 | =IF($B$4<>E$6,"",IF($B$4=E$6,SUM(Main!$D$3:$F$3))) |
E3:N3 | E3 | =IF($B$4<>E$6,"",IF(AND($B$4=E$6,Main!$C$3="QUOTA & SKINS"),"Q & S", IF(AND($B$4=E$6,Main!$C$3="QUOTA"),"QUOTA", IF(AND($B$4=E$6,Main!$C$3="SKINS"),"SKINS")))) |
B4 | B4 | =Main!$AA$3 |
C4 | C4 | ='Top 10'!F8 |
B7 | B7 | =Main!$L$6 |
D7 | D7 | =SUM(E7:AQ7) |
E7:N7 | E7 | =IF($B$4<>E$6,"",IF($B$4=E$6,Main!$L$6)) |
J8:J16 | J8 | =IFERROR(IF($B$4<>$J$6,"",IF($B$4=$J$6,INDEX(Main!$E$11:$E$50,MATCH(C8,Main!$G$11:$G$50,0))))-$J$2,"") |
K8:K16 | K8 | =IFERROR(IF($B$4<>$K$6,"",IF($B$4=$K$6,INDEX(Main!$E$11:$E$50,MATCH(C8,Main!$G$11:$G$50,0))))-$K$2,"") |
L8:L16 | L8 | =IFERROR(IF($B$4<>$L$6,"",IF($B$4=$L$6,INDEX(Main!$E$11:$E$50,MATCH(C8,Main!$G$11:$G$50,0))))-$L$2,"") |
M8:M16 | M8 | =IFERROR(IF($B$4<>$M$6,"",IF($B$4=$M$6,INDEX(Main!$E$11:$E$50,MATCH(C8,Main!$G$11:$G$50,0))))-$M$2,"") |
N8:N16 | N8 | =IFERROR(IF($B$4<>$N$6,"",IF($B$4=$N$6,INDEX(Main!$E$11:$E$50,MATCH(C8,Main!$G$11:$G$50,0))))-$N$2,"") |
B8:B16 | B8 | =IFERROR(INDEX(Main!$E$11:$E$50,MATCH(C8,Main!$G$11:$G$50,0)),"") |
C8:C16 | C8 | =IFERROR(INDEX('Player Quota History'!$D$5:$D$141,MATCH('Player Quota History'!D5,'Player Quota History'!$D$5:$D$141,0)),"") |
D8:D16 | D8 | =IF(SUM(E8:AQ8)=0,"",SUM(E8:AQ8)) |
E8:E16 | E8 | =IFERROR(IF($B$4<>$E$6,"",IF($B$4=$E$6,INDEX(Main!$E$11:$E$50,MATCH(C8,Main!$G$11:$G$50,0))))-$E$2,"") |
F8:F16 | F8 | =IFERROR(IF($B$4<>$F$6,"",IF($B$4=$F$6,INDEX(Main!$E$11:$E$50,MATCH(C8,Main!$G$11:$G$50,0))))-$F$2,"") |
G8:G16 | G8 | =IFERROR(IF($B$4<>$G$6,"",IF($B$4=$G$6,INDEX(Main!$E$11:$E$50,MATCH(C8,Main!$G$11:$G$50,0))))-$G$2,"") |
H14:H16,H8:H12 | H8 | =IFERROR(IF($B$4<>$H$6,"",IF($B$4=$H$6,INDEX(Main!$E$11:$E$50,MATCH(C8,Main!$G$11:$G$50,0))))-$H$2,"") |
I11:I16,I8:I9 | I8 | =IFERROR(IF($B$4<>$I$6,"",IF($B$4=$I$6,INDEX(Main!$E$11:$E$50,MATCH(C8,Main!$G$11:$G$50,0))))-$I$2,"") |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
E8:E144 | Expression | =AND(ISNUMBER(B8),$B$4=1) | text | NO |
E7 | Expression | =AND(ISNUMBER(B7),$B$4=1) | text | NO |
E6 | Expression | =$B$4=1 | text | NO |
G8:G144 | Expression | =AND(ISNUMBER(B8),$B$4=3) | text | NO |
G7 | Expression | =AND(ISNUMBER(B7),$B$4=3) | text | NO |
G6 | Expression | =$B$4=3 | text | NO |
F8:F144 | Expression | =AND(ISNUMBER(B8),$B$4=2) | text | NO |
F7 | Expression | =AND(ISNUMBER(B7),$B$4=2) | text | NO |
F6 | Expression | =$B$4=2 | text | NO |
N8:N144 | Expression | =AND(ISNUMBER(B8),$B$4=10) | text | NO |
N7 | Expression | =AND(ISNUMBER(B7),$B$4=10) | text | NO |
M8:M144 | Expression | =AND(ISNUMBER(B8),$B$4=9) | text | NO |
M7 | Expression | =AND(ISNUMBER(B7),$B$4=9) | text | NO |
L8:L144 | Expression | =AND(ISNUMBER(B8),$B$4=8) | text | NO |
L7 | Expression | =AND(ISNUMBER(B7),$B$4=8) | text | NO |
K8:K144 | Expression | =AND(ISNUMBER(B8),$B$4=7) | text | NO |
K7 | Expression | =AND(ISNUMBER(B7),$B$4=7) | text | NO |
J8:J144 | Expression | =AND(ISNUMBER(B8),$B$4=6) | text | NO |
J7 | Expression | =AND(ISNUMBER(B7),$B$4=6) | text | NO |
I8:I144 | Expression | =AND(ISNUMBER(B8),$B$4=5) | text | NO |
I7 | Expression | =AND(ISNUMBER(B7),$B$4=5) | text | NO |
H8:H144 | Expression | =AND(ISNUMBER(B8),$B$4=4) | text | NO |
H7 | Expression | =AND(ISNUMBER(B7),$B$4=4) | text | NO |
N6 | Expression | =$B$4=10 | text | NO |
M6 | Expression | =$B$4=9 | text | NO |
L6 | Expression | =$B$4=8 | text | NO |
K6 | Expression | =$B$4=7 | text | NO |
J6 | Expression | =$B$4=6 | text | NO |
I6 | Expression | =$B$4=5 | text | NO |
D8:D144 | Expression | =ISNUMBER($B8) | text | NO |
D7 | Cell Value | >-1 | text | NO |
D7 | Expression | =ISNUMBER($B7) | text | NO |
C7 | Cell Value | >=0 | text | NO |
B7 | Cell Value | >=0 | text | NO |
C8:C144 | Expression | =ISNUMBER(B8) | text | NO |
B8:B144 | Expression | =ISNUMBER(B8) | text | NO |
H6 | Expression | =$B$4=4 | text | NO |