Easily Lock and Unlock Cells in Microsoft Excel
by Avantix Learning Team | Updated December 31, 2017
Applies to: Microsoft® Excel® 2010, 2013 and 2016 (Windows)
It’s easy to lock and unlock cells in Excel to prevent users from changing data or formulas. This involves a two-step process. First, unlock the cells where you want to allow users to make changes to the data or formula and then protect the remaining cells in the worksheet.
Recommended article: 10 Excel Data Entry Tricks and Shortcuts Every User Should Know
Unlocking specific cells
The first step in this process is to unlock cells where you want to allow users to make changes to the data or formula:
- Select the cells you wish to unlock.
- Right-click the selected cell(s) and choose Format Cells or press Control + 1. The Format Cells dialog appears.
- Click the Protection tab.
- Uncheck Locked.
- Click OK. Nothing will appear to occur until you protect the sheet.
Locking remaining cells by protecting the worksheet
The second step in this strategy is to protect the sheet using the Review tab on the Ribbon:
- Display the worksheet you want to protect.
- Click the Review tab in the Ribbon.
- In the Changes group, click Protect Sheet. A dialog box appears.
- Check or uncheck the desired options (it’s usually best to leave the first two checked). Be sure to scroll down to see all of the available options.
- Enter a password (you will need to set a password if you don’t want others to be able to unprotect the sheet). Passwords are case sensitive and you should keep a copy of your passwords.
- Enter the password again.
- Click OK. You will be unable to enter or change data or formulas in the locked cells.
Unprotecting the sheet
To unprotect the sheet:
- Display the desired sheet.
- Click Unprotect Sheet on the Review tab in the Ribbon.
- Enter the appropriate password.
- Click OK.
Did you find this article helpful? If you would like to receive new articles, join our email list.
To request this page in an alternate format, contact us.
Related Microsoft Office Training Courses
Copyright 2019 Avantix® Learning Inc.
You may also like
You can easily show or hide formulas in a number of ways in Microsoft Excel. You can use a keyboard shortcut, click a button and even use a formula to show formulas …
You can use 3D references in Excel formulas to calculate across multiple worksheets that are structured in the same way. A 3D reference refers to the same cell or range of cells on multiple worksheets.
As many Excel worksheets can become quite large, it can be useful to freeze row and column headings so that they are locked in place when you scroll through your worksheet. In Excel, you can freeze both row headings and column headings or just one.
Microsoft, the Microsoft logo, Microsoft Office and related Microsoft applications and logos are registered trademarks of Microsoft Corporation in Canada, US and other countries. All other trademarks are the property of the registered owners.
Avantix Learning | 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada M5E 1W7 | firstname.lastname@example.org