Function Problems

Make Microsoft Excel Table Formulas Autofill After Inserting Rows

Steve KSteve K Nov 12, 2026 871 views

Question details

Create Excel Table formulas that continue to fill consistently when new rows are inserted, especially at the top of a sorted table.

Make Microsoft Excel Table Formulas Autofill After Inserting Rows
Product
Microsoft Excel Table in Microsoft 365
Device & OS
not provided
Scenario
The user inserts new records into a sorted Excel Table and needs calculation columns to use the correct value from the next row.
Observed behavior
Direct cell references to the row below can shift after a row is inserted, causing inconsistent calculated-column formulas.
Before you start

Confirm that the data range is formatted as an Excel Table and that the calculation formula is entered in a table column. Identify the column whose value should be taken from the row directly below the current record.

Solution 1Recommended

Use structured references with a relative named reference to the next row

Use this method when a calculated column must refer to the cell directly below it without relying on fixed references such as E3 or F3.

A structured reference such as [@values] identifies the value in the current table row. A defined name using an R1C1 relative reference can identify the cell one row below, so the table formula remains relative when Excel fills the calculated column.

1
Open Name Manager

In Excel, select the table column where you will enter the formula, then go to Formulas > Name Manager > New.

2
Create the relative reference name

Enter below as the name. In the Refers to box, enter a relative reference to the cell one row down, such as =Sheet1!R[1]C, then select OK.

3
Enter a structured table formula

Click the first data cell in the calculation column and enter a formula such as =[@values]+below. Replace values with the actual table column name as needed.

4
Fill the entire calculated column

Press Enter and allow Excel to fill the formula through the table column. If it does not fill automatically, select the formula cells and use Home > Fill > Down.

Use structured references with a relative named reference to the next row
Calculated column created: Because the formula uses a structured reference and a relative reference, Excel can apply a consistent formula pattern across the table instead of retaining fragile direct cell addresses.
WPS Spreadsheet formula tools

Create consistent calculation columns with WPS Spreadsheets

WPS Spreadsheets helps you organize records, enter formulas for a full calculation column, and fill formulas down when you add or sort data. Use relative references instead of fixed cell addresses when a formula must adjust by row.

  1. 1. Open the workbook in WPS Spreadsheets: Open the Excel workbook in WPS Office and select the worksheet containing the data table.
  2. 2. Enter a relative calculation formula: Click the first cell in the calculation column and enter a formula that uses relative references for the required row relationship.
  3. 3. Fill the formula through the column: Select the formula cell and the remaining target cells, then choose Home > Fill > Down to copy the relative formula pattern.
  4. 4. Add and sort records: Enter new records in the next available row, then use Data > Sort to order the date or key column without manually rewriting each formula.
Use relative formulas to keep row-based calculations consistent.Fill a formula through a selected calculation column with Fill Down.Sort records by date after entering new rows.Open and edit Microsoft Excel .xlsx and .xls workbook formats.
microsoft office alternative - wps office

Frequently Asked Questions

Why do direct references such as E3 become unreliable in an Excel Table?

A direct address can be adjusted unexpectedly when rows are inserted or moved. Use structured references for table fields and a relative reference when the formula must point to a nearby row.

What does [@values] mean in an Excel Table formula?

The @ symbol means the current table row. For example, [@values] returns the value in the values column for the row containing the formula.

How do I make Excel treat a formula as a calculated column?

Enter the formula in one data cell of the table column and press Enter. Excel normally fills it through the column; if it does not, select the target cells and choose Home > Fill > Down.

Can I insert a row at the top of a sorted Excel Table?

Yes, but formulas that directly refer to a specific cell below may become inconsistent. Use structured references and a relative named reference, or add records at the bottom and sort the table afterward.