Professional Documents
Culture Documents
Lesson 2
Lesson 2
Objectives
In this lesson, we will do the following:
Enter data on the spreadsheet application
Work with formulae
Notes
A formula is an expression which calculates the value of a cell. Functions are predefined
formulas and are already available in Excel. The following mathematical operators are used
in Microsoft excel, additionally, excel combines with other functions to perform to create
Excel Formulas.
The diagram below shows how the four mathematical operators are applied in the
spreadsheet.
Cell A3 below contains the SUM function which calculates the sum of the range A1:A2.
Cell A3 below contains the subtraction function which calculates the difference of the range
A1:A2.
Operator Order Preference
Excel uses a default order to perform calculations. Excel will attend to any formula placed in
parentheses, that part will be calculated first. It then performs multiplication or division
calculations. Once this is complete, Excel will add and subtract the remainder of your
formula. In the example below, excel first performs multiplication (A1 * A2). Next, Excel
adds the value of cell A3 to this result.
In this example, excel calculates the part in parentheses (A2+A3), then it multiplies this
result by the value of cell A1
Copy/Paste a Formula
There are several forms for copying a formula in excel. You can double click to copy, click
hold and drag or copy and paste a formula. When you copy a formula, Excel automatically
adjusts the cell references for each new cell the formula is copied to. To understand this,
execute the following steps.
Take a closer look at the formula displayed in the formula bar, the formula returns the
answer in cell A4.
To copy the formula in cell A4
Point to and right click cell A4, click Copy (or press CTRL + c) ...
Alternatively place the mouse at the bottom right hand corner of cell A4, let it turn into a
plus click hold and drag the formula across to cell B4. This is much easier and quicker to do.
gives the exact same result!
The outcome, the formula in cell B4 references the values in column B.
Inserting a Function
All functions have the same structure. For example, SUM (A1:A4). The name of this function
is SUM. The part between the brackets (arguments) means we provide excel with the range
of cells A1:A4 as input. This function adds the values in cells A1, A2, A3 and A4. The Insert
Function feature in Excel helps to organise and match the function with the argument for
each task. To insert a function, execute the following steps.
Select a cell.
Click the Insert Function button.
Conclusion
Excel calculates a function in parenthesis first