+ Reply to Thread
Results 1 to 4 of 4

=SMALL function that ignores negative numbers

  1. #1
    Registered User
    Join Date
    04-04-2019
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    1

    Wink =SMALL function that ignores negative numbers

    Good morning,

    I want to use the =SMALL function, but I need it to ignore all the negative numbers in my data.

    I know that min would look like this =MIN(IF(D6:D12>0,D6:D12)) but in this case I need =SMALL.

    Thanks for any help!

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: =SMALL function that ignores negative numbers

    Hi,



    =SMALL(IF(D6:D12>0,D6:D12),2)

    array entered: confirmed with control+shift+enter

    =AGGREGATE(15,6,D6:D12/(D6:D12>0),2)

    just enter.

    The "red" number is the K number read by SMALL/AGGREGATE
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Valued Forum Contributor
    Join Date
    01-07-2013
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    601

    Re: =SMALL function that ignores negative numbers

    You would use this, and enter it as an array formula with ctrl+shift+enter:
    Please Login or Register  to view this content.
    where 1 represents the "1st" smallest number. Adjust to suit your needs.

  4. #4
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: =SMALL function that ignores negative numbers

    another option, non-array, FWIW

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

+ 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. using IF function for negative numbers
    By jlahti in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-01-2019, 07:24 AM
  2. Small Ignore zero and negative numbers
    By Excelski in forum Excel General
    Replies: 8
    Last Post: 05-05-2018, 12:36 PM
  3. [SOLVED] Making the small function only look for positive numbers
    By BryceVBA in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-27-2017, 01:05 PM
  4. IF SMALL function to ignore a date within a rage of other numbers
    By jamiegfinch in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-18-2014, 05:37 PM
  5. If function negative numbers
    By Roman222 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-14-2014, 02:32 PM
  6. Replies: 4
    Last Post: 11-10-2011, 06:01 PM
  7. Replies: 12
    Last Post: 04-24-2011, 05:45 PM

Tags for this Thread

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