Formula Errors

How to Keep Excel Named Ranges and Formula References Fixed

Olivia MillerOlivia Miller Nov 11, 2026 870 views

Question details

Prevent named ranges and absolute references from shifting or adjusting when other users modify the workbook's structure.

How to Keep Excel Named Ranges and Formula References Fixed
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.
Before you start

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.

Solution 1Recommended

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.

1
Open Name Manager

Go to the Formulas tab on the ribbon and click on 'Name Manager'.

2
Select the Named Range

Find the named range you want to lock (e.g., 'PI_Package_Data') and click 'Edit'.

3
Apply the INDIRECT Function

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 the INDIRECT Function to Lock References
Calculation Performance: INDIRECT is a volatile function, meaning it recalculates every time any change is made in the workbook. Use it sparingly in large files to avoid performance drops.
Efficient Data Management

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. 1. Open Your Workbook: Launch WPS Spreadsheet and open the file where your references keep shifting.
  2. 2. Access Name Manager: Navigate to the Formulas tab in the top menu and select 'Name Manager'.
  3. 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.
100% compatible with Microsoft Excel formulas and named rangesIntuitive Name Manager for easy reference tracking and editingFree, lightweight, and fast alternative for heavy spreadsheet calculationSeamless support for structured tables and dynamic data
microsoft office alternative - wps office

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.