How to Protect Excel Table Columns While Allowing New Rows
Question details
The user needs to lock specific columns in an Excel table to prevent editing, while keeping other columns editable and allowing users to insert new rows.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Securing a shared Excel table to prevent accidental changes to formula or reference columns, while allowing continuous data entry in permitted columns.
- Observed behavior
- Specific columns remain locked and protected, while permitted columns stay editable and users retain the ability to insert new rows at the end of the table.
Before protecting your worksheet, verify that your data is organized as a formal Table and identify exactly which columns need to be locked versus left editable.
Unlock Specific Columns and Enable Row Insertion
The most effective method is to format your cells first by unlocking the editable columns, and then applying worksheet protection with row insertion enabled.
By default, all cells in an Excel worksheet are marked as 'Locked', but this property only takes effect when you turn on sheet protection. To allow editing in specific areas, you must unlock those cells first.
Highlight the columns or specific cells within your table where you want users to be able to enter or modify data.
Right-click the highlighted cells and choose 'Format Cells'. Go to the 'Protection' tab, uncheck the 'Locked' box, and click 'OK'.
Ensure there is an empty row directly at the bottom of your table. This allows users to select it for inserting new rows later without conflicting with table boundary limits.
Navigate to the 'Review' tab on the top ribbon and click on 'Protect Sheet'. You will be prompted to set an optional password.
In the 'Allow all users of this worksheet to:' checklist, scroll down and check the box for 'Insert rows'. Click 'OK' to apply the protection.

Protect Spreadsheets Easily with WPS Spreadsheet
WPS Spreadsheet offers an intuitive way to manage worksheet protection, allowing you to easily lock specific columns while enabling data entry and row insertion for your team.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your .xlsx file containing the table.
- 2. Unlock editable cells: Select the columns to be edited, right-click, choose 'Format Cells', go to the 'Protection' tab, and uncheck 'Locked'.
- 3. Apply sheet protection: Navigate to the 'Review' tab on the ribbon and click 'Protect Sheet'.
- 4. Allow row insertion: In the protection dialog box, ensure 'Insert rows' is checked, set a password if desired, and click 'OK'.

Frequently Asked Questions
Why is the 'Insert' option grayed out even after allowing row insertion?
This typically happens if you are trying to insert a row inside the table but haven't left an empty row at the bottom, or if you select a completely locked row. Ensure an empty row exists at the end of your table before protecting the sheet.
Can I allow users to format cells in the editable columns?
Yes. When setting up 'Protect Sheet', you can check the options for 'Format cells', 'Format columns', or 'Format rows' to give users more control over the unlocked areas while still keeping your formulas safe.
Do I need a password to protect the sheet?
A password is optional. If you don't enter one, anyone can click 'Unprotect Sheet' to remove the restrictions. Using a password prevents unauthorized users from changing your protection settings.




