In tables, 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 "####".
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 can be used in formulas:
Additionally, 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 sign (=) and can contain the following signs:
Sign | Description |
---|---|
+ | Plus |
- | Minus |
* | Times |
/ | Divided by |
^ | Exponent |
() | Parentheses |
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.
Example: A1, D2, C3
Example: A2:B4
Example: Sum (A2:B2, A3:B3)
Every cell has an assigned data type.
You can change the data type using the editing tools from the Edit Table toolbar.
The default data type is General, but you can change it in the Properties palette.
The default data type is General, but you can change it in the Properties palette or using the editing tools from the Edit Table contextual toolbar.
The default data type is General, but you can change it in the Properties palette or using the editing tools from the Edit Table contextual toolbar.
Note: You cannot change the data type of a cell that contains a formula.
The following data types are available:
Note: If a formula cannot identify the data type, it returns an error and the cell displays "####".
To change the cell data type:
You can insert a formula into a cell with several methods:
Note: You cannot insert formulas in locked cells.
To insert formulas manually:
Note: The formula must start with the equal sign (=).
- or -
The cell switches to editing mode and the editing tools appear.
You can use functions as in the following examples:
Formulas are available for a selected cell in the context menu and on a contextual toolbar or ribbon, according to the selected user interface.
Formulas are available for a selected cell on a contextual toolbar.
Formulas are available for a selected cell on a contextual toolbar.
You can also use these flyouts on the Edit Table contextual toolbar to insert data types and formulas.
You can also use these flyouts on the Edit Table contextual toolbar to insert data types and formulas.
To insert formulas using formula tools:
The following table shows how to calculate the sum for each column.
Parent Topic