# Calculating Cell Totals in Tables

/text/swriter/guide/calculate_intable.xhp
calculating;sums in text tables
totals in text tables
tables;calculating sums
cells;calculating sums
table cells;calculating sums
sums of table cell series
mw deleted "text tables;"
Calculating the Sum of a Series of Table Cells
- Choose Insert - Table, and insert a table with one column and more than one row into a text document.
- Type a number in each cell of the column, but leave the last cell in the column empty.
- Place the cursor in the last cell of the column, and then click the Sum icon on the Table Bar.
  The Formula Bar appears with the entry "=sum".
- Click in the first cell of the series you want to sum up, drag to the final cell, and then release.
  $[officename] inserts a formula for calculating the sum of the values in the current column.
- Press Enter, or click Apply in the Formula bar.
  The sum of the values in the current column is entered in the cell.
If you enter a different number anywhere in the column, the sum is updated as soon as you click in the last column cell.
Similarly, you can also quickly calculate the sum of a row of numbers.