Average of highest 3 numbers

chrisj2812

New Member
Joined
Apr 5, 2020
Messages
12
Office Version
  1. 2019
Hi,

I have a vertical data set and want to find the average of the top 3 numbers (Speed Ratings) for each variable (horse), I know how to do this when the number range is horizontal, but the vertical layout is confusing me. If someone could point me in the right direction I'd be most grateful.

Many Thanks

Chris
 

Attachments

  • Screenshot 2022-09-05 105354.jpg
    Screenshot 2022-09-05 105354.jpg
    65.7 KB · Views: 17

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I know how to do this when the number range is horizontal,
cant you just change the range to vertical ?
whats the formula

how about
=AVERAGE(LARGE(AV2:AV100,{1,2,3}))

change range to match you data

data-ETAF.xlsx
ABCD
1
218.33333333
32
43
54
65
76
81
91
109
1118.33333333
1210
131
Sheet1
Cell Formulas
RangeFormula
D2D2=AVERAGE(LARGE(B2:B13,{1,2,3}))
D11D11=AVERAGE(B7,B10,B12)
 
Upvote 0
Try this since it looks like you have a formal table structure. In your version you may possibly need to confirm formula with Ctrl+Shift+Enter

22 09 05.xlsm
LMN
1HorseSpeed RtgAvgSR
2Horse 15378
3Horse 18678
4Horse 14278
5Horse 16078
6Horse 17978
7Horse 16378
8Horse 16978
9Horse 16078
10Horse 25061
11Horse 24861
12Horse 24761
13Horse 27161
14Horse 26261
Avg Top 3
Cell Formulas
RangeFormula
N2:N14N2=AVERAGE(LARGE(IF([Horse]=[@Horse],[Speed Rtg]),{1,2,3}))
 
Upvote 0
Solution
Another option, that shouldn't need Ctrl Shift Enter
Excel Formula:
=AVERAGE(AGGREGATE(14,6,$AV$2:$AV$100/($L$2:$L$100=L2),{1,2,3}))
 
Upvote 0
Or try

Book1
ABCDE
1Horse
2A1A34.33
3A2B4.00
4A3C3.33
5A4
6A96
7B1
8B2
9B3
10B4
11B5
12C1
13C2
14C3
15C5
Sheet1
Cell Formulas
RangeFormula
E2:E4E2=AVERAGE(AGGREGATE(14,6,$B$2:$B$15/($A$2:$A$15=D2),{1,2,3}))
 
Upvote 0
Thank you so much folks, really appreciate your time, effort & knowledge, it has really helped me!

Chris
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,323
Members
449,077
Latest member
jmsotelo

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