+ Reply to Thread
Results 1 to 3 of 3

Restrict cell data entry based on another cell value

  1. #1
    Registered User
    Join Date
    03-18-2021
    Location
    Aberdeenshire
    MS-Off Ver
    10
    Posts
    21

    Question Restrict cell data entry based on another cell value

    Hi All,

    I am new here, it seems to be the best place for all things excel help for sure!! I have a problem which I have tried to find the answer to but cannot find anything so far.

    The problem is this: I am trying to make excel block editing for a set of cells based on whether another cell contains either "Yes" or "No". I know you can do this with Data Validation, however I already have Data Validation in some of my cells which I would prefer to keep as drop down lists. I have also used the Data Validation rule for blocking entry in cells in this selection based on the drop downs on the left of the data entry cell/

    Is there a way around this? I have attached a sample sheet which contains basically what I am working with. I would like Cell J1 to be the reference. If J1 contains "Yes" then all cells below are editable. If J1 says "No" then I would like to block entry to all the other cells.

    Any help or ideas would be appreciated.

    Thankyou!!
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Restrict cell data entry based on another cell value

    I think that you mean cell I1 as trigger.

    Put this:

    Please Login or Register  to view this content.
    into sheet1 code.
    Attached Files Attached Files
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Registered User
    Join Date
    03-18-2021
    Location
    Aberdeenshire
    MS-Off Ver
    10
    Posts
    21

    Re: Restrict cell data entry based on another cell value

    Thankyou for your quick reply.

    You are correct - I did mean I1 (I thought I had put a row in front of A so it could be J1 to make it easier to read!).

    That has worked perfectly - thankyou!

+ 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. Restrict value entry in cell based on another cell value
    By Pirvu Vali in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2018, 02:23 AM
  2. Replies: 1
    Last Post: 05-23-2017, 12:05 PM
  3. Replies: 3
    Last Post: 12-18-2015, 03:16 PM
  4. restrict data entry basing on adjacent cell value
    By tkraju in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2014, 01:45 PM
  5. Restrict entry in various cells based on drop down choice in another cell
    By Stretch617 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2013, 04:09 PM
  6. Restrict data entry based on another cell
    By northbank in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-13-2012, 11:33 AM
  7. NEED HELP - How to disable a cell to restrict data entry
    By Sriram in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-18-2006, 10:50 AM

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