Permission & Access Issues

How to Protect an Excel Worksheet While Allowing Specific Cells to Be Edited

Steve KSteve K Nov 10, 2026 869 views

Question details

The user needs to protect an Excel workbook stored online but wants to allow specific input cells to remain editable by other collaborators.

How to Protect an Excel Worksheet While Allowing Specific Cells to Be Edited
Product
Excel / WPS Spreadsheet
Device & OS
not provided
Scenario
Collaborating on a shared spreadsheet where certain formulas or data must be locked, but designated areas require user input.
Observed behavior
The goal is to establish a partially protected worksheet where only selected cells are unlocked for editing without removing protection entirely.
Before you start

Identify and note down exactly which cells or ranges need to be edited by your collaborators before applying any worksheet protection.

Solution 1Recommended

Unlock Specific Cells and Protect the Worksheet

By default, all cells are locked when you protect a worksheet. You must manually unlock the specific cells first, then apply sheet protection.

This method works in both Excel desktop applications and Excel for the web. Remember that locking or unlocking cells has no effect until you actually protect the worksheet.

1
Select the Target Cells

Highlight the specific cells or ranges that you want other users to be able to edit.

2
Unlock the Cells

Right-click the selected cells and choose 'Format Cells'. Go to the 'Protection' tab and uncheck the 'Locked' box, then click OK.

3
Protect the Worksheet

Navigate to the 'Review' tab on the top ribbon and click 'Protect Sheet' (or 'Manage Protection' in Excel for the web).

4
Configure Protection Settings

Enter a password if required. Ensure that 'Select unlocked cells' is permitted, configure any other permitted actions, and click OK to enforce the protection.

Unlock Specific Cells and Protect the Worksheet
Testing the Protection: Share the workbook and open it with a standard user account to test if the correct cells are editable while the rest remain locked.
Advanced Spreadsheet Security

Easily Protect and Unprotect Cells with WPS Spreadsheet

WPS Office offers an intuitive and highly efficient way to manage worksheet protection. You can quickly unlock specific cells for collaboration while keeping sensitive data secure, all within a familiar interface.

  1. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open the spreadsheet you wish to protect.
  2. 2. Unlock the target cells: Select the cells you want users to edit, right-click, select 'Format Cells', go to the 'Protection' tab, and uncheck 'Locked'.
  3. 3. Apply Worksheet Protection: Go to the 'Review' tab, click 'Protect Sheet', enter an optional password, and confirm your settings to lock the rest of the file.
Selectively lock or unlock specific cell ranges in just a few clicks.Fully compatible with Microsoft Excel (.xlsx) file formats and protection passwords.Free, lightweight, and user-friendly alternative for all your office needs.
QA img-9

Frequently Asked Questions

Why can I still edit all cells after turning on 'Protect Sheet'?

If you can still edit all cells, you may have unchecked the 'Locked' property for the entire worksheet by mistake, or you entered the protection password to temporarily disable it. Ensure only your specific input cells are unlocked.

Can I allow different users to edit different cells in the same worksheet?

Yes. In the desktop versions of spreadsheet software, you can use the 'Allow Users to Edit Ranges' feature found under the Review tab. This lets you assign different passwords for different cell ranges.

How do I remove the protection from a locked worksheet?

Navigate to the 'Review' tab and click 'Unprotect Sheet'. If the sheet was protected with a password, you will be prompted to enter it before the protection is removed.

Does cell protection work when I share the file online?

Yes, when you upload and share the file via OneDrive, SharePoint, or WPS Cloud, the sheet protection and unlocked cell rules remain active, ensuring users can only edit the designated fields.