+ Reply to Thread
Results 1 to 3 of 3

Lock cells based on validation cell

  1. #1
    Registered User
    Join Date
    11-21-2017
    Location
    SYDNEY
    MS-Off Ver
    2016
    Posts
    35

    Lock cells based on validation cell

    Hello,

    i have data validation in a col and based on that i want the cells to lock. the problem is that i need to have the formula too. Please see attached, locking of only grey cells in the attached.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Lock cells based on validation cell

    1st, you cannot have data validation AND a formula in the same cell, it is 1 or the other.

    2nd, (have not looked at your file), but if you want other cells to not allow entering, depending on if the DV has something in it, then you need to apply DV to those cells
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-21-2017
    Location
    SYDNEY
    MS-Off Ver
    2016
    Posts
    35

    Re: Lock cells based on validation cell

    no, DV and formula not in the same cell

+ 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] lock cells based on negative value in another cell
    By tkinnard in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-09-2016, 04:56 PM
  2. Lock Cells based on value of another cell in a Table
    By 2dang in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-14-2016, 09:51 AM
  3. lock cells based on another cell value inexcel
    By chavanalini in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 02-12-2014, 01:53 PM
  4. lock cell based on data validation list in another cell
    By jamied2000 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2014, 12:43 PM
  5. How to Lock a cell based on option picked from a data validation list
    By dp0875 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-31-2013, 10:53 AM
  6. Replies: 0
    Last Post: 05-27-2011, 12:01 PM
  7. Lock cells within a row based on cell value
    By PY_ in forum Excel General
    Replies: 2
    Last Post: 11-14-2010, 12:40 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