Some formulas may be simplified by using worksheet
functions. A worksheet function is a pre-written formula, a keyword that
tells Excel what to do. For example, instead of typing =A1+A2+A3+A4+A5,
you may type =SUM(A1:A5). (The colon indicates the range from A1 to A5.)
In this example, SUM is a function that Excel knows about.
It is important
to use the correct syntax and format of a function for correct results.
To enter a function do the following:
-
Click the cell where you want to enter the function.
-
Type = (an equal sign), then type the name of the function, followed by
an opening parenthesis.
-
Type or click the cell or range you want to insert in the function.
-
Press
ENTER. Excel
will automatically add the closing parenthesis to complete the function
and will display the results in the cell.
Parentheses are used to separate different parts of a formula. For example,
in the formula =SUM(A1:A5), the parentheses separate the worksheet function
from the cell references that the function is referring to. This is particularly
important in longer or more complicated functions, e.g., =((A2/4)+(A5-B3))*5.
If a mistake is made and the parentheses in a formula do not match, an
error message will appear.
The parts of a formula contained inside parenthesis are calculated first.
Otherwise the order of operation is as shown in Table 3 (below).
If there are operators of equal precedence, the order of operation is from
left to right.