+ Reply to Thread
Results 1 to 8 of 8

Disregarding cells that are not in the top 4 and totaling the disregarded cell

  1. #1
    Registered User
    Join Date
    06-26-2013
    Location
    ireland
    MS-Off Ver
    Excel 2010
    Posts
    34

    Disregarding cells that are not in the top 4 and totaling the disregarded cell

    Hi

    i have 10 columns. The first and the 4 highest are added to give me a total. However anything after 4 must be disregarded. I am using the formula
    =IF(COUNT(H74:Q74)>4,MIN(H74:Q74),0) (which was suggested to me last year on this forum), this gets rid of the 5th lowest number in the range. However I need to disregard all cells other the 4 highest.

    Any ideas
    Thanks

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,511

    Re: Disregarding cells that are not in the top 4 and totaling the disregarded cell

    I'm not sure I'm understanding this one.
    Could you post some sample data with a few examples of which values you wish to sum and which ones you wish to disregard?

    BSB

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,522

    Re: Disregarding cells that are not in the top 4 and totaling the disregarded cell

    This will sum the 4th largest

    =SUM(LARGE(H1:Q1,{1,2,3,4}))

    Enter with Ctrl+Shift+enter

  4. #4
    Registered User
    Join Date
    06-26-2013
    Location
    ireland
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Disregarding cells that are not in the top 4 and totaling the disregarded cell

    Q.1. Q.2. Q.3. Q.4. Q.5. Q.6. Q.7. Q.8. Q.9. Q.10. Q.10.A Exclude Exam # Total
    45 50 28 33 29 14 14
    21 39 14 4)27 12
    52 36 43 34 16 56 37 16

    In the exclude column, I need to add Q1 and the next 4 highest and then record the cell that is not included. Ex row 1 excludes 14(Q10). But the third row only record 16 under exclude whereas it shoud include 16 and 34(Q4)

    Thanks

  5. #5
    Registered User
    Join Date
    06-26-2013
    Location
    ireland
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Disregarding cells that are not in the top 4 and totaling the disregarded cell

    Hi

    Q.1. Q.2. Q.3. Q.4. Q.5. Q.6. Q.7. Q.8. Q.9. Q.10. Q.10.A Exclude Exam # Total
    45 50 28 33 29 14 14
    21 39 14 4)27 12
    52 36 43 34 16 56 37 16

    In the exclude column, I need to add Q1 and the next 4 highest and then record the cell that is not included. Ex row 1 excludes 14(Q10). But the third row only record 16 under exclude whereas it shoud include 16 and 34(Q4)

    The formula that I am using at the moment is:=IF(COUNT(H69:Q69)>4,MIN(H69:Q69),0)

    Thanks

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,522

    Re: Disregarding cells that are not in the top 4 and totaling the disregarded cell

    See attached as possible solution
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-26-2013
    Location
    ireland
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Disregarding cells that are not in the top 4 and totaling the disregarded cell

    Thanks John

    That seems to work. Is there anyway that i can place the same excluded numbers in the one cell.

    Thanks again
    Frank

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,522

    Re: Disregarding cells that are not in the top 4 and totaling the disregarded cell

    There is no easy way in Excel. You could put the "Extraction" formula in (hidden) "helper" columns (say AA to AI) and then use CONCATENATE(AA2 & AB2 & AC2 ...).

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Counting Cells while Disregarding Text
    By Largos in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-14-2013, 11:44 AM
  2. disregarding hidden cells
    By SalamanderSam14 in forum Excel General
    Replies: 17
    Last Post: 01-12-2012, 07:35 AM
  3. Disregarding info in cells outside set time limits.
    By sigma clerk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-23-2010, 08:45 AM
  4. Disregarding blank cells when performing calculations
    By Harager in forum Tips and Tutorials
    Replies: 3
    Last Post: 12-08-2005, 02:35 AM
  5. Replies: 1
    Last Post: 08-01-2005, 06:05 PM

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