Help with a Golf Scoring Average Sheet

jtc19

New Member
Joined
Feb 12, 2025
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I am a golf coach and am currently trying to create a spreadsheet for logging and averaging the scores of my players after every qualifying round. On our team we take the lowest 4 scores out of a players 5 most recent qualifying rounds. The issue is... not every player will qualify on the same day, some players may qualify on Wednesday while others play on Friday...

Currently my formula is not giving me the correct result. For Test Player A the result is correct. Scores of 70, 80, 60 and 72 are taken while the high score of 80 is thrown out. Resulting in an average of 70.5. HOWEVER, Player B is not currently correct. The scores that should be counted are 72, 68, 76 and 75. Resulting in an average of 72.75. As you can see this is not the case.

Can anyone see where I'm making a mistake or help me remedy this?

1739374699005.png



I have posted my current formula below:

=LET(Length,MATCH(FALSE,ISBLANK(C2:AAA2)),Scores,INDIRECT(CONCAT(ADDRESS(ROW(), COLUMN()+1,4,1),":",ADDRESS(ROW(),COLUMN()+Length,4,1))), FilledScores, FILTER(Scores, NOT(ISBLANK(Scores))), FinalScores, DROP(SORT(DROP(FilledScores, 0, (COUNT(FilledScores)-5)), 1, -1, TRUE), 0, 1), AVERAGE(FinalScores))



THANKS
 

Attachments

  • 1739374353372.png
    1739374353372.png
    38.2 KB · Views: 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=AVERAGE(TAKE(SORT(TAKE(TOCOL(C2:K2,1),-5)),4))
 
Upvote 0
T
Hi & welcome to MrExcel.
How about
Excel Formula:
=AVERAGE(TAKE(SORT(TAKE(TOCOL(C2:K2,1),-5)),4))
Firstly thank you!

The formula you provided worked for great for the scores I currently had in. However, when I added a new date and score it did not seem to update correctly. I added a new date of "Feb 11" and a hypothetical score of "80" into Player B's row. The 5 most recent scores would now be: 80, 72, 80, 68, 76. Meaning one of the 80's would need to be thrown out and one of them should be counted. As you can see the average stayed the same. Very tricky....

1739376056781.png
 
Upvote 0
You can just expand the range like
Excel Formula:
=AVERAGE(TAKE(SORT(TAKE(TOCOL(C2:Z2,1),-5)),4))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,226,771
Messages
6,192,918
Members
453,766
Latest member
Gskier

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