Calculation Issues

Fix an Excel Formula Reference After Inserting a Row

Huda QurayshiHuda Qurayshi Nov 25, 2026 869 views

Question details

The user needs a formula to reference the preceding row after inserting a blank row.

Fix an Excel Formula Reference After Inserting a Row
Product
Microsoft Excel and Excel Online
Device & OS
not provided
Scenario
A blank row is inserted above a formula, and the user wants that formula to refer to column I of the immediately preceding row without converting the data to a table.
Observed behavior
The formula immediately below the inserted row does not reference the newly inserted row as expected, while formulas farther down update.
Before you start

Identify the affected formula and confirm that it should always refer to column I of the immediately preceding row. Check that the formula is not in row 1, because there is no preceding worksheet row.

Solution 1Recommended

Use INDIRECT and ROW to Reference the Previous Row

Use this workaround when the formula should always refer to column I in the row directly above it.

INDIRECT builds a reference from the current row number instead of relying on a standard cell reference. This addresses the affected formula, not Excel's general row-insertion behavior.

1
Select the affected cell

In Excel or Excel Online, select the cell containing the formula immediately below the inserted row.

2
Enter the formula

In the formula bar, enter =INDIRECT("I"&ROW()-1) and press Enter. Replace I with the appropriate column letter if needed.

3
Test a row insertion

Right-click the row number above the formula and choose Insert. Confirm that the formula now refers to column I of the newly inserted row.

Use INDIRECT and ROW to Reference the Previous Row
Formula limitations: The formula uses a fixed column letter in text, so inserting or moving columns may require editing it. INDIRECT is also volatile, which can affect performance when used extensively.
Work with formulas in WPS Spreadsheet

Reference the Previous Row in WPS Spreadsheet

Open your workbook in WPS Spreadsheet and use INDIRECT with ROW to keep a formula pointed at column I of the preceding row.

  1. 1. Open the workbook: Open WPS Spreadsheet, choose Open, and select your Excel workbook.
  2. 2. Select the formula cell: Click the cell that should refer to column I of the preceding row.
  3. 3. Enter the formula: In the formula bar, enter =INDIRECT("I"&ROW()-1) and press Enter.
  4. 4. Test the reference: Insert a row above the formula using the row-number menu, then check that the formula refers to column I of the new row.
Reference the row immediately above after inserting a rowOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interfaceWork with formulas without converting the range to a table
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't the formula point to the newly inserted row?

A standard reference can remain attached to the original referenced cell when a row is inserted. If the goal is always to reference the row directly above, use =INDIRECT("I"&ROW()-1) in the affected formula.

Can I use the formula for a different column?

Yes. Replace I inside the quotation marks with the desired column letter. For example, =INDIRECT("J"&ROW()-1) refers to column J of the preceding row.

Do I need to convert my data to a table?

No. You can enter the INDIRECT formula directly in a regular worksheet cell without changing the range to a table.

What happens if the preceding cell is blank?

The formula refers to the blank cell in the preceding row; Excel may display the result as 0. Enter a value in that cell or adjust the formula if you need a different display.