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

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hey, I running into the tie issue now with the new formula. I believe it may be due to excel converting the numbers in column X to UPC (12 digits) when doing the conversion/formula in column Y. So since the first 12 digits match, it's showing them as a TIE. Any ideas how to correct this?

Here's the sample data:
1696003234134.png

1696003270712.png


Row 36:
X formula: =BYROW(FILTER(C4:W63,D4:D63<>""),LAMBDA(br,CONCAT(CHOOSECOLS(SORTBY(TEXT(br,"000"),C2:W2),-1,SEQUENCE(,18)))))
X value: 073003004004005003004004004004004004004005005003003004006
Y formula: =IFERROR(XMATCH(X36,SORT(X$4#))+COUNTIFS(X$4:X36,X36)-1,"")
Y value: 32
Expected Y value: 33

Row 60:
X formula: =BYROW(FILTER(C4:W63,D4:D63<>""),LAMBDA(br,CONCAT(CHOOSECOLS(SORTBY(TEXT(br,"000"),C2:W2),-1,SEQUENCE(,18)))))
X value: 073003004004005003003004004004005004003005005003004005005
Y formula: =IFERROR(XMATCH(X60,SORT(X$4#))+COUNTIFS(X$4:X60,X60)-1,"")
Y value: 32
Expected Y value: 32

Since the score on hole 12 ( 6 hdcp) is 3 on row 60 and 4 on row 36, row 60 would be the lower place (32) and row 36 would be 33.
 
Upvote 0
Here's a condensed version of the data to make it easier:
1696006791899.png


Formula's:
RowFormula
X=BYROW(FILTER(C4:W6,D4:D6<>""),LAMBDA(brt,CONCAT(CHOOSECOLS(SORTBY(TEXT(brt,"000"),C2:W2),-1,SEQUENCE(,18)),ROW())))
Y=IFERROR(XMATCH(X4,SORT(X$4#))+COUNTIFS(X$4:X4,X4)-1,"")
Z=BYROW(X4#,LAMBDA(br,SUM(--(br>X4#))))+1
 
Upvote 0
Try
Excel Formula:
=XMATCH(X4,SORT(X$4#))+ROWS(FILTER(X$4:X4,X$4:X4=X4))-1
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,970
Members
449,095
Latest member
Mr Hughes

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