How to Unlock Specific Cells in a Protected Excel Worksheet
Question details
The user needs to allow editing for specific cells while keeping the rest of the Excel worksheet protected.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Creating a data tracker or form where users need to input values into specific cells without altering complex formulas like VLOOKUP in other cells.
- Observed behavior
- By default, protecting a worksheet locks all cells. The goal is to change the lock status of individual cells before applying the global sheet protection.
Ensure you have the desktop version of Excel or WPS Office installed, as you need to adjust cell formatting properties before applying the worksheet protection.
Unlock Specific Cells and Apply Sheet Protection
Change the protection status of your target cells to 'unlocked' before enabling the Protect Sheet feature.
In Excel, all cells are locked by default, but this lock only takes effect when you protect the worksheet. To allow editing in specific cells, you must remove their locked status before applying protection to the entire sheet.
Open your workbook and select the specific cell or range of cells that you want users to be able to edit.
Press 'Ctrl+1' on your keyboard to open the Format Cells dialog box.
Navigate to the 'Protection' tab inside the Format Cells dialog, uncheck the 'Locked' box, and click 'OK'.
Go to the 'Review' tab on the top ribbon and click on 'Protect Sheet'.
Optionally enter a password to prevent unauthorized unlocking, click 'OK', confirm your password, and save the workbook.

Easily Lock and Unlock Cells with WPS Spreadsheet
WPS Office provides an intuitive and free way to manage worksheet protection. You can easily specify which cells users can edit and protect your important formulas while maintaining full compatibility with Microsoft file formats.
- 1. Select Cells: Open your spreadsheet in WPS Office and highlight the cells you want users to edit.
- 2. Unlock Cells: Right-click and select 'Format Cells', go to the 'Protection' tab, and uncheck 'Locked'.
- 3. Enable Protection: Navigate to the 'Review' tab on the ribbon and select 'Protect Sheet'.
- 4. Apply Password: Set your desired password and editing permissions, then click 'OK' to secure the sheet.

Frequently Asked Questions
Why can't I edit a cell even after unlocking it?
If you cannot edit a cell, you likely protected the sheet before unchecking the 'Locked' option in the Format Cells dialog. You must unprotect the sheet first, unlock the specific cells, and then reapply sheet protection.
Can I unlock cells directly in Excel for the web?
No, you cannot change the 'Locked' property of cells directly in Excel for the web. You must set this up in a desktop version like Microsoft Excel or WPS Office first. Once saved, the protection will function correctly when viewed in the web version.
How do I unprotect a sheet if I forget the password?
If you forget the password used to protect a worksheet, it cannot be recovered using built-in features. It is highly recommended to keep a secure record of any passwords used for worksheet protection.
Can I allow specific users to edit different ranges?
Yes, you can use the 'Allow Users to Edit Ranges' feature found under the Review tab before protecting the sheet. This allows you to set different passwords for different data ranges, granting specific access permissions to different users.




