+ Reply to Thread
Results 1 to 4 of 4

Protect cells from writing with condition

  1. #1
    Forum Contributor
    Join Date
    05-19-2009
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2019
    Posts
    212

    Protect cells from writing with condition

    In cell A1 I can choose between apples, pears, oranges. When I choose apples than I have to write a number in B1 but when I choose pears I have to write a number in C1 and for oranges in D1.
    Is it possible that when I choose apples automatically cell C1 and D1 get blocked from writing and when I choose pears the cell B1 and D1 will get blocked?

  2. #2
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Protect cells from writing with condition

    in B1 Data / Validation / Custom Formula =if(A1="apples",true)
    in C1 Data / validation / custom / formula =if(A1="pears",true)
    in D1 Data / validation / custom / Formula =if(A1="oranges",true)

  3. #3
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Protect cells from writing with condition

    Now if you want to get funky in cell B1 change font to white then in conditional format --
    formula =$A$1="apples" and set font colour to black

  4. #4
    Forum Contributor
    Join Date
    05-19-2009
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2019
    Posts
    212

    Re: Protect cells from writing with condition

    I already have used in most of the cell Data validation. Can I use 2 different data validation for 1 cell? It looks like it doesn't give me that option.
    Your second idea of font white neither works as that there is nothing written. It is the idea to block the cell in order not being able to write anything.

+ 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