+ Reply to Thread
Results 1 to 6 of 6

Block access to data validation list if value in column A is blank

  1. #1
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Block access to data validation list if value in column A is blank

    Hi all,

    It's been a while since I was last on here.

    I have a spreadsheet with a data validation list in cell B1. However, the drop down list should only be accessible if cell A1 is anything other than blank. If cell A1 is blank, then access to the drop down list must be restricted i.e. no values can be placed in cell B1.

    Anyone know how to achieve this?

    Regards

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Block access to data validation list if value in column A is blank

    I see one way of going about this that doesn't require VBA.

    You may be able to create a dependent drop down list where:

    1) If A1 = blank, available values = nothing/blank
    2) If A1 ≠ blank, available values = whatever you want in your list

    Does this sound acceptable to you?
    Last edited by 63falcondude; 04-24-2018 at 08:31 AM.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Block access to data validation list if value in column A is blank

    Try

    with blank cell named "Blank"

    in DV

    LIst

    source:

    =IF(A1<>"",MyList,Blank)

    Mylist is dropdown list

  4. #4
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Re: Block access to data validation list if value in column A is blank

    Thanks John. I knew you'd come up with a solution to this! Cheers, works perfectly.

  5. #5
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Re: Block access to data validation list if value in column A is blank

    Thanks Falcondude. Unfortunately I've only just got round to looking at my emails as since John's was the most recent reply, it was the email I saw at the top of my inbox. I'm sure this would have been a perfectly good solution, but John's works perfectly too.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Block access to data validation list if value in column A is blank

    You're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] Adding a blank in Data Validation List?
    By Pheasant Plucker® in forum Excel General
    Replies: 15
    Last Post: 09-18-2018, 08:49 AM
  2. Replies: 4
    Last Post: 05-18-2017, 04:27 AM
  3. [SOLVED] Worksheet Change help: do not show validation list (Column D) if column A is blank
    By skyping in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2016, 10:16 AM
  4. Replies: 1
    Last Post: 07-11-2013, 02:39 PM
  5. Replies: 1
    Last Post: 09-26-2012, 04:13 PM
  6. Data Validation List with only non-blank cells
    By mv835 in forum Excel General
    Replies: 10
    Last Post: 12-20-2009, 02:51 AM
  7. Data Validation List That Ignores The Blank Cells
    By nevi in forum Excel General
    Replies: 4
    Last Post: 06-12-2008, 03:54 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