How to Keep Excel Named Ranges and Formula References Fixed
Question details
Prevent named ranges and absolute references from shifting or adjusting when other users modify the workbook's structure.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Collaborating on a shared spreadsheet where inserted or deleted rows and columns cause critical formula references to adjust automatically and point to the wrong data.
- Observed behavior
- Absolute references (such as $A$7:$A$1605) adjust automatically when rows or columns are added or removed, causing formulas using LET or Named Ranges to calculate incorrectly.
Identify the exact cell ranges that must remain strictly tied to their coordinates, as locking them will prevent them from adapting to any intentional data expansion.
Use the INDIRECT Function to Lock References
Convert your standard absolute references into text strings using the INDIRECT function so Excel ignores structural changes.
By default, Excel assumes you want your references to track the data, not the literal cells. The INDIRECT function evaluates a text string as a cell reference. Because it is read as text, inserting or deleting rows will not alter the string itself.
Go to the Formulas tab on the ribbon and click on 'Name Manager'.
Find the named range you want to lock (e.g., 'PI_Package_Data') and click 'Edit'.
In the 'Refers to' box, replace the existing absolute reference with the INDIRECT formula. For example, change =PI_Package!$A$7:$A$1605 to =INDIRECT("PI_Package!A7:A1605"). Click OK to save.

Use Structured Excel Tables
Convert your data range into a structured table to allow dynamic resizing without relying on fixed cell addresses.
Use WPS Spreadsheet to Manage Fixed Named Ranges
WPS Office fully supports advanced formulas, including the INDIRECT function, and offers a robust Name Manager to seamlessly handle complex workbook references without shifting errors.
- 1. Open Your Workbook: Launch WPS Spreadsheet and open the file where your references keep shifting.
- 2. Access Name Manager: Navigate to the Formulas tab in the top menu and select 'Name Manager'.
- 3. Define Fixed References: Edit your target named range and wrap your reference path in quotes inside an INDIRECT function, then click OK to lock it.

Frequently Asked Questions
Why do absolute references like $A$1 change when I delete a row?
Absolute references lock the formula to a specific data point, not a literal location on the screen. If the worksheet structure changes (like deleting a row above it), Excel automatically shifts the reference up to maintain its connection to the original data.
Does using INDIRECT slow down my spreadsheet?
Yes, INDIRECT is a volatile function. It recalculates every time any change is made anywhere in the workbook, which can cause significant lag in large files with thousands of formulas.
Can I lock references using the OFFSET function instead?
Yes, you can anchor an OFFSET function to a cell that will definitely not be deleted (like $A$1) and define the range dynamically. However, like INDIRECT, OFFSET is also a volatile function and may impact calculation speed.




