logo
search
Formula Errors

How to Fix Excel Formulas Changing Incorrectly After Deleting Rows

Maira MehtabMaira Mehtab Oct 1, 2026 869 views

Question details

User experiences Excel formulas automatically changing to incorrect row references after deleting rows using the Ctrl-minus shortcut.

How to Fix Excel Formulas Changing Incorrectly After Deleting Rows
Product
Microsoft Excel
Device & OS
not provided
Scenario
Deleting rows in an Excel spreadsheet that contains active formulas referencing other cells.
Observed behavior
Formulas reference unexpected or incorrect rows after deletion, potentially due to a known bug in a recent Office update.
Before you start

Before attempting to fix calculation errors, save a copy of your workbook so your original data and formulas remain intact while you test workarounds.

Solution 1Recommended

Set Excel Calculation Mode to Manual

Switching your workbook to manual calculation mode prevents Excel from automatically (and incorrectly) updating formulas while you are deleting or inserting rows.

This is the most effective temporary workaround if the issue is caused by a bug in the current version of Excel. By stopping automatic calculations, you control when Excel adjusts formula references.

1
Open Calculation Options

Navigate to the 'Formulas' tab on the Excel ribbon and click on 'Calculation Options' in the Calculation group.

2
Switch to Manual Mode

Select 'Manual' from the drop-down list to disable automatic formula updates.

3
Delete the Rows

Highlight the rows you want to remove and use the 'Ctrl + -' (Ctrl-minus) shortcut to delete them.

4
Recalculate the Workbook

Press 'F9' to manually calculate the workbook, or return to 'Calculation Options' and switch back to 'Automatic' once your structural edits are complete.

Set Excel Calculation Mode to Manual
Verification: After pressing F9, check your formulas to ensure they now point to the correct, expected row references.
Free Microsoft Office alternative

Use WPS Office to Avoid Formula Calculation Bugs

If Microsoft Excel continues to produce unexpected formula reference errors when deleting rows, consider switching to WPS Office. It offers a highly compatible, lightweight, and free alternative with a stable and reliable calculation engine.

  1. 1. Download WPS Office: Visit the official WPS website and download the free WPS Office suite for your operating system.
  2. 2. Open Your Spreadsheet: Launch WPS Spreadsheets and open your existing Excel (.xlsx) workbook directly.
  3. 3. Edit Data Safely: Delete rows and modify your data without worrying about version-specific Excel calculation bugs.
Stable calculation engine that accurately handles row deletions and complex formulas.Highly compatible with Microsoft Excel formats (.xlsx, .xls) and standard functions.Lightweight installation with fast loading speeds and minimal system resource usage.Free to use with a familiar tabbed interface for seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

Why do my Excel formulas change automatically when I delete rows?

By default, Excel uses relative referencing. When you add or remove rows and columns, Excel automatically shifts formula references to keep pointing to the original data points. However, software bugs in certain Excel versions can cause these automatic adjustments to point to unexpected, incorrect rows.

How can I lock a formula so it never changes when rows are deleted?

You can lock a formula reference entirely by using the INDIRECT function. For example, entering =INDIRECT("A5") means the formula will always look at cell A5, regardless of how many rows you insert or delete above or below it.

What does the Ctrl-minus shortcut do in Excel?

The 'Ctrl + -' (Ctrl-minus) keyboard shortcut is a quick way to delete the currently selected cells, rows, or columns from your worksheet. It brings up the Delete dialog box unless an entire row or column is already highlighted, in which case it deletes it immediately.