Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
What function will find the average of the k largest numbers in an array of n
numbers? |
#2
![]() |
|||
|
|||
![]() "georgeb" wrote in message ... What function will find the average of the k largest numbers in an array of n numbers? Perhaps something like: =AVERAGE(LARGE(A1:A10,ROW(1:4))) entered as an array formula with <Ctrl <Shift <Enter. This will give you the average of the 4 largest numbers in the range A1:A10. -- Vasant |
#3
![]() |
|||
|
|||
![]()
=AVERAGE(LARGE(A1:A10,{1,2,3}))
-- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "georgeb" wrote in message ... What function will find the average of the k largest numbers in an array of n numbers? |
#4
![]() |
|||
|
|||
![]()
Using the array constant allows the above formula to equate as a regular
formula! -- Regards, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "Ragdyer" wrote in message ... =AVERAGE(LARGE(A1:A10,{1,2,3})) -- HTH, RD -------------------------------------------------------------------------- - Please keep all correspondence within the NewsGroup, so all may benefit ! -------------------------------------------------------------------------- - "georgeb" wrote in message ... What function will find the average of the k largest numbers in an array of n numbers? |
#5
![]() |
|||
|
|||
![]()
Hi!
A non array entered version: =AVERAGE(LARGE(A1:A100,{1,2,3,4})) Of course, if you wanted the largest 50 you wouldn't want to use the above method! Another method: =SUMIF(A1:A100,"="&LARGE(A1:A100,4))/4 Biff "georgeb" wrote in message ... What function will find the average of the k largest numbers in an array of n numbers? |
#6
![]() |
|||
|
|||
![]()
"Biff" wrote...
.... Another method: =SUMIF(A1:A100,"="&LARGE(A1:A100,4))/4 .... That fails when the 4th largest value appears multiple times. |
#7
![]() |
|||
|
|||
![]()
True
Biff "Harlan Grove" wrote in message ... "Biff" wrote... ... Another method: =SUMIF(A1:A100,"="&LARGE(A1:A100,4))/4 ... That fails when the 4th largest value appears multiple times. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
plotted Average | Charts and Charting in Excel | |||
Three Dimensional Array Question | Excel Discussion (Misc queries) | |||
Match Last Occurrence of two numbers and Count to Previous Occurence | Excel Worksheet Functions | |||
Average of numbers in column between to other numbers | Excel Discussion (Misc queries) | |||
finding common numbers in large lists | Excel Worksheet Functions |