How to Automatically Move the Excel Table Total Row Down
Question details
The user needs to add new data rows to an Excel table dynamically without overwriting or manually moving the existing Total Row at the bottom.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Setting up a professional invoice template for a small business where new line items need to be added continuously.
- Observed behavior
- When new data is entered directly below the table, the Total Row does not automatically shift downward to accommodate the new cells.
Ensure your dataset is officially formatted as a Table (using Insert > Table or Ctrl+T) and that the built-in Total Row feature is activated from the Table Design tab.
Use the Tab Key to Insert a Row Above the Total
This is the most efficient, built-in method to expand your table while pushing the Total Row downward automatically.
Excel tables are designed to handle dynamic data expansion, but typing directly below the table often breaks the structure. By utilizing the Tab key from the correct position, Excel natively recognizes that you are extending the dataset and shifts the Total Row accordingly.
Click anywhere inside your formatted table. Navigate to the 'Table Design' tab on the ribbon and check the box for 'Total Row'.
Click to select the very last cell in the final row of your actual data (this is the cell immediately above the Total Row on the far right).
Press 'Tab' on your keyboard. Excel will immediately insert a new, blank data row exactly above the Total Row, pushing the totals down automatically.

Place the Total Row Above the Table Data
If you frequently paste large blocks of data, placing your totals at the top of the sheet avoids the need to manage the bottom row entirely.
Create Dynamic Invoice Templates Easily with WPS Office
WPS Spreadsheet fully supports dynamic table formatting, Total Rows, and professional invoice generation. It offers an intuitive interface where managing data expansions is seamless and frustration-free.
- 1. Open a template: Launch WPS Spreadsheet and select an invoice template from the homepage, or open a blank workbook.
- 2. Format as Table: Highlight your invoice line items and press Ctrl+T to convert the range into a dynamic table.
- 3. Enable Total Row: In the Table Tools tab, check the 'Total Row' option to automatically calculate your invoice totals.
- 4. Expand with Tab: Simply press the Tab key from the last data cell to seamlessly add new items while keeping the total at the bottom.

Frequently Asked Questions
Why doesn't pressing Enter add a new row in my Excel table?
Pressing the Enter key simply moves your active cell cursor down to the next row. To expand a formatted table and move the Total Row down dynamically, you must select the last data cell in the row above the total and press the Tab key.
Can I use a macro to automatically add a new row above the total?
Yes, you can write a VBA macro that identifies the Total Row, inserts an empty row directly above it, and copies the formatting. This is especially useful for invoice templates where you can attach the macro to a clickable 'Add Item' button.
How do I temporarily remove the Total Row from my table?
Click anywhere inside your formatted table, navigate to the Table Design (or Table Tools) tab on the top ribbon, and uncheck the 'Total Row' box. Your table will revert to standard rows, and you can recheck the box later to restore your totals.




