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

You may need to secure your data when dealing with confidential analysis. When you wish to protect individual cells in a worksheet, however, it becomes a task. So, we are here to show you how to protect an Excel sheet except for certain cells.


How to Protect an Excel Sheet Except for Certain Cells: 2 Handy Approaches

In the figure below, we’ve offered a data set in which we will protect the whole sheet except for a few cells. In the first approach, we’ll use the Review tab in Excel to secure the particular cells. Later on, we will use the Format Cells option to do the same.

Sample Data

1. Use Protect Ribbon to Protect an Excel Sheet Except for Certain Cells

Step 1: Use the Review Tab

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

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

Step 2: Select the Range/Cells

  • Click on the New option.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Select the ranges (C5:C14) or cells to keep them unprotected from the whole sheet.
  • Then, press Enter.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

Step 3: Protect Sheet

  • After selecting the range, click on the 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 again to confirm.
  • Then, click OK.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

Step 4: Final Result

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

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Therefore, it will show the warning message that the cells are protected.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • On the other hand, try to edit any cell (C5) from your selected range (C5:C14).
  • Consequently, you can edit the cell as the cell (C5) is unprotected.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

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

Step 1: Utilize the Review Tab

  • Firstly, click on the Review tab.
  • Then, click on the Unprotect Sheet.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

Step 2: Enter Password

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

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

  • Therefore, 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


2. Utilize Format Cells Option to Protect an Excel Sheet Except for Certain Cells

We can use the Format Cells option to separate the selected cells and then protect the whole sheet. Thus, the whole sheet will be protected without the cells we will select. Follow the outlined steps below to do the task.

Step 1: Select Cells Or Range

  • To select multiple cells, hold the Ctrl key and click on the preferred cells.
  • As you can see, we have selected cells C5, C7, C9, and C10.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

Step 2: Open the Format Cells Dialog Box

  • Right-click the mouse over the selection of cells.
  • To open the Format Cells box, select the Format Cells option from the list.

Handy Approaches to Protect an Excel Sheet Except for Certain Cells

Step 3: Use the Protection Tab

  • In the Format Cells box, click on the Protection.
  • Uncheck the Locked option.
  • Then, 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.

Step 4: Protect the Sheet

  • Go to the Review tab and click on the Protect Sheet command.

Sample Data

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

Sample Data

  • Retype the password to make the confirmation.
  • Finally, click OK.

Sample Data

  • As a result, 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

  • If you try to edit any cell that was in your selection, you can edit the cells without any complexity.

Sample Data

Read More: How to Protect Excel Sheet with Password


Download Practice Workbook

Download this practice workbook to exercise while you are reading this article.


Conclusion

I hope this article has given you a tutorial about how to protect an Excel sheet except for certain cells. All of these procedures should be learned and applied to your dataset. Take a look at the practice workbook and put these skills to the test. We’re motivated to keep making tutorials like this because of your valuable support.

Please contact us if you have any questions. Also, feel free to leave comments in the section below. Stay with us and keep learning.


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