Handicap Score Differentials up to 20 scores

andycap

New Member
Joined
Feb 24, 2021
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have a very nice and detailed Excel database I use for our golf league. In case a golfer sees this, we use the Stableford "points" system rather than "strokes".

Up until now we have kept our averaging simple by only averaging the best 8 scores out of 20. For golfers with less than 8 scores then those scores were used for the average and then the Best 8 kicked in after the 9th round. Now we have to align with the 2020 USGA Handicap Index and therefore there will be different averages and adjustments based on the number of rounds. I've attached an image that showing a chart. The LEFT side of the chart is the USGA chart and then I added the RIGHT side and converted it to points using our points system for our requirements. FYI, this forum provided me the below formula and rule for conditional formatting and that's why I'm back here! :) Thanks, @Fluff

Currently this is the formula used for averaging the Best 8 out of 20 scores:
=IFERROR(AVERAGE(LARGE($H69:$AA69,SEQUENCE(MIN(8,COUNTIFS($H69:$AA69,">0"))))),0)

I also use Conditional Formatting to highlight the Best 8 scores that are used for the average.
=RANK(H69,$H69:$AA69)+COUNTIFS($H69:H69,H69)-1<=8
Going forward I would need this to adjust as the number of rounds increases and which scores are being used for averaging and, if possible, a way of showing the adjustment.

Looking at the RIGHT side of the chart you can see that for rounds 2 thru 20 there is specific averaging and adjustments after each round. The first round is fixed and doesn't need to be part of the formula. I have no idea how to go about writing a formula to address 20 different averages and adjustments.

The other image is of the sheet used for what we call our "Quotas".

Is this possible?

Thank you,
Andy
 

Attachments

  • usga first 20 scores.png
    usga first 20 scores.png
    34.2 KB · Views: 105
  • Sunday, Quotas, Aug 8, 2021.png
    Sunday, Quotas, Aug 8, 2021.png
    203.4 KB · Views: 112
If you just want to keep adding scores to the right:

Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAH
1Combined Men's League's ScoresMost Recent "Adjusted Gross Scores" Provided from Golf Genius
2Handle 18 hole IndexRound CountScores Used# GamesScores UsedIndex AdjustmentAverage Score12345678910111213141516171819202122232425
3Golfer 11.5196724211435.535364038
4Golfer 219.896723221441404244
5Golfer 328.9909825832442.37532474344384541424344454647484949484746454443424440
6422
7522
8622
9720
10820
11930
121030
131130
141240
151340
161440
171550
181650
191760
201860
211970
222080
Sheet16
Cell Formulas
RangeFormula
B3:B5B3=2*(113/61)*(H3-34.55)-VLOOKUP(C3,$E$3:$G$22,3)
C3:C5C3=COUNT(I3:ZZ3)
D3:D5D3=VLOOKUP(C3,$E$3:$F$22,2)
H3:H5H3=AVERAGE(SMALL(INDEX(3:3,MAX(0,C3-20)+COLUMN(I3)):ZZ3,SEQUENCE(D3)))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
I3:ZZ10Expression=I3/(I3>0)/(COLUMNS($I3:I3)>$C3-20)+COLUMN(I:I)/1000<=AGGREGATE(15,6,($I3:$AZ3+COLUMN($I3:$AZ3)/1000)/($I3:$AZ3<>"")/(COLUMN($I3:$AZ3)-COLUMN($I3)+1>$C3-20),$D3)textNO


Only the H3 formula on the sheet changed. The Conditional Formatting formula was quite tricky to figure out though.
 
Upvote 0

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
On the Conditional Formatting formula, you should change the rightmost column from AZ to ZZ to match the H3 formula. I changed it while testing and forgot to change it back.
 
Upvote 0
On the Conditional Formatting formula, you should change the rightmost column from AZ to ZZ to match the H3 formula. I changed it while testing and forgot to change it back.
Sorry I tried am not sure what you mean? For this step
 
Upvote 0
Sorry I tried am not sure what you mean? For this step
I should have read that before I sent. I don't understand what you mean by changing the "rightmost column from AZ to ZZ to match the H3 formula.", I have tried and it doesn't seem to work for me. Thanks for all of your help.
 
Upvote 0
I just meant that the H3 formula has a rightmost column of ZZ:

=AVERAGE(SMALL(INDEX(3:3,MAX(0,C3-20)+COLUMN(I3)):ZZ3,SEQUENCE(D3)))

and the CF formula has a rightmost column of AZ:

=I3/(I3>0)/(COLUMNS($I3:I3)>$C3-20)+COLUMN(I:I)/1000<=AGGREGATE(15,6,($I3:$AZ3+COLUMN($I3:$AZ3)/1000)/($I3:$AZ3<>"")/(COLUMN($I3:$AZ3)-COLUMN($I3)+1>$C3-20),$D3)

They both work, but the CF formula will only work for an additional 25 columns (scores), while the H3 formula is good for about 700 more.
 
Upvote 0
I just meant that the H3 formula has a rightmost column of ZZ:

=AVERAGE(SMALL(INDEX(3:3,MAX(0,C3-20)+COLUMN(I3)):ZZ3,SEQUENCE(D3)))

and the CF formula has a rightmost column of AZ:

=I3/(I3>0)/(COLUMNS($I3:I3)>$C3-20)+COLUMN(I:I)/1000<=AGGREGATE(15,6,($I3:$AZ3+COLUMN($I3:$AZ3)/1000)/($I3:$AZ3<>"")/(COLUMN($I3:$AZ3)-COLUMN($I3)+1>$C3-20),$D3)

They both work, but the CF formula will only work for an additional 25 columns (scores), while the H3 formula is good for about 700 more.
So I should change the CF formula from the AZ3 to ZZ3 if I would like to continue past 25 spots. Thats great.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,259
Members
452,626
Latest member
huntinghunter

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