Formula Errors

How to Fix #NAME? and Circular Reference Errors in Excel

Bushra ParveenBushra Parveen Oct 21, 2026 872 views

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.

How to Fix #NAME? and Circular Reference Errors in Excel
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.
Before you start

Save a copy of your workbook before modifying complex formulas to ensure you do not lose any critical data during the troubleshooting process.

Solution 1Recommended

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.

1
Navigate to the Formulas tab

Open your workbook and click on the 'Formulas' tab in the top ribbon.

2
Access Error Checking

In the Formula Auditing group, click the drop-down arrow next to 'Error Checking'.

3
Trace the Circular Reference

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.

4
Fix the formula

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.

Locate and Resolve Circular References
Intentional Circular References: If you need a circular reference for a specific model, go to File > Options > Formulas, and check 'Enable iterative calculation'.
Easy Formula Error Checking

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. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open the workbook containing the formula errors.
  2. 2. Go to the Formulas tab: Click on the 'Formulas' tab located on the top navigation ribbon.
  3. 3. Run Error Checking: Click the 'Error Checking' button to automatically scan the active sheet for formula issues.
  4. 4. Follow the prompts: Use the on-screen dialog box to trace and correct circular references or misspelled functions step-by-step.
Built-in Error Checking tool to instantly locate circular references.Color-coded formula syntax highlighting to easily spot errors like #NAME?.Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Free, lightweight, and fast alternative for everyday spreadsheet tasks.
microsoft office alternative - wps office

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.