SuperBowl Squares Automation

cpadilla0024

New Member
Joined
Jan 4, 2021
Messages
8
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hey everyone,

Just trying to save time if possible when creating pages for my players. I have been trying to work on a button that generates/saves a PDF for each player/group in my pool (Superbowl_PlayerNames.pdf). Groups would be because they are a couple. The table is formatted to highlight their squares based on the names in the highlighted section off to the left (#1). #2 is where my player list is stored and I created a "Save" column to note how the grouping goes. If there are two players with the same number here, they are sharing a sheet. The odd part here for me too is getting the shared names in the appropriate boxes in #1 so the highlights on the actual table happen.

Any help I can get would be really appreciated and a huge timesaver instead of saving one by one.

#1

2021 Superbowl Squares1.xlsm
ABCDEFGHIJKLMNOPQRST
1HOME
2AWAYHOME
3
4Qtr 1Quarter 1:-
5Qtr 2Quarter 2:-
6AWAYQtr 3Quarter 3:-
7FinalFINAL:-
8VinceBernieHollieAngelChauncyWillTeezyJoeyRiqRyan
9ChauncyStaceRubenTheaJoshT BoneAngelNate CMattVince
10Mike VLinda WuRobbieKathyWinnieBrianHollieMonicaWillJoey
11T BoneTravNate CRobbieJuanRubenLorenzoJoshChauncyTeezy
12KathyBrianJoeyWillRobbieMike VMattRiqTheaJosh
13JuanTeezyT BoneRyanVinceCarlosTheresaBernieNate CWill
14RiqJoshTheaHenryJoeAngelCarlosJoshRubenStace
15WinnieWillAngelRubenJoeyNate CWillCarlosT BoneTheresa
16TravNate CWillTravJoshRiqLinda WuBrianAngelVince
17VinceTravMattLorenzoMike VTravTravT BoneHenryRyan
18
19Price/Square:$ 10Total Payout/Qtr:$ 250
20
21#1Payouts are for Quarters 1-3 and Final scores.Direct with 2 neighbors:$ 190per Qtr
22#2New set of numbers per quarter (see above).Direct with 3 neighbors:$ 160per Qtr
23#3Payout structure pays direct and top, bottom, left, and right neighbors. No diagonal neighbors are paid.Direct with 4 neighbors:$ 130per Qtr
24Neighbors:$ 30each per Qtr
Squares
Cell Formulas
RangeFormula
D1D1=+IF(T2="","",T2)
R2R2=+IF('Player List'!C2="",'Player List'!B2,'Player List'!C2)
T2T2=+IF('Player List'!C3="",'Player List'!B3,'Player List'!C3)
A6A6=+IF(R2="","",R2)
H19H19=+'Player List'!C5
M19M19=+('Player List'!C5*100)/4
M21M21=+$M$19-($M$24*2)
M22M22=+$M$19-($M$24*3)
M23M23=+$M$19-($M$24*4)
M24M24=+'Player List'!C5*3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F8:O17Expression=COUNTIFS($T$14:$T$16,F8)>0textNO
E8:E17Cell ValueduplicatestextNO
D8:D17Cell ValueduplicatestextNO
C8:C17Cell ValueduplicatestextNO
B8:B17Cell ValueduplicatestextNO
F7:O7Cell ValueduplicatestextNO
F6:O6Cell ValueduplicatestextNO
F5:O5Cell ValueduplicatestextNO
F4:O4Cell ValueduplicatestextNO
Cells with Data Validation
CellAllowCriteria
T14:T16List=PlayerNames
F8:O17List=PlayerNames


#2

2021 Superbowl Squares1.xlsm
BCDEFGHIJ
7ENTERENTERENTERENTER
8Player Name# of Squares% of Total SquaresAmount OwedAmount PaidFully Paid?Pay MethodSquare CheckSave
9Ryan33%3030Yes Venmo GOOD 1
10Brian33%3030Yes Venmo GOOD 2
11Vince55%5050Yes PayPal GOOD 3
12Carlos33%3030Yes Bank GOOD 4
13Nate C55%5050Yes PayPal GOOD 5
14Josh66%6060Yes Venmo GOOD 6
15Angel55%5050Yes Venmo GOOD 7
16Will77%7070Yes Venmo GOOD 7
17Linda Wu22%2020Yes PayPal GOOD 8
18Ruben44%4040Yes Venmo GOOD 9
19Lorenzo22%2020Yes PayPal GOOD 10
20Chauncy11%1010Yes PayPal GOOD 11
21Thea33%3030Yes PayPal GOOD 12
22Juan22%2020Yes Venmo GOOD 13
23Theresa22%2020Yes Venmo GOOD 13
24Joe11%1010Yes Venmo GOOD 14
25Monica11%1010Yes Venmo GOOD 14
26Mike V33%3030Yes Venmo GOOD 15
27Kathy22%2020Yes Bank GOOD 16
28T Bone55%5050Yes Bank GOOD 17
29Joey44%4040Yes Venmo GOOD 18
30Bernie22%2020Yes Venmo GOOD 19
31Riq44%4040Yes Venmo GOOD 20
32Henry22%2020Yes Venmo GOOD 21
33Hollie22%2020Yes Venmo GOOD 21
34Winnie22%2020Yes Venmo GOOD 22
35Matt33%3030Yes Venmo GOOD 23
36Stace22%2020Yes Venmo GOOD 24
37Chauncy22%2020Yes Bank GOOD 11
38Trav66%6060Yes Bank GOOD 25
39Teezy33%3030Yes Venmo GOOD 26
40Robbie33%3030Yes PayPal GOOD 27
Player List
Cell Formulas
RangeFormula
D9:D40D9=+C9/100
E9:E40E9=+C9*$C$5
G9:G40G9=+IF(E9=F9,"Yes","No")
I9:I40I9=+IF([@[Player Name]]="","",IF(SUMIFS(['# of Squares],[Player Name],[@[Player Name]])=COUNTIF(PlayersSquare,[@[Player Name]]),"GOOD","BAD"))
Named Ranges
NameRefers ToCells
PlayerNames=PlayerTable[Player Name]I9:I40
PlayersSquare=Squares!$F$8:$O$17I9:I40
Cells with Conditional Formatting
CellConditionCell FormatStop If True
I9:I40Cell Value="BAD"textNO
G9:G40Cell Value<>"Yes"textNO
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,214,626
Messages
6,120,602
Members
448,974
Latest member
ChristineC

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