Forum Discussion

Pmuts's avatar
Pmuts
Copper Contributor
Jun 22, 2019

Protecting cells in EXCEL

I have created a spreadsheet for others to use with complicated manipulation and formulae. My desire is to protect the part of the cells so things can't be changed and leave the rest for user input. I did lock the desired cells and then protect the sheet but then all cells are unavailable for user input, rendering the complete sheet useless. Please direct me toward leaving the user input portion available.

4 Replies

  • Pmuts 

    Just an extra tip to the excellent replies already mentioned,

    The concept of protection in Excel is reversed, which means, when you click on Protect Sheet on the Review Tab (read the wording) it says "Protect Sheet and content of locked Cells."

    By default the 17,179,869 cells in any sheet are locked >> so all of them become protected. 

    So when I said the concept is reversed, I mean in Excel you specify what Not to protect by going to the Format Cell dialog Box CTRL + 1 >> Protection Tab >> uncheck Locked for the cell where you want to enable editing.

    Thanks

    Nabil Mourad

    • Gae365's avatar
      Gae365
      Copper Contributor

      nabilmourad 

      Hi, thanks for your suggestions. I've another question: 

      I've created several excel worksheets in various workbooks and I need to lock just some cells with specific formats (e.g. only cells in green for all the sheets and workbooks I created).

       

      Do you know a quick way / method to lock all such cells thanks to their specific format?

       

      thank you,

       

      Gaetano 

  • Pmuts 

    The key for you is unlocking the user-input cells before protecting the worksheet.

    The settings are on the Home Ribbon tab, Cells group, then either Lock Cells or Format Cells ...

    The latter will allow you to hide the formulae as well as protecting them from change.

  • Twifoo's avatar
    Twifoo
    Silver Contributor
    Lock the columns of your formula cells and unlock the columns of your input cells before you apply sheet protection with password.

Resources