+ Reply to Thread
Results 1 to 19 of 19

average of kth largest numbers in an array of n numbers

Hybrid View

  1. #1
    georgeb
    Guest

    average of kth 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?

  2. #2
    Vasant Nanavati
    Guest

    Re: average of kth 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




  3. #3
    Vasant Nanavati
    Guest

    Re: average of kth 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




  4. #4
    Vasant Nanavati
    Guest

    Re: average of kth 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




  5. #5
    Ragdyer
    Guest

    Re: average of kth 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?



  6. #6
    Ragdyer
    Guest

    Re: average of kth 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?



  7. #7
    Ragdyer
    Guest

    Re: average of kth 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?

    >



  8. #8
    Ragdyer
    Guest

    Re: average of kth 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?

    >



  9. #9
    Ragdyer
    Guest

    Re: average of kth 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?

    >



  10. #10
    Ragdyer
    Guest

    Re: average of kth 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?



  11. #11
    Biff
    Guest

    Re: average of kth 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?




  12. #12
    Biff
    Guest

    Re: average of kth 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?




  13. #13
    Harlan Grove
    Guest

    Re: average of kth 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.



  14. #14
    Harlan Grove
    Guest

    Re: average of kth 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.



  15. #15
    Harlan Grove
    Guest

    Re: average of kth 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.



  16. #16
    Biff
    Guest

    Re: average of kth largest numbers in an array of n numbers

    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.
    >




  17. #17
    Biff
    Guest

    Re: average of kth largest numbers in an array of n numbers

    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.
    >




  18. #18
    Biff
    Guest

    Re: average of kth largest numbers in an array of n numbers

    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.
    >




  19. #19
    Biff
    Guest

    Re: average of kth 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?




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1