Fix Excel References Changing When Inserting or Deleting Rows
Question details
Users experience unexpected changes to formulas and cell references when inserting or deleting rows or columns in Excel.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Modifying the worksheet structure by inserting or deleting rows or columns.
- Observed behavior
- The worksheet structure fails to change as expected, while formulas located below the affected area recalculate incorrectly or shift references unexpectedly.
Create a secure backup copy of your affected workbook before updating Office or disabling add-ins to ensure your original formulas and data remain intact.
Update Microsoft 365 to the Latest Build
Installing the latest Excel update is the primary fix, as recent Microsoft 365 builds contain specific patches for failed row operations and formula recalculation bugs.
Microsoft has acknowledged a bug in certain Microsoft 365 updates where inserting or deleting cells occasionally fails and causes formulas to recalculate incorrectly. Updating to a newer build usually resolves this issue for both large and small files.
Open Microsoft Excel, click on 'File' in the top left corner, and select 'Account' from the left-hand menu.
Under the 'Product Information' section, click on the 'Update Options' button next to Office Updates.
Select 'Update Now' from the drop-down menu. Allow Microsoft 365 to download and apply any pending fixes, then restart Excel and test inserting a row.

Test Excel with Add-ins Disabled
Use this method to rule out third-party Excel add-ins that might be interfering with worksheet structural changes.
Report the Bug to Microsoft Support
If the issue persists across different Excel builds, escalate the problem to Microsoft Support with detailed reproduction steps.
Try WPS Office to Avoid Excel Calculation Bugs
If you are constantly interrupted by Microsoft 365 update bugs, unexpected formula recalculations, or shifting references, consider switching to WPS Office. It provides a highly stable, lightweight, and completely free alternative for handling your spreadsheets smoothly.
- 1. Download and Install WPS Office: Visit the official WPS website, download the free installation package, and install it on your device.
- 2. Open Your Excel File: Launch WPS Spreadsheets and open your existing .xlsx workbook directly without converting the format.
- 3. Edit Seamlessly: Insert or delete rows and columns safely; WPS Spreadsheets maintains your worksheet structure and formula integrity.

Frequently Asked Questions
Why do my Excel formulas change when I insert a new row?
By design, Excel automatically adjusts relative cell references when you insert rows or columns so formulas keep pointing to the correct data. However, if formulas recalculate incorrectly without the worksheet structure properly shifting, it is likely due to a known bug in certain Microsoft 365 updates.
Does this calculation bug affect workbooks with external links?
Yes. Users have reported that this specific issue impacts workbooks regardless of whether they contain external links to other files, and it can affect both very large datasets and small, simple spreadsheets.
How can I lock a cell reference so it never changes in Excel?
You can lock a reference by making it 'absolute'. To do this, add a dollar sign ($) before both the column letter and row number (for example, $A$1). You can also press the F4 key while editing the formula to quickly toggle between relative and absolute references.




