How to Fix #NAME? and Circular Reference Errors in Excel
Question details
The user needs to identify and resolve #NAME? errors as well as circular reference warnings that are causing formula calculation issues in their spreadsheet.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Troubleshooting incorrect formula results or error warnings when working with complex calculations in a workbook.
- Observed behavior
- The spreadsheet displays a #NAME? error message in certain cells, or throws a warning about a circular reference where a formula refers back to its own cell, preventing accurate calculation.
Save a copy of your workbook before modifying complex formulas to ensure you do not lose any critical data during the troubleshooting process.
Locate and Resolve Circular References
Use the built-in Error Checking feature to find and fix formulas that refer to themselves, stopping infinite calculation loops.
A circular reference occurs when a formula directly or indirectly refers to its own cell. This stops Excel from completing the calculation. You must either correct the formula or enable iterative calculation if the loop is intentional.
Open your workbook and click on the 'Formulas' tab in the top ribbon.
In the Formula Auditing group, click the drop-down arrow next to 'Error Checking'.
Hover over 'Circular References'. A submenu will display the exact cell address causing the issue. Click on the cell address to jump directly to it.
Review the formula in the formula bar and change the cell references so the formula no longer calculates its own cell. Press Enter to apply the fix.

Fix the #NAME? Error by Correcting Typos
Identify and correct misspelled function names or undefined named ranges that trigger the #NAME? error.
Resolve Formula Errors Effortlessly with WPS Spreadsheet
WPS Spreadsheet provides intuitive formula auditing tools to quickly find and fix circular references or typos in your formulas. It offers a seamless experience fully compatible with Microsoft Excel files.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open the workbook containing the formula errors.
- 2. Go to the Formulas tab: Click on the 'Formulas' tab located on the top navigation ribbon.
- 3. Run Error Checking: Click the 'Error Checking' button to automatically scan the active sheet for formula issues.
- 4. Follow the prompts: Use the on-screen dialog box to trace and correct circular references or misspelled functions step-by-step.

Frequently Asked Questions
Why does my spreadsheet show a #NAME? error?
This error occurs when the spreadsheet program does not recognize text in a formula. It usually happens due to a misspelled function name, referencing a named range that does not exist, or forgetting to enclose text strings in double quotation marks.
What exactly is a circular reference?
A circular reference happens when a formula directly or indirectly refers to its own cell. This creates an infinite calculation loop, which prevents the software from computing a final, stable result.
Will fixing a circular reference affect other formulas in my workbook?
Yes, but in a good way. Because a circular reference can halt the calculation of the entire workbook, fixing it usually restores normal calculations for all other dependent cells and removes error warnings.
Can I leave a circular reference if I know what it does?
Yes, if the circular reference is required for an intentional iterative model. However, you must explicitly enable 'Iterative calculation' in the software's settings (usually under File > Options > Formulas) to stop the error warnings and allow the loop to run a set number of times.




