Need help returning average of top 3 scores from most recent 5 at a moment in time

tommytolles

New Member
Joined
Apr 17, 2019
Messages
3
Hi everyone. First post here and I need some help. I'm setting up a scoring sheet for a golf course that needs to calculate what we call a "quota". Your quota is an average of your top 3 scores from your 5 most recently played.

I have the easy stuff done. A player's score is entered into a table (Player, Date, Score) for which I have created a Pivot table displaying all players' scores chronologically.


Player Scores
<style type="text/css"><!--br {mso-data-placement:same-cell;}--></style>
ABCDEFGHIJK
1Player1/11/21/31/41/54/74/134/144/15
2Allen, B (Gold)81061199
3Banda, J (White)2717
4Brearly, C (White)3738
5Brewinger, R (White)282725282827
6Bridges, B (White)20

<colgroup><col style="width: 35px"><col width="159"><col width="22"><col width="36"><col width="36"><col width="36"><col width="36"><col width="36"><col width="36"><col width="36"><col width="36"><col width="36"></colgroup><tbody>
</tbody>

I want to have another table that mirrors this one (called Quota Calculation) - and that table will show their quota on each date there are matches played. Calculating a current quota (average best 3 of the 5 most recently played matches) is simple. But I can't figure out the formula that would appear in K5 of the mirrored version of this table (showing quota calculations), for instance. That calculation would start from J5, moving left, and would need to find the best 3 scores from the first 5 it encounters, skipping blanks - and averaging those 3.

Again, the difference here is that these quota calculations will never change as new player scores are entered, because it is only calculating quotas at that moment in time. It gets tricky because of the random empty cells you will be skipping over, so I'm sure it's some sort of Array formula but I'm not smart enough to figure it out haha.

Hope I explained this adequately and someone is able to help. Thanks in advance!


<style type="text/css"><!--br {mso-data-placement:same-cell;}--></style>
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
My bad. The dates in Row 1 are white and the table should instead look like this:

Player Scores
ABCDEFGHIJK
1Player1/11/21/31/41/54/74/134/144/15
2Allen, B (Gold)81061199
3Banda, J (White)2717
4Brearly, C (White)3738
5Brewinger, R (White)282725282827
6Bridges, B (White)20

<tbody>
</tbody>
 
Upvote 0
Maybe something like this. I assume that the best 3 scores are the lowest scores. If your quota is based on the higher numbers then use the formula in cell N2.
Not sure what you wanted if less than 5 scores.
These are array formulas and must be entered with CTRL-SHIFT-ENTER. Then drag down as needed.
Excel Workbook
ABCDEFGHIJKLMN
1Player1-Jan2-Jan3-Jan4-Jan5-Jan7-Apr13-Apr14-Apr15-AprAverage
2Allen, B (Gold)810611998.0010.00
3Banda, J (White)2717Less than 5 scoresLess than 5 scores
4Brearly, C (White)3738Less than 5 scoresLess than 5 scores
5Brewinger, R (White)28272528282726.3327.67
6Bridges, B (White)20Less than 5 scoresLess than 5 scores
Sheet
 
Upvote 0
You're welcome. Thanks for the feedback and welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,214,636
Messages
6,120,664
Members
448,976
Latest member
sweeberry

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