What function will find the average of the k largest numbers in an array of n
numbers?
What function will find the average of the k largest numbers in an array of n
numbers?
"georgeb" <[email protected]> wrote in message
news:[email protected]...
> 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
"georgeb" <[email protected]> wrote in message
news:[email protected]...
> 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
"georgeb" <[email protected]> wrote in message
news:[email protected]...
> 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
=AVERAGE(LARGE(A1:A10,{1,2,3}))
--
HTH,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"georgeb" <[email protected]> wrote in message
news:[email protected]...
> What function will find the average of the k largest numbers in an array
of n
> numbers?
=AVERAGE(LARGE(A1:A10,{1,2,3}))
--
HTH,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"georgeb" <[email protected]> wrote in message
news:[email protected]...
> What function will find the average of the k largest numbers in an array
of n
> numbers?
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" <[email protected]> wrote in message
news:%[email protected]...
> =AVERAGE(LARGE(A1:A10,{1,2,3}))
> --
> HTH,
>
> RD
>
> --------------------------------------------------------------------------
-
> Please keep all correspondence within the NewsGroup, so all may benefit !
> --------------------------------------------------------------------------
-
> "georgeb" <[email protected]> wrote in message
> news:[email protected]...
> > What function will find the average of the k largest numbers in an array
> of n
> > numbers?
>
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" <[email protected]> wrote in message
news:%[email protected]...
> =AVERAGE(LARGE(A1:A10,{1,2,3}))
> --
> HTH,
>
> RD
>
> --------------------------------------------------------------------------
-
> Please keep all correspondence within the NewsGroup, so all may benefit !
> --------------------------------------------------------------------------
-
> "georgeb" <[email protected]> wrote in message
> news:[email protected]...
> > What function will find the average of the k largest numbers in an array
> of n
> > numbers?
>
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" <[email protected]> wrote in message
news:%[email protected]...
> =AVERAGE(LARGE(A1:A10,{1,2,3}))
> --
> HTH,
>
> RD
>
> --------------------------------------------------------------------------
-
> Please keep all correspondence within the NewsGroup, so all may benefit !
> --------------------------------------------------------------------------
-
> "georgeb" <[email protected]> wrote in message
> news:[email protected]...
> > What function will find the average of the k largest numbers in an array
> of n
> > numbers?
>
=AVERAGE(LARGE(A1:A10,{1,2,3}))
--
HTH,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"georgeb" <[email protected]> wrote in message
news:[email protected]...
> What function will find the average of the k largest numbers in an array
of n
> numbers?
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" <[email protected]> wrote in message
news:[email protected]...
> What function will find the average of the k largest numbers in an array
> of n
> numbers?
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" <[email protected]> wrote in message
news:[email protected]...
> What function will find the average of the k largest numbers in an array
> of n
> numbers?
"Biff" wrote...
....
>Another method:
>
>=SUMIF(A1:A100,">="&LARGE(A1:A100,4))/4
....
That fails when the 4th largest value appears multiple times.
"Biff" wrote...
....
>Another method:
>
>=SUMIF(A1:A100,">="&LARGE(A1:A100,4))/4
....
That fails when the 4th largest value appears multiple times.
"Biff" wrote...
....
>Another method:
>
>=SUMIF(A1:A100,">="&LARGE(A1:A100,4))/4
....
That fails when the 4th largest value appears multiple times.
True
Biff
"Harlan Grove" <[email protected]> wrote in message
news:%[email protected]...
> "Biff" wrote...
> ...
>>Another method:
>>
>>=SUMIF(A1:A100,">="&LARGE(A1:A100,4))/4
> ...
>
> That fails when the 4th largest value appears multiple times.
>
True
Biff
"Harlan Grove" <[email protected]> wrote in message
news:%[email protected]...
> "Biff" wrote...
> ...
>>Another method:
>>
>>=SUMIF(A1:A100,">="&LARGE(A1:A100,4))/4
> ...
>
> That fails when the 4th largest value appears multiple times.
>
True
Biff
"Harlan Grove" <[email protected]> wrote in message
news:%[email protected]...
> "Biff" wrote...
> ...
>>Another method:
>>
>>=SUMIF(A1:A100,">="&LARGE(A1:A100,4))/4
> ...
>
> That fails when the 4th largest value appears multiple times.
>
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" <[email protected]> wrote in message
news:[email protected]...
> What function will find the average of the k largest numbers in an array
> of n
> numbers?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks