+ Reply to Thread
Results 1 to 8 of 8

Adding up the top 8 values

  1. #1
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Adding up the top 8 values

    Morning,

    I posted an earlier query asking how to work out the average value from the highest 8 values from a row of 12. The boss has now said we don't need an average just a total

    In cell Q2, I would like it to look at all the values in cells in B2 to N2, and then add up the highest 8 scores; if there are less than 8 values, I would like it to add up what there is.

    Any help would be appreciated.

    Many thanks
    Attached Files Attached Files
    Last edited by Cmorgan; 07-02-2012 at 11:38 AM.

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Adding up the top 8 values

    Simpy choose any answer You got here
    http://www.excelforum.com/excel-new-...-best-8-a.html
    and change aver. into sum
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Adding up the top 8 values

    Same formula as before.

    =SUM(LARGE(B2:N2,{1,2,3,4,5,6,7,8}))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Adding up the top 8 values

    Try this in Q2
    Please Login or Register  to view this content.
    Drag/Fill Down

    Note
    Either way, you might have anomalous results if there are multiple duplicate scores in any one row.

    [EDIT]
    Go with Fotis, that's probably the way to interpretate your question, only counting 8 cells.
    Last edited by Marcol; 07-02-2012 at 07:39 AM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Adding up the top 8 values

    ...if there are less than 8 values, I would like it to add up what there is.
    In this case, modify Zbor's formula from your other THread.,,

    =SUM(LARGE($B2:$N2,ROW($A$1:INDEX($A$1:$A$100,MIN(8,COUNT($B2:$N2))))))

    Array formula.(C+S+E)

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Adding up the top 8 values

    Or your formula Fotis,
    pre 2007
    Please Login or Register  to view this content.
    Later versions
    Please Login or Register  to view this content.
    Or for all versions
    Please Login or Register  to view this content.
    Last edited by Marcol; 07-02-2012 at 07:58 AM.

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Adding up the top 8 values

    I never used this formula in this way Marcol!

    Nice work! Simple and nice!

  8. #8
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: Adding up the top 8 values

    Thanks guys, much aprpeciated!

+ 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