TTOTALS
TTOTALS(t)
or
TSUMS(t)
forms margins of totals for table
t
.