+ Reply to Thread
Results 1 to 9 of 9

Small Ignore zero and negative numbers

  1. #1
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Small Ignore zero and negative numbers

    Hi,

    How can I get the small function to ignore zeros and negative numbers

    Thanks
    Kevin

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Small Ignore zero and negative numbers

    Hi Excelski,

    Allan Wyatt has a web page with this question and I assume the answer you want.

    https://excel.tips.net/T003260_Retur...ero_Value.html

    If this doesn't help then attach a sample worksheet so we can see the problem.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Small Ignore zero and negative numbers

    Hi,

    Often by using an array formula to grab the non zero and non negatived before wrapping the Array formula in a SMALL() function.

    For more specific help please upload the workbook.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Small Ignore zero and negative numbers

    @Exelski.... Array-enter (press ctrl+shift+Enter instead of just Enter) a formula with an expression of the form:

    SMALL(IF(A1:A1000>0,A1:A1000), 2)

  5. #5
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Small Ignore zero and negative numbers

    Thanks for looking, workbook attached.
    Attached Files Attached Files

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Small Ignore zero and negative numbers

    Hi,

    You were asking for the smallest so not quite sure why your example shows the largest and smallest. However
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Entered as an array formula with Ctrl-Shift-ENter will return 25

  7. #7
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Small Ignore zero and negative numbers

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    You were asking for the smallest so not quite sure why your example shows the largest and smallest. However
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Entered as an array formula with Ctrl-Shift-ENter will return 25
    Hi,
    My ultimate goal is to find the smallest to the largest number in order, ignoring zeros and negative numbers.
    I find I learn more if I don't ask for the complete answers and apply the solutions offered as part of the whole soultion

    Thanks
    Kevin

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Small Ignore zero and negative numbers

    Quote Originally Posted by Excelski View Post
    Hi,
    My ultimate goal is to find the smallest to the largest number in order, ignoring zeros and negative numbers.
    I find I learn more if I don't ask for the complete answers and apply the solutions offered as part of the whole soultion

    Thanks
    Kevin
    That's all very well but as the providers of help we often find ourselves on a contantly winding path when the OP adds some other factor that completely negates the solution given which then needs to be added to or done away with completely and a new approach used.

    That may not be the case here but please remember for the future. We like to understand all the requrements and what the end goal is

    That said can I assume you can now adapt the solution you've been given to determine the largest number? In which case please mark the thread as solved.

  9. #9
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Small Ignore zero and negative numbers

    Quote Originally Posted by Richard Buttrey View Post
    That's all very well but as the providers of help we often find ourselves on a contantly winding path when the OP adds some other factor that completely negates the solution given which then needs to be added to or done away with completely and a new approach used.

    That may not be the case here but please remember for the future. We like to understand all the requrements and what the end goal is

    That said can I assume you can now adapt the solution you've been given to determine the largest number? In which case please mark the thread as solved.
    Noted.
    Thanks

+ 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] Formula to ignore negative numbers in a column?
    By Tia in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-10-2021, 04:14 PM
  2. [SOLVED] How to ignore negative numbers in a formula (display as 0)
    By Natejss in forum Excel General
    Replies: 2
    Last Post: 12-29-2017, 04:38 PM
  3. [SOLVED] How to sum row but ignore negative numbers
    By eeps24 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-27-2017, 10:26 AM
  4. Small - Ignore zeros
    By pauldaddyadams in forum Excel General
    Replies: 6
    Last Post: 07-05-2015, 05:02 PM
  5. 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
  6. [SOLVED] Excel Formula - Add column of numbers but ignore negative numbers
    By view for Distribution List members in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-06-2006, 10:20 PM
  7. How to ignore negative numbers
    By frustrated in forum Excel General
    Replies: 3
    Last Post: 10-04-2005, 09: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