Fix Excel Chart Named Ranges Changing and Losing Data
Question details
Users experience data loss in Excel charts when switching between monthly and quarterly views because named ranges are unexpectedly replaced with unknown references.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Switching dynamic chart views between monthly and quarterly data sets.
- Observed behavior
- Defined named ranges in the charts automatically change to internal system references such as _{r9} or _{r15}, causing the charts to lose their data completely.
Create a secure backup of your affected workbook before troubleshooting, as modifying or deleting corrupted named ranges in Excel cannot always be undone.
Isolate the Workbook Issue and Test Online
Determine if the named range glitch is specific to a single corrupted file or a broader application issue by testing in different environments.
When Excel named ranges convert into system-generated codes, it often points to file-specific corruption or a synchronization error. Isolating the problem helps determine the right course of action.
Open Excel and create a blank workbook. Set up a simple dynamic chart with named ranges to see if the renaming issue replicates when switching views.
Upload the affected workbook to OneDrive. Open the file in your web browser using Excel for the web to check if the _{r9} glitch persists online.
If the problem is file-specific, create a copy of the workbook, delete any confidential business data, and upload it to a cloud service for further community or IT support analysis.

Recreate the Broken Named Ranges
If your named ranges have been permanently overwritten by system references, you will need to manually delete and recreate them to restore chart functionality.
Use WPS Spreadsheet for Stable Data Visualization
If you frequently encounter named range glitches, complex formula breakdowns, or data loss in Microsoft Excel, consider switching to WPS Office. It provides a highly stable, lightweight environment for processing dynamic charts and managing complex data sets without the recurring subscription costs.
- 1. Download and Install WPS Office: Get the free WPS Office suite from the official website and install it on your device.
- 2. Open Your Excel File: Launch WPS Spreadsheet and open your existing .xlsx workbook. The format and layouts will be preserved seamlessly.
- 3. Manage Named Ranges Reliably: Navigate to the Formulas tab to manage your named ranges and edit dynamic charts without worrying about unexpected reference changes.

Frequently Asked Questions
What does _{r9} mean in Excel named ranges?
References like _{r9} or _{r15} are internal, system-generated identifiers. They typically appear when Excel's calculation engine encounters file corruption, conflicting names, or an error when attempting to resolve a dynamic array or named range.
How can I view all named ranges in my workbook?
You can view all named ranges by going to the 'Formulas' tab and clicking on 'Name Manager'. This window allows you to see the name, the value it represents, and the specific cells or formulas it refers to.
Why does my Excel chart lose data when switching views?
This usually happens if the dynamic formulas (like OFFSET or INDEX) used in your named ranges fail to calculate correctly, or if Excel bugs out and drops the reference entirely, causing the chart series to point to empty or non-existent data.
Can I recover the lost chart data?
The underlying raw data in your worksheet is usually safe. To fix the chart, you simply need to repair the broken named ranges in the Name Manager and re-link the chart series to those correct names.




