Where "repeatrow" is the name of the row in a table that expands when the user adds row, and "cell1" is the name of the cell in that row with the data that has been entered.
sum(repeatrow[*].Cell1[*])
If you have a static table, then you sum the cells one by one, I think ...
sum(rowname.cell+rowname.cell+) etc