+ Reply to Thread
Results 1 to 4 of 4

If a cell contains "Yes", another cell MUST be filled, else, another cell cannot be filled

  1. #1
    Registered User
    Join Date
    07-07-2015
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    23

    If a cell contains "Yes", another cell MUST be filled, else, another cell cannot be filled

    Hi All

    I have in cell B2 a drop-down list with "Yes" or "No", I need to make a criteria to do the following:

    If B2 = "Yes", then C2 & D2 & E2,.... MUST be filled (From a Drop-Down lists if needed too).
    Edit

    and if I tried to move from C2 to any other cell, I need an Error Message tells me that "You MUST fill in this cell"

    End Edit

    If B2 = "No", then C2, D2, E2,.... CANNOT be filled at all.


    Is there any way to do so without VBA?

    Thanks in advance.
    Last edited by Kappany; 05-02-2016 at 09:52 AM.

  2. #2
    Forum Contributor
    Join Date
    01-18-2013
    Location
    Prague
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: If a cell contains "Yes", another cell MUST be filled, else, another cell cannot be fi

    You can make data validation for the cells C2:E2.
    Under validation criteria choose "Custom", and add the below formula.

    =$B$2="Yes"

  3. #3
    Registered User
    Join Date
    07-07-2015
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    23

    Re: If a cell contains "Yes", another cell MUST be filled, else, another cell cannot be fi

    It's not working, also kindly note that i'll need to make a drop-down lists in cells C2:E2 so using Validation now will not allow me to add drop-down lists later...

  4. #4
    Forum Contributor
    Join Date
    01-18-2013
    Location
    Prague
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: If a cell contains "Yes", another cell MUST be filled, else, another cell cannot be fi

    OK, I see. try with the formula below.
    Under validation criteria choose "List", and add the below formula.
    =IF($B$2="YES",$I$2:$I$4,"")

+ 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. Replies: 3
    Last Post: 01-29-2015, 02:36 PM
  2. [SOLVED] Excell - How do I "force" cell to be filled or return error mge.
    By NeedHelp-Thanks! in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  3. [SOLVED] Excell - How do I "force" cell to be filled or return error mge.
    By NeedHelp-Thanks! in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  4. [SOLVED] Excell - How do I "force" cell to be filled or return error mge.
    By NeedHelp-Thanks! in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  5. [SOLVED] Excell - How do I "force" cell to be filled or return error mge.
    By NeedHelp-Thanks! in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  6. [SOLVED] Excell - How do I "force" cell to be filled or return error mge.
    By NeedHelp-Thanks! in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  7. Replies: 5
    Last Post: 06-28-2005, 11:05 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