How to Prevent Users from Changing PivotTable Fields in Excel
Question details
The user needs to restrict report viewers from modifying PivotTable fields to maintain data integrity.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Sharing Excel reports containing PivotTables with other users who should view the data but not alter its structure.
- Observed behavior
- Users can manually change PivotTable fields, which poses a data-quality risk if changes remain after a refresh.
Ensure your PivotTable is fully configured, formatted, and refreshed with the latest data before applying protection settings, as you will not be able to modify it once locked.
Use Protect Sheet to Lock PivotTable Fields
Applying worksheet protection while denying PivotTable permissions is the most effective way to lock your PivotTable fields in Excel.
Excel does not provide a standalone feature to lock only a PivotTable independent of the worksheet. To prevent users from altering PivotTable fields, you must protect the entire worksheet while specifically disabling PivotTable interactions.
Open your Excel workbook, select the worksheet containing the PivotTable, and click on the 'Review' tab located on the top ribbon.
Click on 'Protect Sheet'. A dialog box will appear prompting you to specify user permissions and optionally enter a password.
Scroll through the list under 'Allow all users of this worksheet to'. Make sure the checkbox for 'Use PivotTable & PivotChart' is completely cleared (unchecked).
Enter a secure password (optional but recommended), click 'OK', and re-enter the password to confirm. Users will no longer be able to modify the PivotTable fields.

Combine Protection with Allow Edit Ranges
Use this method if users need to input data in other parts of the worksheet but must remain restricted from changing the PivotTable.
Protect Your PivotTable Reports for Free with WPS Office
WPS Office Spreadsheet provides robust worksheet protection features, allowing you to easily lock PivotTables and prevent unauthorized field changes while retaining full compatibility with Microsoft Excel.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open the workbook containing your PivotTable.
- 2. Navigate to the Review tab: Click on the 'Review' tab located at the top of the application window.
- 3. Select Protect Sheet: Click the 'Protect Sheet' button to open the security and permissions settings.
- 4. Uncheck PivotTable permissions: Ensure the 'Use PivotTable and PivotChart' option is unchecked, enter a secure password, and click OK to lock your report.

Frequently Asked Questions
Can I lock just the PivotTable without protecting the entire worksheet?
No, Excel does not have a standalone feature to lock only a PivotTable. You must protect the worksheet. However, you can unlock all other cells in the worksheet (Format Cells > Protection > uncheck Locked) before protecting the sheet, which effectively leaves only the PivotTable locked.
How do I permanently hide the PivotTable Field List?
You can temporarily hide it by right-clicking the PivotTable and selecting 'Hide Field List', or clicking 'Field List' on the PivotTable Analyze tab. However, without applying 'Protect Sheet', any user can simply right-click and choose 'Show Field List' to bring it back.
Does protecting the PivotTable also prevent data refreshing?
Yes, standard worksheet protection that disables PivotTable usage will also prevent users from refreshing the data. If your users strictly need to refresh data without modifying fields, you may need to implement VBA macros or adjust specific external connection properties prior to locking.




