TABLE OF CONTENTS

How To Lock Cells In Excel

Cell locking is a security feature that limits access to specific cells in Excel.

7 minute read
How to lock cells in Excel

Locking cells in Excel is an excellent way to safeguard your data from changes by others. This applies to specific cells, or alternatively, to the whole sheet. In this article, we will look at different ways to lock or unlock cells, rows, columns, or entire sheets in Excel.

Why Lock Cells in Excel?

Locking a cell in Excel and securing your file is the ideal solution for preserving your work and being able to share it with whomever you want. 

To lock a worksheet in Excel, you must first go to the "Review” tab. As shown in the image below, click on the “Protect Sheet” option to access a window that will allow you to put the password on the Excel sheet if desired.

Why lock cells in Excel?

But how do you unlock the cells in Excel? Simply deselect the "Unprotect Sheet" option in the "Review" section, entering the password if applicable.

How to lock specific cells in Excel?

To lock specific cells, follow these steps:

  • Step 1: The first thing to do is to select the specific cells you want locked in Excel. 
Step 1.

Step 2: Right-click on the highlighted cells, and from the drop-down menu, select the Format Cells icon.

Step 2.

Step 3: Click on the Protection tab (the last item in the window). Deselect the "Locked" option (which is selected by default) and save everything by clicking  "OK." 

Step 3.

Now, we can lock Excel cells. All we have to do is go to the main screen, click on the "Review" tab, click " Protect sheet" then click on "OK." The result is clear; even after locking the worksheet, each user will still have the possibility to modify the cells we have not locked.

Another way to lock or unlock cells in Excel

Here’s another way to lock cells in Excel:

Step 1:  Right-click on the Worksheet tab at the bottom of the screen.

Step 1.

Step 2: Select the “Protect Sheet” option and a dialog box will appear. You can choose to protect your Excel sheet with a password or leave the "Protect your password in Excel" field blank.

Step 2.

Step 3: Choose from the list you want to allow in your secure sheet and click “OK.” If you choose to enter your password, a Confirm Password dialog box will appear. Type your password again to complete the process.

Step 3.

How to open specific cells in a protected sheet?

When you want to edit specific cells in a protected Excel sheet. You can unlock individual cells in your sheet with a password. To do this: 

Step 1: Select cells or ranges you want to open in a password-protected sheet.

Step 1.

Step 2: In the “Review” tab, click on the “Allow Edit Ranges” option. Please note that you must first unlock the sheet to access the option. When you click the option mentioned above a dialog box titled “Allow Users to Edit Ranges” will appear. Click on the “New” option.

Step 2.

Step 3: A “New Range” dialog box will appear where you can set the “Title,” “Refers to cells,” and “Range Password” options. In the “Title” field, enter a name for your selection. In the “Refers to cells” field, type the range of cells if the selected range is now showing or you want to change it.

Step 3.

Step 4: Then, type your password in the “Range Password” field and click OK. Now, type your password again in the "Confirm Password" dialog box and click "OK" to finalise it. A new range will be added. You can follow the steps again to create multiple ranges.

Step 4.

Step 5: Click the "Protect Sheet" button in the Review tab. Then, type a password in a “Protect Sheet” window for the entire sheet, choose the actions you want to allow, and click “OK.”

Step 5.

Step 6: Type your password again in the confirmation window, and your job is done.

Now, even if your sheet is protected, some protected cells will have an extra layer of protection and will only be unlocked with a password. You can also grant access to ranges without having to enter a password each time:

Step 1: Click the “Allow Edit Ranges” option from the tab. Select a range and click the “Permissions” button.

Step 1.

Step 2: Click the “Add” button in the window. 

Step 2.


Step 3: Enter usernames in the “Enter object names to select” box. You can type the person's username as it is stored in your range. Click OK.

Step 4: Now select the permission for each user under “Group or Usernames” and select the Allow option. Click “OK,” and your job is done.

Step 4.

