Fix an Excel Formula Reference After Inserting a Row
Question details
The user needs a formula to reference the preceding row after inserting a blank 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.
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.
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.
In Excel or Excel Online, select the cell containing the formula immediately below the inserted row.
In the formula bar, enter =INDIRECT("I"&ROW()-1) and press Enter. Replace I with the appropriate column letter if needed.
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.

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. Open the workbook: Open WPS Spreadsheet, choose Open, and select your Excel workbook.
- 2. Select the formula cell: Click the cell that should refer to column I of the preceding row.
- 3. Enter the formula: In the formula bar, enter =INDIRECT("I"&ROW()-1) and press Enter.
- 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.

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.




