Select Row or Column dialog box
Table Tools Layout > Convert and Calculate > Calculations - click any command while no cells are selected in the table
Specifies whether to calculate a value based on the cells in the current column or the current row.
Select row
The calculated value will be based on the cells of the current column.
Select column
The calculated value will be based on the cells of the current row.