Automatically Fill Formulas in an Excel Table
Question details
The user wants to extend a formula or lookup column across existing records and apply it to new records without copying each row manually.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet contains records that need the same formula or lookup in a column.
- Observed behavior
- The desired result is a formula column filled across existing records and extended when new records are added.
Make sure the formula column is included in the data range and that there is adjacent data to identify the existing records. Check that the formula works in its first row and that any fixed lookup ranges use absolute references, such as $A$2:$B$100.
Create an Excel table with a calculated column
Use a calculated column to fill the formula through existing table rows and extend it to new records.
Select the data range, including the formula column, and choose Insert > Table. Confirm the range and select My table has headers if applicable.
Click the first data cell in the formula column, enter the formula or lookup, and press Enter. Excel should fill the calculated column through the existing table rows.
Enter a new record directly below the table or press Tab in its last cell to add a row. The calculated-column formula should extend to the new row.

Copy the formula with the fill handle
Use this method to fill a formula alongside a contiguous set of existing records without creating a table.
Copy a lookup formula down in WPS Spreadsheets
Open your workbook in WPS Spreadsheets and use the fill handle to copy a formula across existing records without entering it row by row.
- 1. Open the workbook: Open WPS Spreadsheets and choose Open to select your Excel workbook.
- 2. Enter the formula: Click the first cell in the formula column, enter your lookup or other formula, and press Enter.
- 3. Fill the existing rows: Select the formula cell and drag its lower-right fill handle down to the last record.
- 4. Check and save: Check the results and use File > Save to save the workbook. Repeat the fill for any new rows as needed.

Frequently Asked Questions
Will an Excel table fill formulas into blank rows below it?
A calculated column fills existing table rows and normally extends when you add a record to the table. It does not prefill an unlimited number of blank worksheet rows below the table.
Why did the fill handle stop before the last record?
Double-clicking the fill handle relies on adjacent data and may stop at a gap. Select the formula cell and drag its lower-right fill handle to the last required row instead.
How do I keep a lookup range from shifting when I fill down?
In the formula bar, use absolute references for the fixed range, such as $A$2:$B$100. Leave the record-specific lookup cell relative if it should change for each row.
How can I tell whether my data is an Excel table?
Click a cell in the data. If a Table Design tab appears on the ribbon, the range is an Excel table. Otherwise, select the range and choose Insert > Table.