These are all the different ways you can lock or unlock Excel cells. Knowing how to secure your page is essential to protect it from accidental changes. You can protect or unprotect cells in an Excel sheet all at once or only select a specific range. You can also grant some users access with or without a password. Follow the steps above carefully, and you should be set!

Additional Resources 

If you found this article useful, consider checking out our Excel for Business & Finance Course, where we help students learn the technical skills needed to perform in competitive finance and investment roles. Use this course to join our students who have landed roles at Goldman Sachs, Amazon, Bloomberg, and other great companies! 

Other Articles You Might Find Helpful 

  • How to Unhide Columns and Rows in Excel: Learn how to quickly unhide columns and rows in Excel with real examples and suggested alternatives.
  • How Many Rows Can Excel Handle?: Learn all about rows and columns in Excel, from hiding to inserting and deleting them.
  • How to Freeze Rows and Columns in Excel: Learn how to freeze rows and columns in Excel with our simple guide featuring simple, step-by-step breakdowns and real examples.
  • Excel ROUNDUP Function: Learn how to use the ROUNDUP function in Excel with usage directions, input definitions, and example use cases.

Introduction

Building a cash flow statement from scratch using a company income statement and balance sheet is one of the most fundamental finance exercises commonly used to test interns and full-time professionals at elite level finance firms.

Test hyperlink

Image caption goes here
Sample Image Insertion
Dolor enim eu tortor urna sed duis nulla. Aliquam vestibulum, nulla odio nisl vitae. In aliquet pellentesque aenean hac vestibulum turpis mi bibendum diam. Tempor integer aliquam in vitae malesuada fringilla.

Elit nisi in eleifend sed nisi. Pulvinar at orci, proin imperdiet commodo consectetur convallis risus. Sed condimentum enim dignissim adipiscing faucibus consequat, urna. Viverra purus et erat auctor aliquam. Risus, volutpat vulputate posuere purus sit congue convallis aliquet. Arcu id augue ut feugiat donec porttitor neque. Mauris, neque ultricies eu vestibulum, bibendum quam lorem id. Dolor lacus, eget nunc lectus in tellus, pharetra, porttitor.

  • Test Bullet List 1
  • Test Bullet List 2
  • Test Bullet List 3
"Ipsum sit mattis nulla quam nulla. Gravida id gravida ac enim mauris id. Non pellentesque congue eget consectetur turpis. Sapien, dictum molestie sem tempor. Diam elit, orci, tincidunt aenean tempus."

Tristique odio senectus nam posuere ornare leo metus, ultricies. Blandit duis ultricies vulputate morbi feugiat cras placerat elit. Aliquam tellus lorem sed ac. Montes, sed mattis pellentesque suscipit accumsan. Cursus viverra aenean magna risus elementum faucibus molestie pellentesque. Arcu ultricies sed mauris vestibulum.

Conclusion

Morbi sed imperdiet in ipsum, adipiscing elit dui lectus. Tellus id scelerisque est ultricies ultricies. Duis est sit sed leo nisl, blandit elit sagittis. Quisque tristique consequat quam sed. Nisl at scelerisque amet nulla purus habitasse.

Nunc sed faucibus bibendum feugiat sed interdum. Ipsum egestas condimentum mi massa. In tincidunt pharetra consectetur sed duis facilisis metus. Etiam egestas in nec sed et. Quis lobortis at sit dictum eget nibh tortor commodo cursus.

Odio felis sagittis, morbi feugiat tortor vitae feugiat fusce aliquet. Nam elementum urna nisi aliquet erat dolor enim. Ornare id morbi eget ipsum. Aliquam senectus neque ut id eget consectetur dictum. Donec posuere pharetra odio consequat scelerisque et, nunc tortor.
Nulla adipiscing erat a erat. Condimentum lorem posuere gravida enim posuere cursus diam.

Kenji Farre
Kenji Farre
Senior Instructor

Ready to Level Up Your Career?

Learn the practical skills used at Fortune 500 companies across the globe.