+ Reply to Thread
Results 1 to 6 of 6

Conditional cell

  1. #1
    Forum Contributor
    Join Date
    02-24-2005
    Posts
    154

    Conditional cell

    I have a dropdown menu in cell A1 that is either Yes or No.
    I want cell C1 to display "Data Required" if A1 = Yes and is left blank if A1 = No.
    How do I program cell C1??

  2. #2
    Dave Peterson
    Guest

    Re: Conditional cell

    =if(a1="yes","data required","")
    or
    =if(a1="yes","data required",if(a1="no","","Not Yes and Not No"))





    grahammal wrote:
    >
    > I have a dropdown menu in cell A1 that is either Yes or No.
    > I want cell C1 to display "Data Required" if A1 = Yes and is left blank
    > if A1 = No.
    > How do I program cell C1??
    >
    > --
    > grahammal
    > ------------------------------------------------------------------------
    > grahammal's Profile: http://www.excelforum.com/member.php...o&userid=20336
    > View this thread: http://www.excelforum.com/showthread...hreadid=538860


    --

    Dave Peterson

  3. #3
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    =IF(A1="Yes","Data Required","")

    This assumes that A1 will always be "Yes" , "No" or blank.

    HTH

    Steve

  4. #4
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    Ignore my previous comment, what I meant to say was it assumes that you want to return blank if any value other than "Yes" is in A1.

    Regards,
    Steve

  5. #5
    Forum Contributor
    Join Date
    02-24-2005
    Posts
    154

    Thankyou

    Thanx for your help, now works perfectly.
    Could you amend your resolution to say, if A1 or A5 = Yes then display "Data Required" and blank if both A1 and
    A5 = No
    Last edited by grahammal; 05-04-2006 at 10:20 AM.

  6. #6
    CLR
    Guest

    Re: Conditional cell

    IN cell C1 put this formula............

    =IF(A1="yes","Date required","")

    Vaya con Dios,
    Chuck, CABGx3



    "SteveG" wrote:

    >
    > =IF(A1="Yes","Data Required","")
    >
    > This assumes that A1 will always be "Yes" , "No" or blank.
    >
    > HTH
    >
    > Steve
    >
    >
    > --
    > SteveG
    > ------------------------------------------------------------------------
    > SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
    > View this thread: http://www.excelforum.com/showthread...hreadid=538860
    >
    >


+ 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