+ Reply to Thread
Results 1 to 5 of 5

How can I use min function with ignore zeros

  1. #1
    Registered User
    Join Date
    04-29-2006
    Posts
    68

    How can I use min function with ignore zeros

    Gentlemen,
    I would like to now the minimum number greater than zero.

    Example numbers
    7
    3
    0
    9
    5
    7
    4
    3

    The result should be 3

    Regards

  2. #2
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: How can I use min function with ignore zeros

    use this (array formula, use Ctrl+Shift+Enter):
    Please Login or Register  to view this content.
    Click (*) if you received helpful response.

    Regards,
    David

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: How can I use min function with ignore zeros

    Alternative, non-array solution (courtesy of daddylonglegs):

    =SMALL(A2:A9,COUNTIF(A2:A9,0)+1)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Registered User
    Join Date
    04-29-2006
    Posts
    68

    Re: How can I use min function with ignore zeros

    Dear SDCH,
    Thanks for try to help, but your formula not work

    XOR LX,
    Thanks for help, It is working.

    Regards

  5. #5
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: How can I use min function with ignore zeros

    not work?
    You may be not do what I said : use "Ctrl+Shift+Enter", because it an array formula if you just press Enter it will not work.

+ 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] How to ignore the zeros in activating the sheet by name
    By herukuncahyono in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-11-2013, 08:54 PM
  2. Minimum value, ignore zeros
    By anmck in forum Excel General
    Replies: 1
    Last Post: 03-31-2009, 04:25 PM
  3. Ignore zeros in charting
    By Tom_Fernley in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-23-2008, 04:01 AM
  4. Get Excel to ignore the first 4 zeros
    By Badvgood in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-09-2007, 06:39 PM
  5. Ignore blanks or zeros
    By gil0730 in forum Excel General
    Replies: 1
    Last Post: 02-03-2005, 12:12 AM

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