Excel Office

Excel How Tos, Tutorials, Tips & Tricks, Shortcuts

How to sum a total in multiple Excel tables

To sum a total in multiple tables, you can use the SUM function and structured references to refer to the columns to sum. See example below:



Note: the total row must be enabled. If you disable a total row, the formula will return the #REF error.


In the example shown, the formula in I6 is:


How this formula works

This formula uses structured references to refer to the “Amount” column in each table. The structured references in this formula resolve to normal references like this:


When rows or columns are added or removed from either table, the formula will continue to return correct results. In addition, the formula will work even if the tables are located on different sheets in a workbook.

Worked Example:   How to calculate current stock or inventory in Excel

Alternative syntax with Total row

It is also possible to reference the total row in a table directly, as long as tables have the Total Row enabled. The syntax looks like this:


Translated: “The value for Amount in the Total row of Table1”.

Worked Example:   How to calculate two-way lookup VLOOKUP in Excel Table

Using this syntax, the original formula above could be re-written like this:


As above, this formula will work even when the table is moved or resized.

Worked Example:   How to create dynamic reference table name in Excel

Leave a Reply

Your email address will not be published. Required fields are marked *