+ Reply to Thread
Results 1 to 6 of 6

Counting cells excluding the highest 2 outcomes

  1. #1
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Office 16
    Posts
    329

    Counting cells excluding the highest 2 outcomes

    This one is a bit tricky.
    I've attached a sheet with the preferred outcome in Column AA with some examples.

    In essence I require a formula in Cell AA that will look left From C to X, not include the 2 highest figures but give me the sum total of what is left.
    Obvioulsy if I can have a one horizontal look/criteria it would be brilliant. Sample data is on 28 clients, actual is in the thousands.

    Not sure if it is possible, but I have to ask.

    thanks, if anyone can help me....
    Attached Files Attached Files
    Last edited by Christopherdj; 08-19-2013 at 12:36 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Counting cells excluding the highest 2 outcomes

    Im confused. If you want the count to exclude the 2 highest, why not just use =count(range)-2?

    Looking at your sample, it looks like you are trying to SUM() the data, not count?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Office 16
    Posts
    329

    Re: Counting cells excluding the highest 2 outcomes

    Yes, I require the sum total minus the two highest cells.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Counting cells excluding the highest 2 outcomes

    OK try this, copied down...

    =IF(COUNTIF(C2:X2,">0")=3,LARGE(C2:X2,3),SUMIF(C2:X2,"<"&LARGE(C2:X2,2)))

  5. #5
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Office 16
    Posts
    329

    Re: Counting cells excluding the highest 2 outcomes

    Works like a charm. Thank you so much.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Counting cells excluding the highest 2 outcomes

    Happy to help and thanks for the feedback

+ 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. [SOLVED] Counting unique cells - totally excluding duplicate values
    By ChanceLipscomb in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-26-2016, 12:44 PM
  2. [SOLVED] Counting No of best outcomes
    By Ian Jemmett in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2013, 06:07 AM
  3. Replies: 9
    Last Post: 07-19-2012, 07:16 AM
  4. Replies: 2
    Last Post: 11-22-2011, 04:10 PM
  5. Counting consecutive outcomes
    By BGP5786 in forum Excel General
    Replies: 5
    Last Post: 03-18-2007, 06:23 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