Golf Tournament Score Card Ranking

golfer22

New Member
Joined
Aug 16, 2023
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Needing assistance with calculating the ranking for golf scores bases on total score, and then each hole based on the hole handicap.

Here's the current data I'm working with (ignore the highlighted cells):
1692207854090.png


In column W, the lowest score will be ranked 1, so with row 6 being 59, it get's 1. Since rows 4 and 5 are both 65, the ranking is determined by the handicap of the hardest hole, which is hole 9 (row K), then hole 18 (row U), etc. If the values in row W are equal, then check row 9 and if the value is lower, it should get rank 2, etc.

I am using the rank.eq with countifs function, and because row 5 has a lower value in both K and U, it's adding 1 each time so the rank of row 4 is 4 instead of 3. Wanting to only add row 18 if row 9 is the same (if that makes sense).

Any help is much appreciated.

Here's the current formula I'm using (will obviously need to add all 18 holes):
=RANK.EQ($W4,$W$4:$W$6,1)+COUNTIFS($W$4:$W$6,$W4,$K$4:$K$6,"<"&$K4)+COUNTIFS($W$4:$W$6,$W4,$U$4:$U$6,"<"&$U4)
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi & welcome to MrExcel.
How about
Fluff.xlsm
CDEFGHIJKLMNOPQRSTUVWXY
1
2173511913157118461210141682
3
4443434345344433333353165650505040403030403030304030403030304043
5542435234324324643343365650404040302020303030604040504020305042
6333344333293424343493665650309030403020304040303040404030303031
7543445343355434453433570700303040403030404040404040505030305055
8443445343344434453433468680303040403030404040404040505030304044
Master
Cell Formulas
RangeFormula
L4:L8,V4:V8V4=SUM(M4:U4)
W4:W8W4=SUM(V4,L4)
X4:X8X4=BYROW(C4:W8,LAMBDA(br,CONCAT(CHOOSECOLS(SORTBY(TEXT(br,"00"),C2:W2),-1,SEQUENCE(,18)))))
Y4:Y8Y4=BYROW(X4#,LAMBDA(br,SUM(--(br>X4#))))+1
Dynamic array formulas.
 
Upvote 0
Realised that won't work is someone scores over 100 try this instead
Fluff.xlsm
CDEFGHIJKLMNOPQRSTUVWXY
1
2173511913157118461210141682
3
44434343453444333333531650650050050040040030030040030030030040030040030030030040043
55424352343243246433433650650040040040030020020030030030060040040050040020030050042
63333443332934243434330590590030030030040030020030040040030030040040040030030030031
75434453433554344534335700700030030040040030030040040040040040040050050030030050055
84434453433444344534334680680030030040040030030040040040040040040050050030030040044
Master
Cell Formulas
RangeFormula
L4:L8,V4:V8V4=SUM(M4:U4)
W4:W8W4=SUM(V4,L4)
X4:X8X4=BYROW(C4:W8,LAMBDA(br,CONCAT(CHOOSECOLS(SORTBY(TEXT(br,"000"),C2:W2),-1,SEQUENCE(,18)))))
Y4:Y8Y4=BYROW(X4#,LAMBDA(br,SUM(--(br>X4#))))+1
Dynamic array formulas.
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0
Hey, me again. I've added a 2nd sheet, as the tournament spans 2 days. The formula above works great for day 1, when I do the same/similar formula for day 2, it does not calculate how I want/am expecting.

Here's the day 2 data (column AC is the expected results)
1692381769728.png


For rows 4 and 5, since L4 and L5 are the same value, and V4 and V5 are the same value, the ranking should then go off of row E, and since E4 is Less Than E5, row 4 should be 5 instead of 6.

for Day 2, I want the ranking to go off the Total (column Z) and then any ties go off of the hdcp D2 - V2.

Here's the formulas
AA: =BYROW(D4:Z9,LAMBDA(br,CONCAT(CHOOSECOLS(SORTBY(TEXT(br,"000"),D2:V2),-1,SEQUENCE(,18)))))
AB: =BYROW(AA4#,LAMBDA(br,SUM(--(br>AA4#))))+1
 
Upvote 0
But row 4 is 5 not 6
? in AB, row 4 is 6, row 5 is 5. It should be row 4 is 5, row 5 is 6.

for both rows 4 and 5, the total (Z) is the same, 139. So we go off of handicup, which is the lowest value by hdcp hole (in order L,V,E,O,F,P,K,U,H,R,G,Q,I,S,J,T,D,N).

Since the value in L4 and L5 is 4, then look at the value in V4 and V5, since that is 4, go to E4 and E5. Since E4 is less than E5, row 4 should be rank 5, row 5 rank 6.

Hopefully that makes sense
 
Upvote 0
Oops, I was looking at the wrong column.
The formula should be
Excel Formula:
=BYROW(D4:X9,LAMBDA(br,CONCAT(CHOOSECOLS(SORTBY(TEXT(br,"000"),D2:X2),-1,SEQUENCE(,18)))))
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,175
Members
452,615
Latest member
bogeys2birdies

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