+ Reply to Thread
Results 1 to 4 of 4

Finding the minimum value with the exeption of zero

Hybrid View

  1. #1
    Registered User
    Join Date
    01-22-2009
    Location
    cornwall
    MS-Off Ver
    Excel 2003
    Posts
    4

    Finding the minimum value with the exeption of zero

    Hi everyone,
    I have a problem involving displaying the minimum value of a range of cells, I have used the following to display the minimum:
    =MIN(C3,F3,I3)
    this works great but what I really need to do is display the minimum value above zero, so I need to find a way of comparing cell values, disregard any zeros and display the next lowest value.
    thanks for taking the time to read my post,
    Phil

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    As an array - confirmed with CTRL + SHIFT + ENTER

    =MIN(IF((MOD(COLUMN(C3:I3),3)=0)*(C3:I3<>0),C3:I3))

    Once array is set the above will appear encased within { }

  3. #3
    Registered User
    Join Date
    07-22-2008
    Location
    DELHI
    Posts
    11
    Quote Originally Posted by phil@micro View Post
    Hi everyone,
    I have a problem involving displaying the minimum value of a range of cells, I have used the following to display the minimum:
    =MIN(C3,F3,I3)
    this works great but what I really need to do is display the minimum value above zero, so I need to find a way of comparing cell values, disregard any zeros and display the next lowest value.
    thanks for taking the time to read my post,
    Phil

    hi use this function
    =small(a1:a5,2)

    thanks
    pankaj

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    pankaj - what if there are no zeroes or more than 1 zero ???
    Moreover you're assuming a contiguous range which is not the case here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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