Average of the 5 best numbers out of 6 in a range?

obiwann

Board Regular
Joined
Jan 2, 2014
Messages
142
Can someone help with a formula to find out the Average of the 5 best numbers out of 6 in a range?
I know you need to find the farthest number from the mean of the 6.
A1 = 1.00105
A2 = 1.00116
A3 = 1.00177
A4 = 1.00096
A5 = 1.00108
A6 = 1.00098
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Are the 5 best numbers the highest 5 numbers?
If so try:
Book1
A
11.00105
21.00116
31.00177
41.00096
51.00108
61.00098
7
81.001208
Sheet3
Cell Formulas
RangeFormula
A8A8=AVERAGEIF(A1:A6,">="&LARGE(A1:A6,5))
 
Upvote 0
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: find out the average of the 5 best numbers out of 6 in a range
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Are the 5 best numbers the highest 5 numbers?
If so try:
Book1
A
11.00105
21.00116
31.00177
41.00096
51.00108
61.00098
7
81.001208
Sheet3
Cell Formulas
RangeFormula
A8A8=AVERAGEIF(A1:A6,">="&LARGE(A1:A6,5))
No, you need the find the average of the six numbers then find the farthest number from that average
 
Upvote 0
So what would the answer be for your example?
 
Upvote 0
in my 2021, i don't have to specify, but i think it's a matrixformula, so close with CTRL+SHIFT+enter (but XL2BB also says it isn't ???)
And i made an error, formula is okay, but all numbers are multiplied !!!
Map1
ABC
1100,1050
2100,1160
3100,1770
4100,0960
5100,1080
6100,0980
7
8100,1167average
9100,1770max
Blad1
Cell Formulas
RangeFormula
A8A8=AVERAGE(A1:A6)
A9A9=INDEX($A$1:$A$6,MATCH(MAX(ABS(A1:A6-AVERAGE($A$1:$A$6))),ABS(A1:A6-AVERAGE($A$1:$A$6)),0))
 
Last edited:
Upvote 0
So what would the answer be for your example?

Hi,

As @AhoyNC asked above, and also, can you please clarify...
Are you looking for the number farthest from the Average of the 6 numbers, OR
Are you looking for the Average of 5 numbers Excluding the number farthest from the average of the 6 numbers ??
 
Upvote 0
Hi,

As @AhoyNC asked above, and also, can you please clarify...
Are you looking for the number farthest from the Average of the 6 numbers, OR
Are you looking for the Average of 5 numbers Excluding the number farthest from the average of the 6 numbers ??
HI,

I am looking to find the number farthest from the average of the 6, kick that number and then find the average of the remaining 5.
 
Upvote 0
Map4
AB
11,00105
21,00116
31,00177
41,00096
51,00108
61,00098
7
81,00177farthest
91,00105new average
Blad4
Cell Formulas
RangeFormula
A8A8=INDEX($A$1:$A$6,MATCH(MAX(ABS(A1:A6-AVERAGE($A$1:$A$6))),ABS(A1:A6-AVERAGE($A$1:$A$6)),0))
A9A9=+AVERAGEIF(A1:A6,"<>"&A8,A1:A6)
 
Upvote 0
HI,

I am looking to find the number farthest from the average of the 6, kick that number and then find the average of the remaining 5.

This will do it,

2 formula choices for new average
You don't need D2 (farthest) if you don't want it.

Book3.xlsx
ABCDE
11.00105Result>># farthestaverage best 5
21.001161.001771.001046
31.001771.001046
41.00096
51.00108
61.00098
Sheet945
Cell Formulas
RangeFormula
D2D2=IF(MAX(A1:A6)-AVERAGE(A1:A6)>AVERAGE(A1:A6)-MIN(A1:A6),MAX(A1:A6),MIN(A1:A6))
E2E2=AVERAGEIF(A1:A6,"<>"&IF(MAX(A1:A6)-AVERAGE(A1:A6)>AVERAGE(A1:A6)-MIN(A1:A6),MAX(A1:A6),MIN(A1:A6)),A1:A6)
E3E3=(SUM(A1:A6)-IF(MAX(A1:A6)-AVERAGE(A1:A6)>AVERAGE(A1:A6)-MIN(A1:A6),MAX(A1:A6),MIN(A1:A6)))/5
 
Upvote 0

Forum statistics

Threads
1,214,897
Messages
6,122,141
Members
449,066
Latest member
Andyg666

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