To reference the value stored in a single cell, B1 for example, just enter "B1" as the function argument.
Cells are referenced in a format like C4, where C is the column label and 4 is the row label.
Example 1-6. Some examples of function syntax
=EXP(B1) =COS(A2) |
Cells can be referenced in the default way (relative referencing), or by using absolute referening. Absolute referencing means that when the cell is copied, the cell reference does not change. Normally, autofilling a cell range or moving cell will change its cell reference to so that it maintains a relation to the original cell. With absolute cell referencing this, behaviour is overridden.
The format for absolute cell refencing is to use a '$' in front of the cell coordinate that the user wants to stay constant. The column, row, sheet, or any combination of these can be held constant.
Example 1-7. Absolute cell referencing examples
A1 Normal cell reference $A2 Hold the column value constant A$2 Hold the row value constant $A$2 Hold row and columns constant. |
Many functions can take multiple cells as arguments. This can either be a comma separated list, an array, or any combination thereof.
A comma separated list of cell references can be used to indicate cells that are discontinuous.
Example 1-8. Some examples of function syntax
=SUM(A1,B2,C4) =MIN(A1,B2, C4,C5,D6) |
For functions that take more than one argument, it is often easier to reference the cells as a group. This can include cells in sets horizontally, vertically, or in arrays.
The ':' operator is used to indicate a range of cells. The basic syntax is upper left corner:bottom right corner.