Fix Incorrect Autofill Formulas and Formatting in an Excel Table
Question details
The user needs new Excel table rows to use the expected calculated-column formula and formatting.

- 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.
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.
Restore the calculated column and table formatting
Use this method to check the table boundary, correct inconsistent formulas, and restore formatting for new rows.
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.
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.
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.
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.
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.

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.

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.




