How to Protect an Excel Sheet Except for Certain Cells (2 Ways)

We’ll use the following sample dataset to protect the sheet except for select cells.

Sample Data

Method 1 – Use the Protect Ribbon to Protect an Excel Sheet Except for Certain Cells

Steps

  • Click on the Review tab.
  • From the Protect ribbon, select Allow Edit Ranges.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Click on the New option.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Select the ranges (C5:C14) or cells which you want to keep unprotected.
  • Press Enter.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Click on Protect Sheet.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Type any password (e. 1234) you prefer.
  • Press Enter.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Retype the password to confirm.
  • Click OK.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Try to edit any cell except the range you selected.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Excel will show the warning message that the cells are protected.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Try to edit any cell (such as C5) from your selected range (C5:C14). You will be able to edit the cell.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

Notes: To unprotect the cells, follow the steps below:

  • Click on the Review tab.
  • Click on Unprotect Sheet.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Type in the password (e., 1234) you used to protect the sheet.
  • Click OK.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • You can now edit any unprotected cells.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

Read More: How to Protect Excel Sheet from Viewing Using Password


Method 2 – Utilize the Format Cells Option to Protect an Excel Sheet Except for Certain Cells

Steps:

  • To select multiple cells, hold the Ctrl key and click on the cells or drag over ranges. We have selected cells C5, C7, C9, and C10.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Right-click over the selection.
  • Select the Format Cells option from the list.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • In the Format Cells box, click on Protection.
  • Uncheck the Locked option.
  • Click OK.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

Notes: By default, in Excel Format Cells, the Locked option is enabled. Disabling the Locked option for selected cells means the selected cells will be unprotected.
  • Go to the Review tab and click on the Protect Sheet command.

Sample Data

  • Enter a password (e., 1234) you prefer.
  • Press Enter.

Sample Data

  • Retype the password.
  • Click OK.

Sample Data

  • If you attempt to change any cells that are not part of your selection, a warning message will appear informing you that the cells are protected.

Sample Data

  • However, you can edit the cells that were unlocked.

Sample Data

Read More: How to Protect Excel Sheet with Password


Download the Practice Workbook


Related Articles


<< Go Back to Protect Excel Sheet | Excel Protect | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Bhubon Costa
Bhubon Costa

Bhubon Costa, B.Sc. in Naval Architecture & Marine Engineering from Bangladesh University of Engineering & Technology, has worked with the ExcelDemy since 2021. Currently, he has been working as a reviewer. Notably, he has written over 90 articles and led several VBA content development teams. He has a great passion for the fields of data analytics and data science. His areas of expertise include Excel VBA, Power Query, Pivot Table, Power BI, MySQL, PostgreSQL, machine learning, and Python... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo