Formula Errors

Fix Incorrect Autofill Formulas and Formatting in an Excel Table

Huma Ashraf ChHuma Ashraf Ch Nov 25, 2026 869 views

Question details

The user needs new Excel table rows to use the expected calculated-column formula and formatting.

Fix Incorrect Autofill Formulas and Formatting in an Excel Table
Product
Microsoft Excel
Device & OS
not provided
Scenario
A new row is added below an Excel table that contains a calculated column.
Observed behavior
The formula in the new row changes unexpectedly, Excel flags it as inconsistent with the column formula, and the row loses the expected font and size.
Before you start

Check that the new row is inside the table by clicking it and looking for the Table Design tab. Compare its formula and font with a correctly formatted row above it.

Solution 1Recommended

Restore the calculated column and table formatting

Use this method to check the table boundary, correct inconsistent formulas, and restore formatting for new rows.

1
Check the table range

Click a cell in the table, open Table Design, and select Resize Table. Include the new row in the range if it is outside the table, then select OK.

2
Enable calculated-column autofill

In Excel for Windows, open File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type. Select Fill formulas in tables to create calculated columns, then select OK.

3
Correct the formula

Select a cell in the calculated column and enter the intended formula. Check the other cells in that column and replace conflicting formulas; if Excel offers an option to overwrite the column with the formula, use it when all rows should follow the same pattern.

4
Restore the formatting

Select a correctly formatted cell, choose Home > Format Painter, and apply it to the affected cell or row. Alternatively, select the affected cells and set the font and size on the Home tab. Use Table Design > Table Styles to reapply the intended table style.

5
Test a new row

Click the last cell in the table and press Tab to add a row. Check that the calculated column fills with the expected formula and that the new row has the intended formatting.

Restore the calculated column and table formatting
For a simple row-number column: If the headers are in worksheet row 1 and data begins in row 2, enter =ROW()-1 in A2. You can then select the range and use Insert > Table. This formula follows worksheet row numbers, so adjust it if the table starts on another row.
Free Microsoft Office alternative

Work with spreadsheets in WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files in WPS Spreadsheets to work with formulas and formatting while moving between office suites.

Edit spreadsheet formulas and cell formattingCompatible with Microsoft Excel XLS and XLSX filesFamiliar interface for an easier transition from Microsoft OfficeFree and lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel say a formula is inconsistent with the column?

The formula differs from the pattern used in the other cells of the calculated column. Compare it with a correct cell and replace it if the difference was not intentional.

Where can I turn on calculated-column autofill?

In Excel for Windows, go to File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type, then select Fill formulas in tables to create calculated columns.

How can I tell whether the new row is part of the table?

Click a cell in the row and check whether Table Design appears. You can also click the table and choose Table Design > Resize Table to inspect or change its range.

How do I restore the font and size in a new table row?

Select a correctly formatted cell, choose Home > Format Painter, and apply it to the affected cells. You can also select the cells and set their font and size on the Home tab.

When can I use =ROW()-1 for row numbers?

Use it when the header is in worksheet row 1 and the first data row is row 2. It returns the worksheet row number minus one, so a table starting elsewhere needs a different offset.