Skins Game Conditional Formatting

Gulfcourse

New Member
Joined
Nov 5, 2023
Messages
32
Office Version
  1. 365
Platform
  1. Windows
I've been unsuccessful trying to figure this out using multiple resources so I'm reaching out here.
I'm trying to be make the explanation thorough and apologize if it runs on too long.
Sheet 1 has everyones scores by hole who played the last round.
The Cells with front 9 scores go from E to M, column N being the front nine hole total, O to W the back 9 scores, column X the back 9 total, and Y the round total.
Some do not play all the time so some rows will have blank cells.
Sheet 1 has an additional row for each player that tracks Stableford points so I cannot do skins on the sheet, or don't know how to, that's why I created Sheet 2.
Sheet 2 lists everyones name and in cell C4 I used =('18-hole scores'!E6) to bring the score over and continued the formula throughout the sheet.
Columns C:K are holes 1-9 and M-U are 10-18.
If it makes any diference, if someone did not play and the cells in sheet 1 are blank, the corresponding cells in sheet 2 have 0's in them.
The row of scrores in sheet 2 go from 4 to 36.
Sheet 2's values change everytime we play another round and I change the scores on Sheet 1.

On sheet 2, I'm trying to conditionally format the lowest unique score that is not a 0 in each column, if the lowest score in a column is 3, and there were 2 of them it shouldn't be formatted.
I know there was only one 4 on the 18th hole, column U, so I tried =AND(U4=MIN($U$4:$U$36),COUNTIF($U$4:$U$36,U4)=1) and it does nothing to the cell with the 4.

I added a row (37) and used =SMALL(C4:C36,COUNTIF(C4:C36,0)+1) to find the lowest score for each hole and then added =COUNTIF(C4:C36,C37) in row (38) to find how many of the lowest scores were in each column.
I thought I could possibly use a formula that would look for a 1 in row 38, and then look and highlight the cell that matched the number in 37.
Per my effort in column U mentioned above, in this case U38 has a value of 1, U37 is 4, so I tried to many things to say if U38=1 format any cell in column U that matched the value in U37.
I don't know if I cannot get things to work because of using = to bring the values over, I tried formatting the cells as General and Numbers, didn't make any difference.
So that's were I'm at, I even went to the library and worked with someone there ann came up empty so any suggestions will be much appreciated.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Welcome to the MrExcel board!

Difficult to follow well enough to set up an accurate test workbook. Are you able to make up a small sample of each sheet & post that with XL2BB with the expected results done manually and then add any extra clarification by referring directly to the sample(s)?
 
Upvote 0
Adding sheets now, thank you

PLAYERHole123456789OUT101112131415161718INGROSSHdcpNETTotal Points
PAR4434443453543444543435
Hdcp715411173913162161218810414
Bonham
PTS
Cox55345645744435446435388282
PTS11221011092212212211524
Dangerfield65345544440544546536428282
PTS012211124141121211201125
Davis
PTS
Dufour0
PTS
Edmisten54363435639545657635468585
PTS12204201113111010021720
Funari
PTS
Gosnell
PTS
Gressell56466645749634557656479696
PTS1010001104022110000610
Hobbs
PTS
Keep
PTS
Kilroy
PTS
Lincoln66366634747655557656509797
PTS002000220600111000039
Martin
PTS
Moderick
PTS
Nassar65255535642635657435448686
PTS01411121112021010221921
Nigro45444633639546567645488787
PTS21122024115110100011520
Palladino
PTS
Petro65556545748635456536439191
PTS01010111050212111201015
Phillips
PTS
Roderick44354434435535455435397474
PTS222122224191212122211433
Sepic65444635542435556534408282
PTS011220212112211111221324
Smigel
PTS
Theberge64344534740435556536428282
PTS022221220132211111201124
Wallon55255535641645545555448585
PTS11411121113011122101922
Zeman
PTS
Terry
 
Upvote 0
Prior was Sheet 1, this is Sheet 2

PLAYERHole123456789OUT101112131415161718INGROSSHdcpNET
PAR4434443453543444543435
Hdcp715411173913162161218810414
Bonham0000000000000000000
Cox553456457444354464353882082
Dangerfield653455444405445465364282082
Davis0000000000000000000
Dufour0000000000000000000
Edmisten543634356395456576354685085
Funari0000000000000000000
Gosnell00000000000000000000000
Gressell564666457496345576564796096
Hobbs0000000000000000000
Keep00000000000000000000000
Kilroy0000000000000000000
Lincoln663666347476555576565097097
Martin0000000000000000000
Moderick0000000000000000000
Nassar652555356426356574354486086
Nigro454446336395465676454887087
Palladino0000000000000000000
Petro655565457486354565364391091
Phillips0000000000000000000
Roderick443544344355354554353974074
Sepic654446355424355565344082082
Smigel0000000000000000000
Theberge643445347404355565364282082
Wallon552555356416455455554485085
Zeman00000000000000000000000
Terry0000000000000000000
Player 280000000000000000000
Player 290000000000000000000
Player 300000000000000000000
Player 310000000000000000000
Player 320000000000000000000
Player 330000000000000000000
Lowest NET44243433435434445434
Count of Lowest NET Score2325128121372332381
 
Upvote 0
Welcome to the MrExcel board!

