Make Microsoft Excel Table Formulas Autofill After Inserting Rows
Question details
Create Excel Table formulas that continue to fill consistently when new rows are inserted, especially at the top of a sorted table.

- 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.
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.
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.
In Excel, select the table column where you will enter the formula, then go to Formulas > Name Manager > New.
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.
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.
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.

Add new records at the bottom and sort the table by date
Use this approach when the table represents chronological or running-total data and inserting rows at the top is not required.
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. Open the workbook in WPS Spreadsheets: Open the Excel workbook in WPS Office and select the worksheet containing the data table.
- 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. 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. 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.

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.




