+ Reply to Thread
Results 1 to 3 of 3

Conditional minimum in range, ignoring zero/blanks

  1. #1
    Registered User
    Join Date
    11-30-2007
    Location
    Edinburgh, UK
    MS-Off Ver
    2003
    Posts
    84

    Conditional minimum in range, ignoring zero/blanks

    Hey all,

    Been trying to get this for hours!

    I have this forumla

    Please Login or Register  to view this content.
    I need it to return the minimum value in the D range, where the C range is equal to I25. This is does fine, however there are zero/blank cells in the D range.

    I need it to return the minimum value in the D range that is not zero/blank.

    Any ideas?

    thanks very much

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: Conditional minimum in range, ignoring zero/blanks

    Hi,

    Try this array

    =MIN(IF(($C$2:$C$3653=$I25)*(NOT($D$2:$D$3653=0)),$D$2:$D$3653,""))

    confirm with CTRL, SHIFT and ENTER
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    11-30-2007
    Location
    Edinburgh, UK
    MS-Off Ver
    2003
    Posts
    84

    Re: Conditional minimum in range, ignoring zero/blanks

    Amazing, works perfectly. Thank you sir.

+ 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