How to Lock Excel Cells and Protect Data Validation Ranges
Question details
Protect specific columns from being edited while allowing users to select values from data-validation drop-down lists.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Sharing a spreadsheet where certain cells need to be restricted from editing or incorrect pasting, while specific drop-down lists remain functional for users.
- Observed behavior
- Users need to enforce cell locking and preserve data validation, noting that default cell locking only takes effect after worksheet protection is manually enabled.
Before proceeding, note that all cells in an Excel worksheet are locked by default, but this lock does nothing until you actively protect the worksheet. Decide exactly which cells you want users to edit before applying protection.
Unlock Editable Cells and Apply Worksheet Protection
Unlock the cells you want users to interact with, then protect the worksheet to enforce locking on the remaining cells and secure your data validation.
Worksheet protection is the primary method to prevent unauthorized editing and restrict destructive pasting over data validation rules. By default, locking protects the whole sheet, so you must selectively unlock the drop-down cells first.
Highlight the cells or columns containing the drop-down lists that you want users to interact with.
Right-click the highlighted cells, select 'Format Cells', and navigate to the 'Protection' tab. Uncheck the 'Locked' checkbox and click 'OK'.
Navigate to the 'Review' tab on the top ribbon and click on 'Protect Sheet'.
In the dialog box, ensure 'Protect worksheet and contents of locked cells' is checked. Select the actions users are allowed to perform (such as 'Select unlocked cells'), enter an optional password, and click 'OK'.

Easily Protect Worksheets and Data Validation with WPS Spreadsheet
WPS Spreadsheet provides robust protection features that let you securely lock specific cells, protect drop-down lists, and prevent unwanted data entry. It offers a highly compatible and intuitive interface for managing your document security.
- 1. Open your spreadsheet: Launch WPS Spreadsheet and open the document you wish to protect.
- 2. Unlock editable cells: Select the cells you want users to edit, right-click, choose 'Format Cells', go to the 'Protection' tab, and uncheck 'Locked'.
- 3. Protect the worksheet: Navigate to the 'Review' tab and click on the 'Protect Sheet' button.
- 4. Set permissions: Choose the permissions you want to grant, set a secure password if needed, and click 'OK' to enforce the cell locking.

Frequently Asked Questions
Why are my locked Excel cells still editable?
Cell locking only takes effect after you protect the worksheet. You need to go to the 'Review' tab and click 'Protect Sheet' for the locks to become active.
Can I completely disable pasting in Excel to protect data validation?
Excel does not have a built-in feature to completely disable pasting. However, fully protecting the worksheet prevents users from pasting over locked cells and altering your data validation rules.
How do I allow users to use a drop-down list in a protected sheet?
Before protecting the sheet, you must select the cell containing the drop-down list, go to 'Format Cells', and uncheck the 'Locked' box under the Protection tab. Once unlocked, protect the sheet, and the drop-down will remain fully functional.




