Find the 5 best numbers of a range of cells

obiwann

Board Regular
Joined
Jan 2, 2014
Messages
142
I need a formula to find the 5 best numbers in the following range:

a1 = 2393.094
a2 = 2393.395
a3 = 2393.343
a4 = 2392.922
a5 = 2394.082
a6 = 2393.607

Any help would be great
 

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.
the worst? in your example which is the worst? Are you always going to have 6 numbers and always want to get a only number?
 
Upvote 0
I believe you're looking to identify the outliers (sort of). From a simplistic standpoint, you could use least squares regression; Khan Academy or Wiki has some decent info.

Stan Brown has done quite a bit of work and put together a sheet complete with formulas, graphs that can assist. However, you do need to have knowledge of the terms, formulas, shortcomings, etc. Be aware: that's not a trivial exercise.

https://brownmath.com/stat/nchkxl.htm

hth
 
Upvote 0
Array formula, to accept press shift + control + enter

{=SUM(IF(ABS(AVERAGE(A1:A6)-A1:A6)=MAX(ABS(AVERAGE(A1:A6)-A1:A6)),A1:A6))}
 
Upvote 0
Cross posted https://www.excelforum.com/excel-fo...1-throw-out-the-worst-number.html#post5122117

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,214,950
Messages
6,122,438
Members
449,083
Latest member
Ava19

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