+ Reply to Thread
Results 1 to 5 of 5

minimum vales in a row greater than zero

  1. #1
    Registered User
    Join Date
    01-06-2013
    Location
    Sacramento,CA
    MS-Off Ver
    2013
    Posts
    36

    minimum vales in a row greater than zero

    Gents,
    har to believe this isn't simple. I want to return a minimum vales in a row that is greater than zero.

    A1 A2 A3 A4 A5 A6 A7

    0 4 0 3 2 0 6

    Is there a way to incorporate an "if" statement into the = Min() statement?
    Thanks !!

  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: minimum vales in a row greater than zero

    Try this array formula

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

    ...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.

    Row\Col
    A
    1
    0
    2
    4
    3
    0
    4
    3
    5
    2
    6
    0
    7
    6
    8
    9
    2
    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
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: minimum vales in a row greater than zero

    Here's another one...

    =AGGREGATE(15,6,A1:A7/(A1:A7>0),1)

    The equivalent array formula is slightly faster to calculate but the difference is negligible.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    01-06-2013
    Location
    Sacramento,CA
    MS-Off Ver
    2013
    Posts
    36

    Re: minimum vales in a row greater than zero

    Worked like a charm !!!!

  5. #5
    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: minimum vales in a row greater than zero

    Your' re welcome and thank you for the feedback!

+ 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] Summing row of values greater than Zero, excluding minimum
    By jdstuffel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-18-2013, 11:38 AM
  2. Replies: 4
    Last Post: 12-05-2011, 07:01 PM
  3. Find minimum value greater than a particular value
    By John Michl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-27-2006, 02:15 PM
  4. [SOLVED] minimum greater than zero
    By OkieViking in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-19-2006, 02:40 PM
  5. Formula for placings, using 4 times and greater than minimum time
    By handers in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-12-2005, 03: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