Difficult to follow well enough to set up an accurate test workbook. Are you able to make up a small sample of each sheet & post that with XL2BB with the expected results done manually and then add any extra clarification by referring directly to the sample(s)?
Thank you, I hope I did it correctly!
 
Upvote 0
Select C4:U36 & use this formula
Excel Formula:
=AND(C4=MINIFS(C$4:C$36,C$4:C$36,">0"),COUNTIFS(C$4:C$36,C4)=1,COLUMN(C4)<>12)
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0
If you stick with the current 2-sheet approach then you may want to consider a slight change to @Fluff's conditional formatting formula in Sheet2. Suppose that you get another player called Cox and you decide to add a new column B for first names, or you decide to add a new column B for the player's membership level or date of birth etc. If you add that new column the CF will likely highlight (or not highlight) some cells incorrectly. This change should avoid that. Rather than checking that the column is not column 12, it simply checks that the value in row 1 of the column is a number, which is another way of excluding the "OUT" column in the middle of the data.

Excel Formula:
=AND(C4=MINIFS(C$4:C$36,C$4:C$36,">0"),COUNTIFS(C$4:C$36,C4)=1,-C$1)


Sheet 1 has an additional row for each player that tracks Stableford points so I cannot do skins on the sheet, or don't know how to, that's why I created Sheet 2.
If you did want to do the skins on the original sheet, a few small modifications to the above conditional formatting formula would allow that.
For the sample below select C4:U57 and apply the CF shown.

BTW, generally better to 'Mini Sheet' with XL2BB so that we can easily see columns, rows, formulas etc.

Gulfcourse.xlsm
ABCDEFGHIJKLMNOPQRSTUV
1PLAYERHole123456789OUT101112131415161718IN
2PAR4434443453543444543435
3Hdcp715411173913162161218810414
4Bonham
5PTS
6Cox5534564574443544643538
7PTS112210110922122122115
8Dangerfield6534554444054454653642
9PTS0122111241411212112011
10Davis
11PTS
12Dufour0
13PTS
14Edmisten5436343563954565763546
15PTS122042011131110100217
16Funari
17PTS
18Gosnell
19PTS
20Gressell5646664574963455765647
21PTS10100011040221100006
22Hobbs
23PTS
24Keep
25PTS
26Kilroy
27PTS
28Lincoln6636663474765555765650
29PTS00200022060011100003
30Martin
31PTS
32Moderick
33PTS
34Nassar6525553564263565743544
35PTS014111211120210102219
36Nigro4544463363954656764548
37PTS211220241151101000115
38Palladino
39PTS
40Petro6555654574863545653643
41PTS010101110502121112010
42Phillips
43PTS
44Roderick4435443443553545543539
45PTS2221222241912121222114
46Sepic6544463554243555653440
47PTS0112202121122111112213
48Smigel
49PTS
50Theberge6434453474043555653642
51PTS0222212201322111112011
52Wallon5525553564164554555544
53PTS114111211130111221019
54Zeman
55PTS
56Terry
57
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C4:U57Expression=AND(C4=MINIFS(C$4:C$57,C$4:C$57,">0",$A$4:$A$57,"<>"),COUNTIFS(C$4:C$57,C4,$A$4:$A$57,"<>")=1,-C$1,$A4<>"")textNO
 
Upvote 0
Thank you for the help, I tried the mini table but content exceeeded the range so I only put a few rows in
I would like to try seeing the skins on the oringal sheet but what was the 1st column in your formula (C4) is now D6 and goes to V59 instead of U57.
Do I simply change the C4 values to D6 and the U57 to V59 in the formula?

golf league tracker - stableford scoring sheet.xlsm
BCDEFGHIJKLMNOPQRSTUVW
3PLAYERHole123456789OUT101112131415161718IN
4PAR4434443453543444543435
5Hdcp715411173913162161218810414
6Bonham  
7PTS                    
8Cox5534564574443544643538
9PTS112210110922122122115
10Dangerfield6534554444054454653642
11PTS0122111241411212112011
12Davis  
13PTS                    
14Dufour0  
15PTS                    
16Edmisten5436343563954565763546
17PTS122042011131110100217
18Funari  
19PTS                    
20Gosnell  
21PTS                    
22Gressell5646664574963455765647
23PTS10100011040221100006
18-hole scores
Cell Formulas
RangeFormula
M4,W4M4=SUM(D4:L4)
D7:L7,D23:L23,N23:V23,N21:V21,D21:L21,N19:V19,D19:L19,N17:V17,D17:I17,K17:L17,N15:V15,D15:L15,N13:V13,D13:L13,N11:V11,D11:L11,N9:V9,D9:L9,N7:V7D7=IF(D6>0, VLOOKUP(D6-D$4-(INT($Y6/18)+(MOD($Y6,18)>=D$5)), 'Point System'!$A$4:$B$15, 2),"")
J17J17=SUM('18-hole scores'!L32)
M6,M8,M10,M12,M14,M16,M18,M20,M22,W6,W8,W10,W12,W14,W16,W18,W20,W22M6=IF(SUM(D6:L6)>0, SUM(D6:L6),"")
M7,M9,M11,M13,M15,M17,M19,M21,M23,W23,W7,W9,W11,W13,W15,W17,W19,W21M7=IF(SUM(D6:L6)>0, SUM(D7:L7),"")
 
Upvote 0

Forum statistics

Threads
1,223,954
Messages
6,175,601
Members
452,658
Latest member
GStorm

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