logo
search
Office Settings & Configuration

How to Protect Excel Worksheets While Allowing Specific Formatting Changes

Amos GikundaAmos Gikunda Oct 12, 2026 870 views

Question details

Use worksheet protection to restrict general changes while selectively allowing users to enter data and apply specific formats, such as a strikethrough, to particular cells.

Protect Excel Worksheets While Allowing Specific Formatting Changes
Product
Excel
Device & OS
not provided
Scenario
Sharing a worksheet where users need to input data and make minor formatting changes without breaking the overall design or modifying locked formulas.
Observed behavior
Designated cells remain editable and accept formatting actions, while the rest of the worksheet is locked and fully protected from unauthorized changes.
Before you start

Identify exactly which cells need to remain editable and determine what specific formatting actions your users will need to perform before applying worksheet protection.

Solution 1Recommended

Unlock Specific Cells and Apply Sheet Protection

Configure cell properties to unlock specific areas, then apply sheet protection with customized permissions.

By default, all cells in an Excel worksheet are locked, but this locking has no effect until you protect the worksheet. To allow specific changes, you must first unlock the target cells and then specify the allowed actions during the protection phase.

1
Select Editable Cells

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

2
Unlock the Selected Cells

Right-click the selected cells and choose 'Format Cells'. Navigate to the 'Protection' tab and uncheck the 'Locked' box. Click 'OK'.

3
Open the Protect Sheet Dialog

Go to the 'Review' tab on the Excel ribbon and click 'Protect Sheet'.

4
Configure Permitted Actions

In the 'Allow all users of this worksheet to' list, check the boxes for the actions you want to permit, such as 'Format cells', 'Insert rows', or 'Sort'.

5
Set a Password (Optional but Recommended)

Enter a password in the password field to prevent unauthorized users from removing the protection. Click 'OK', re-enter the password to confirm, and click 'OK' again.

Unlock Specific Cells and Apply Sheet Protection
Permissions Applied: Your worksheet is now protected. Users can only edit the unlocked cells and perform the formatting actions you explicitly permitted.
Seamless Worksheet Protection

Secure Your Spreadsheets with WPS Office

WPS Spreadsheet provides intuitive and robust tools to lock cells and protect your worksheets. You can easily define user permissions, allow specific formatting changes, and safeguard your data with a familiar interface.

  1. 1. Select Unlocked Cells: Open your file in WPS Spreadsheet and highlight the cells you want users to edit.
  2. 2. Modify Cell Protection: Right-click, select 'Format Cells', go to the 'Protection' tab, and uncheck 'Locked'.
  3. 3. Protect the Worksheet: Navigate to the 'Review' tab and click the 'Protect Sheet' button.
  4. 4. Set Formatting Permissions: Check 'Format cells' and any other actions you want to allow, then enter a secure password.
  5. 5. Confirm and Apply: Click 'OK', confirm your password, and your customized worksheet protection will be instantly applied.
Intuitive cell locking and granular permission settings.Seamless compatibility with Microsoft Excel (.xlsx, .xls) files.Free, lightweight, and fast alternative for daily spreadsheet management.Advanced security options to password-protect sensitive documents.
microsoft office alternative - wps office

Frequently Asked Questions

Can I allow users to format cells but prevent them from changing the data?

Yes. When setting up 'Protect Sheet', you can leave the cells 'Locked' to prevent data entry, but check the 'Format cells' option in the permissions list. This allows formatting changes without compromising cell content.

What happens if I forget the worksheet protection password?

Spreadsheet software generally does not provide a built-in way to recover a lost worksheet protection password. It is highly recommended to store your passwords securely, as you will not be able to modify the protection settings without it.

Does protecting a worksheet encrypt my entire Excel file?

No, the 'Protect Sheet' feature only restricts user modifications to locked cells within that specific worksheet. To fully encrypt the entire file and require a password to open it, you must use the 'Encrypt with Password' feature found in the Save or File Info options.