+ Reply to Thread
Results 1 to 5 of 5

MIN of only cells that meet condition

  1. #1
    Registered User
    Join Date
    06-26-2011
    Location
    Las Vegas
    MS-Off Ver
    Excel 2003 (I think)
    Posts
    7

    MIN of only cells that meet condition

    Hello,

    I want to return the MIN of all cells that meet a certain condition.

    The data (or numbers) in column A, under certain criteria in column B, meet either the conditions for "Yes" or the conditions for "No." I want to return the MIN of only of the "Yes."

    ...If the numbers in A meet the conditions for B to return "Yes" then I want C to find the MIN of only "Yes".

    Is there a way? ... Gotta be a way ... gotta be. Thanks!
    Last edited by NBVC; 06-27-2011 at 01:24 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: MIN of only cells that meet condition

    Try:

    =Min(If($B$1:$B$100="Yes",$A$1:$A$100))

    confirmed with CTRL+SHIFT+ENTER not just ENTER

    similarly if you want MIN of "No" or you want MAX of "Yes" and/or "No".

    adjust ranges to suit and re-confirm with CSE everytime you make a change to formula(s).
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-26-2011
    Location
    Las Vegas
    MS-Off Ver
    Excel 2003 (I think)
    Posts
    7

    Re: MIN of only cells that meet condition

    That works! Thank you so very much!

    Can I ask what ctrl+shift+enter does?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: MIN of only cells that meet condition

    It tells Excel that you are entering an Array Formula.

  5. #5
    Registered User
    Join Date
    06-26-2011
    Location
    Las Vegas
    MS-Off Ver
    Excel 2003 (I think)
    Posts
    7

    Re: MIN of only cells that meet condition

    Thanks again. This was very important to me, so know that you just brightened a complete stranger's day.

+ 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