+ Reply to Thread
Results 1 to 10 of 10

counting lowest or the 2 lowest numbersonly if there ar at least 5 numbers

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

    counting lowest or the 2 lowest numbersonly if there ar at least 5 numbers

    Hi i want to have a cell that records the lowest number in a range or the sum of the lowest 2 numbers in a row but ony if there are more than 5 numbers.

    Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 EXCLUDE
    20 30 40 50 0 NO EXCLUDE AS LESS THAN 5 NUMBERS
    40 30 40 50 45 9 9 9 EXCLUDED AS MORE THAN 5 NUMBERS
    30 30 40 50 45 9 11 20 EXCLUDED AS MORE THAN 5 NUMBERS AND THE LOWEST 2 (9=+11)

    I need a formula that will enter 20 in a cell as there are more than 5 numbers and the sum of the lowest 2 numbers is 20. To be more precise i need to enter a value for the 6th 7th etc numbers in a row.

    In the image attached you can see that the third row is wrong. I was using =IF(COUNT(H17:Q17)>5,MIN(H17:Q17),0) but this will only count the lowest.

    Thank you
    Attached Images Attached Images

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: counting lowest or the 2 lowest numbersonly if there ar at least 5 numbers

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,914

    Re: counting lowest or the 2 lowest numbersonly if there ar at least 5 numbers

    Try this:

    =IF(COUNT(H17:Q17)=6,MIN(H17:Q17),IF(COUNT(H17:Q17)>6,SUM(SMALL(H17:Q17,{1,2})),0))

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

    Re: counting lowest or the 2 lowest numbersonly if there ar at least 5 numbers

    Hi

    It counts the lowest 2 numbers even if there are only 5 numbers. I need it to disregard the highest 5 numbers and sum the remainder.
    Thanks

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: counting lowest or the 2 lowest numbersonly if there ar at least 5 numbers

    Not sure who you are talking to, but neither formula does that.

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

    Re: counting lowest or the 2 lowest numbersonly if there ar at least 5 numbers

    It works to a point. But i need to keeep the 5 highest numbers and sum the total of the remainder.

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

    Re: counting lowest or the 2 lowest numbersonly if there ar at least 5 numbers

    Can the function be amended to sum the numbers after the top 5

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: counting lowest or the 2 lowest numbersonly if there ar at least 5 numbers

    Who are you talking to?

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

    Re: counting lowest or the 2 lowest numbersonly if there ar at least 5 numbers

    I was responding to your post

  10. #10
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: counting lowest or the 2 lowest numbersonly if there ar at least 5 numbers

    In that case can you supply a workbook showing where it is going wrong & what the correct answers are.

+ 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. Replies: 3
    Last Post: 06-13-2020, 10:28 PM
  2. Replies: 3
    Last Post: 06-26-2019, 07:11 PM
  3. [SOLVED] MIN formula return lowest. Need 2nd lowest.
    By PeteABC123 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-30-2018, 12:36 PM
  4. [SOLVED] how to find the lowest to highest value and display the name who is the lowest and the hig
    By jasond1992 in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 09-23-2015, 09:20 PM
  5. Recording lowest and 2nd lowest numbers in a rang of cells
    By ORIELSON in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-01-2015, 10:31 AM
  6. [SOLVED] Lowest price & Lowest lead time
    By thup_98 in forum Excel - New Users/Basics
    Replies: 11
    Last Post: 01-22-2013, 03:21 PM
  7. Find lowest number in groups then lowest overall.
    By swieduwi in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-24-2008, 01:00 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