+ Reply to Thread
Results 1 to 6 of 6

Activate or Deactivate a cell

  1. #1
    Registered User
    Join Date
    08-07-2009
    Location
    Calcutta
    MS-Off Ver
    Excel 2000
    Posts
    15

    Activate or Deactivate a cell

    Hello

    I am trying to make a spreadsheet with an option of activated cells. Say, if I select YES in A1 cell (which is limited by YES and NO with data validation), the B1 will be activated to enter data. But I select the NO option, the B1 cell will remain deactivated and data cannot be entered into the B1 cell.

    Can anyone please suggest a less complicated way ?
    Last edited by aronyo; 12-18-2011 at 10:14 AM.

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Activate or Deactivate a cell :: How to ?

    Try setting a custom validation for B1, using the formula

    =$A$1="YES"

  3. #3
    Registered User
    Join Date
    08-07-2009
    Location
    Calcutta
    MS-Off Ver
    Excel 2000
    Posts
    15

    Re: Activate or Deactivate a cell :: How to ?

    Thank you for your help.

    As i have mentioned earlier, I want this B1 cell will be activated only when YES is selected in A1 cell. But the B1 is suppose to have an another Data Validation Rule with a small list of AGENT & DIRECT. So how to combine the both Data Validation rules ?

    Thanks again for your support.

  4. #4
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Activate or Deactivate a cell :: How to ?

    aronyo,

    To make the second list dependent on the first, create a named range named "YES" and have it include AGENT and DIRECT. Then use this formula as the List validation for the second list, changing $A$1 if it's not your first list location.

    =INDIRECT(SUBSTITUTE($A$1," ","_"))

    HTH,
    Rich

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Activate or Deactivate a cell

    Hello aronyo,

    What dangelor gave you works fine. If you don't want to use Named Ranges, you could use this Formula in your Data Validation. First enter Yes in Cell A1, and then go to Cell B1 to enter the Data Validation Formula.

    Please Login or Register  to view this content.
    For the purpose of this exercise I have assumed that your Data Validation List for B1 would be in Column B, Cells 9 down to 11.

    Good Luck!

  6. #6
    Registered User
    Join Date
    08-07-2009
    Location
    Calcutta
    MS-Off Ver
    Excel 2000
    Posts
    15

    Re: Activate or Deactivate a cell

    Thanks a lot. It solved my problem.

+ 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