+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    02-13-2008
    MS-Off Ver
    2007
    Posts
    77

    Average of top 3 items in a list

    I want to calculate the average of top 3 items in a list. Can someone help mw with this?

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,142

    Re: Everage of top 3 items in a list

    Try:

    =AVERAGE(LARGE(C1:C7,{1,2,3}))

    where C1:C7 is your range.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    02-13-2008
    MS-Off Ver
    2007
    Posts
    77

    Re: Average of top 3 items in a list

    Thanks - I want the numbers in corresponding cells in another column to be added. is there a formula for the same?

  4. #4
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,142

    Re: Average of top 3 items in a list

    Do you mean?

    =SUM(LARGE(C1:C7,{1,2,3}))
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  5. #5
    Registered User
    Join Date
    02-13-2008
    MS-Off Ver
    2007
    Posts
    77

    Re: Average of top 3 items in a list

    Quote Originally Posted by NBVC View Post
    Do you mean?

    =SUM(LARGE(C1:C7,{1,2,3}))
    No - in column F there are numbers corrsponding to the numbers in column C. i want to add only the corresponding numbers in column F.

  6. #6
    Forum Moderator daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2007
    Posts
    9,506

    Re: Average of top 3 items in a list

    Sounds like you want to find the largest 3 values in column A and average the corresponding values for those rows in column B. One possibility is

    =AVERAGE(IF(A2:A100>=LARGE(A2:A100,3),B2:B100))

    confirmed with CTRL+SHIFT+ENTER

    ....but that might average more than 3 values if you have ties in column A, e.g. if column A contains only these values

    3,4,4,5,5

    then the above would average 4 values, i.e. those associated with the 2 fours and 2 fives, is that how it should work?

  7. #7
    Forum Moderator daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2007
    Posts
    9,506

    Re: Average of top 3 items in a list

    Quote Originally Posted by EsKay! View Post
    No - in column F there are numbers corrsponding to the numbers in column C. i want to add only the corresponding numbers in column F.
    Then amend formula above to

    =AVERAGE(IF(C2:C100>=LARGE(C2:C100,3),F2:F100))

    adjust range lengths as required

  8. #8
    Registered User
    Join Date
    02-13-2008
    MS-Off Ver
    2007
    Posts
    77

    Re: Average of top 3 items in a list

    Quote Originally Posted by daddylonglegs View Post
    Sounds like you want to find the largest 3 values in column A and average the corresponding values for those rows in column B. One possibility is

    =AVERAGE(IF(A2:A100>=LARGE(A2:A100,3),B2:B100))

    confirmed with CTRL+SHIFT+ENTER

    ....but that might average more than 3 values if you have ties in column A, e.g. if column A contains only these values

    3,4,4,5,5

    then the above would average 4 values, i.e. those associated with the 2 fours and 2 fives, is that how it should work?
    The question about average in column C is fine and I have the average on largest 3 items.. Subsequent to that I also want to add corresponding numbers in column F (only those numbers in column F which correspond to the highest 3 numbers in column C).

  9. #9
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,142

    Re: Average of top 3 items in a list

    Maybe then you want:

    =SUMIF(C2:C100,">="&LARGE(C2:C100,3),F2:F100)
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

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