Do Hidden Excel Rows Recalculate When Opened? Fix #REF! Errors
Question details
The user needs to know if hidden cells recalculate upon opening a workbook and how to resolve the resulting #REF! errors or circular dependency loops when revealing these areas.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Opening an Excel workbook containing hidden rows or columns that harbor broken formulas, deleted references, or circular dependencies.
- Observed behavior
- Formulas within hidden rows continue to calculate when the workbook opens or recalculates. When these areas are unhidden, they display #REF! errors due to deleted referenced cells, or they trap the workbook in an endless circular reference loop.
Before unhiding any problematic rows or columns, locate the Calculation Options under the Formulas tab in your ribbon, as you will need to switch the workbook to manual calculation to prevent Excel from freezing.
Set Calculation to Manual and Audit Hidden Formulas
Switching Excel to Manual Calculation stops automatic recalculation, allowing you to safely unhide rows, inspect broken formulas, and fix errors without crashing the application.
By default, Excel recalculates all formulas whenever a workbook is opened or modified, even if those formulas are hidden. If the hidden formulas reference cells that have been moved or deleted, the recalculation triggers a #REF! error or a circular reference.
Using manual calculation pauses this process so you can use formula auditing tools to trace the root cause.
Open your workbook and immediately navigate to the 'Formulas' tab. Click on 'Calculation Options' in the Calculation group, and select 'Manual' from the drop-down menu.
Select the rows or columns that surround the hidden area. Right-click the row numbers or column letters, and choose 'Unhide' from the context menu to reveal the cells safely.
Click on a cell displaying the #REF! error. On the 'Formulas' tab, click 'Trace Precedents' or use the 'Error Checking' tool to visually identify which deleted or moved cells the formula is trying to reference.
Correct the invalid cell references within the formula bar. Once corrected, press the 'F9' key or click 'Calculate Now' on the Formulas tab to verify the errors are resolved.
After all #REF! errors and circular references are fixed, return to the 'Formulas' tab, click 'Calculation Options', and switch it back to 'Automatic'.

Audit and Fix Formula Errors Easily in WPS Spreadsheet
WPS Spreadsheet provides powerful formula auditing tools and precise calculation controls, allowing you to manage hidden rows, identify circular references, and fix broken formulas safely.
- 1. Enable Manual Calculation: Open the problematic workbook in WPS Spreadsheet. Go to the 'Formulas' tab, click 'Calculation Options', and check 'Manual'.
- 2. Unhide Problematic Cells: Highlight the headers adjacent to your hidden data, right-click, and select 'Unhide' to view the formulas without triggering a recalculation.
- 3. Trace the Error: Select the cell showing the error. Under the 'Formulas' tab, click 'Error Checking' or 'Trace Precedents' to pinpoint the broken cell references.
- 4. Update and Recalculate: Adjust your formulas to reference valid cells, then press F9 to manually recalculate the sheet and confirm the issue is fixed.

Frequently Asked Questions
Why do my formulas suddenly show #REF! after unhiding rows?
While the rows were hidden, you may have deleted or moved cells that those hidden formulas depended on. Once unhidden and recalculated, the spreadsheet realizes the original referenced cells no longer exist, resulting in a #REF! (invalid reference) error.
How can I locate circular references hidden within a large workbook?
Navigate to the Formulas tab, click the drop-down arrow next to the 'Error Checking' button, and hover your mouse over 'Circular References'. A submenu will appear displaying the exact cell addresses that are causing the infinite calculation loop.
What is the difference between pressing F9 and Ctrl+Alt+F9?
Pressing the F9 key calculates only the formulas that have changed since the last calculation operation. In contrast, Ctrl+Alt+F9 forces a complete recalculation of absolutely all formulas in all open workbooks, regardless of whether any data has been modified.




