Formulas in Table Cells

You can use formulas in cells that are calculated based on the values from other cells. The cell that contains a formula displays the calculated value.

If the formula returns an error, the cell displays ####.

This page discusses:

Using Formulas

A formula is an expression that calculates a value based on the values from the cells specified in the expression.

The following functions are available and you can use them in formulas:

  • Sum. Calculates the sum of the values from the defined cells.
  • Average. Calculates the average of the values from the defined cells.
  • Count. Counts cells with numbers.

You can insert expressions to calculate results based on the values from the specified cells and range of cells. A formula must start always with the equal to sign (=) and can contain the following signs:

Sign Description
+ Plus
- Minus
* Multiply
/ Divide
^ Exponent
() Parenthesis

Specifying Cells Within Formulas

You can specify cells and ranges of cells within a formula by selecting them or by referring to them using the column and row labels.

  • To refer to a cell in a formula, use its column letter and row number.

    Example: A1, D2, C3

  • To specify a range of cells in a formula, use the first and the last cells of the range separated with a colon

    Example: A2:B4

    .
  • To apply a formula to multiple ranges, use the function followed by one or more ranges within the table in parenthesis separated by commas.

    Example: Sum (A2:B2, A3:B3)

Changing the Cell Data Type

You can change the assigned data type of a cell using the editing tools from the Edit Toolbar toolbar.

Note: You cannot change the data type of a cell that contains a formula.
The following data types are available:
  • Angle
  • Currency
  • Date
  • Decimal number
  • General
  • Note
  • Percentage
  • Point
  • Whole number

Note: If a formula cannot identify the data type, it returns an error and the cell displays ####.

To change the cell data type:

  1. In the graphics area, click inside a table cell to select it.
  2. On the Edit Table toolbar, click Data Type and select a data type.