+ Reply to Thread
Results 1 to 4 of 4

Min formula ignoring zeros.

  1. #1
    Registered User
    Join Date
    06-10-2014
    Posts
    6

    Min formula ignoring zeros.

    I am trying to find a formula that will find the smallest value that is not a zero and report it. However, the data from that I want to find the smallest value from is not all in the same range. For example, the data is in the range B11:B13,B20:B22,B32:B34 ect. I appreciate the help.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Min formula ignoring zeros.

    Maybe this

    =MIN(IF(B11:B34>0,B11:B34))


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    06-10-2014
    Posts
    6

    Re: Min formula ignoring zeros.

    Great! That worked! thanks. Maybe you could help me with one more question. I want to count that same data range and see how many values are below the value in D5 while still ignoring zeros.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Min formula ignoring zeros.

    Try this one

    =COUNTIFS(B11:B34,">0",B11:B34,"<"&D5)

+ 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. Ordering a list whilst ignoring zeros
    By Woody. in forum Excel General
    Replies: 4
    Last Post: 10-22-2013, 11:20 AM
  2. Ignoring values with zeros
    By exdox77 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2013, 10:32 PM
  3. Median if - ignoring zeros
    By adame in forum Excel General
    Replies: 1
    Last Post: 05-24-2012, 11:57 AM
  4. Ignoring Zeros in a STDEV Forumula
    By OlYeller21 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-05-2011, 09:39 AM
  5. Averaging, ignoring zeros
    By Mark in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-28-2005, 07:06 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