+ Reply to Thread
Results 1 to 3 of 3

Min value > 0

  1. #1
    Registered User
    Join Date
    05-14-2008
    Posts
    18

    Min value > 0

    here goes...

    im trying to find the minimum value in a range that is greater than 0 as i have negative numbers in my range.

    i also want to count the number of values that are in a range that are below a value of £20 but above the value of > 0.

    can any one help?

    thanks.

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    An array formula will give the Min value greater than 0:

    =MIN(IF(A1:A1>0,A1:A10))

    Note: Array formulas must be confirmed with CTRL+SHIFT+ENTER. If done correctly, {} brackets will surround the formula.

  3. #3
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191
    Or =Small(A1:A10,COUNTIF(A1:A10,0)+1) This won't have to be confirmed with Ctrl+Shift+Enter.
    Edit: Nevermind this, didn't see the part about negative numbers.

+ 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