+ Reply to Thread
Results 1 to 4 of 4

Smallest number > 0

  1. #1
    Registered User
    Join Date
    02-28-2009
    Location
    IL, usa
    MS-Off Ver
    Excel 2007
    Posts
    2

    Smallest number > 0

    I have a colum of numbers that equal a sum of 3 cells in that line that have not been input yet, i.e.,

    A B C D(=sumA+B+C)
    1 3 4 5 12
    2 4 6 8 18
    3 5 10 15 30
    [
    [
    [
    [
    36


    High =Max(colum d) or 30
    Low = Need to read 12, but reference all the way down to d-36, just ignore the 0 values and give the smallest value over 0.

    I need the max number for colum D(which I all ready have) and the mina number for colum d, however because I have not filled in lines 3 thru 36, I get zero. Is there any way to pull the smallest number or mina >0. I have corrected all the other formulas on this and this last one is killing me because I know there is a way, but can't seam to get it. And I am a self taught novice at best.

    Thanks in advance
    Last edited by 1cellshort; 03-01-2009 at 12:52 AM. Reason: Solved problem

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Re: Smallest number > 0

    Hi,

    Try this

    =MIN(IF(D1:D36>0,D1:D36)) enter as an array with Ctrl+Shift+Enter
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Smallest number > 0

    An alternative non-array:

    =SMALL(D1:D36,COUNTIF(D1:D36,"<=0")+1)

  4. #4
    Registered User
    Join Date
    02-28-2009
    Location
    IL, usa
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Smallest number > 0

    Thank you very much Donkey. That did the trick. I used this because I was not familiar with the array function. I knew there was a way...

+ 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