Closed Thread
Results 1 to 3 of 3

Locked - Posting on two forums >> Min Value & If Statements.

  1. #1
    Registered User
    Join Date
    03-08-2007
    Posts
    7

    Locked - Posting on two forums >> Min Value & If Statements.

    Hi

    Could someone please help me with this.

    What I need to do is to have 2 rows (A & B). Row "A" is going to have a list of dates and row "B" will either have "Yes" or "No" vaules.

    What I need to do is to return the value with the oldest date but only if it has "No" in row "B"

    Thanks

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Try this.

    =MIN(IF(B1:B10="no",A1:A10))

    It is an array formula, so you will need to use CTRL + SHIFT + ENTER after you type it in, rather than just ENTER.

    HTH

    Jason

  3. #3
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by taji
    Hi

    Could someone please help me with this.

    What I need to do is to have 2 rows (A & B). Row "A" is going to have a list of dates and row "B" will either have "Yes" or "No" vaules.

    What I need to do is to return the value with the oldest date but only if it has "No" in row "B"

    Thanks
    try this
    =if(and(min($A$1:$A$10)=A1,B1="No"),A1,"")

Closed 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