How to Trace Precedents and Dependents in a Protected Excel Worksheet
Question details
The user needs to trace precedents and dependents for formulas while a worksheet is protected.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Auditing formulas and visualizing cell relationships on a worksheet that has active password protection.
- Observed behavior
- Excel disables the Trace Precedents and Trace Dependents buttons entirely when a worksheet is protected, preventing users from tracking formula logic even if cells remain visible.
Ensure you have the correct password for the protected worksheet, as you will need to temporarily remove protection to access the formula tracing tools.
Manually Unprotect the Worksheet
The most straightforward way to use the tracing tools is to temporarily remove worksheet protection and reapply it once finished.
Microsoft Excel has a built-in limitation that prevents the use of auditing tools on secured sheets to maintain data integrity. Unprotecting the sheet restores full access to the Formulas tab.
Navigate to the Review tab on the Excel ribbon and click 'Unprotect Sheet' in the Protect group. Enter the password if prompted.
Click on the specific cell containing the formula you want to audit.
Go to the Formulas tab and click 'Trace Precedents' or 'Trace Dependents' to display the blue relationship arrows.

Use a VBA Macro Workaround
Create a VBA macro that automatically unprotects the sheet, runs the trace command, and immediately reprotects the sheet.
Try WPS Office for Seamless Spreadsheet Auditing
If you frequently encounter workflow limitations with Microsoft Office, consider switching to WPS Office. It provides a lightweight, free alternative with high compatibility for all your Excel files, familiar interfaces, and robust formula auditing tools.
- 1. Download WPS Office: Visit the official WPS website to download and install the free suite.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheet and open your existing .xlsx or .xls file.
- 3. Audit Formulas: Navigate to the Formulas tab to use tracing features on your unprotected sheets.

Frequently Asked Questions
Can I enable Trace Precedents while allowing users to select locked cells in a protected sheet?
No, Microsoft Excel completely disables the Trace Precedents and Trace Dependents features when worksheet protection is active, regardless of whether users have permission to select locked or unlocked cells.
Is there a keyboard shortcut to trace precedents in Excel?
Yes, after unprotecting the sheet, you can select the formula cell and press 'Ctrl + [' to select all direct precedent cells. To select dependent cells, use the shortcut 'Ctrl + ]'.
How do I remove the blue trace arrows after auditing my formulas?
To remove the trace arrows, navigate to the Formulas tab on the ribbon and click the 'Remove Arrows' button located in the Formula Auditing group.
Why are the Trace Precedents and Trace Dependents buttons grayed out?
These buttons are grayed out when the worksheet is protected, multiple worksheets are grouped together, or if you are currently editing a cell directly (in Edit mode). Ensure you press Enter to exit Edit mode and unprotect the sheet to restore access.




