You are on page 1of 3

3/1/2015

Order of Precedence of Operators


• The order of precedence is a set of predefined
rules that Excel follows to calculate a formula
• The order of precedence of arithmetic
operators follows the BEDMAS rule:
()
^
*, /
+, -

Order of Precedence (Homework) Basic Automatic Functions


• Functions in Excel are simply built-in formulas

• The following are some commonly used functions


that can be accessed easily from the Autosum
Order of Precedence toolbar button ∑
– Sum
Rules Practice – Average
– Count
– Max
– Min
3 4

Basic Functions (Contd.) SUM function


• Sum - calculate the sum of a collection of
numbers. • A basic formula example to add up a small number of
cells is =A1+A2+A3+A4
• Average – calculate the average of the numbers
in the given cells
• But that method would be cumbersome and error
• Count – count the number of numbers in the prone if there were many cells to add up.
given cells
• Max – find the biggest of the numbers in the • Instead, using the SUM function, we write only the start
given cells and end points of the data range separated by a colon
• Min – find the smallest of the numbers in the ( : ) The function will add together the contents of all
given cells the cells in the range.
5 6

1
3/1/2015

SUM function (Contd.) SUM function (Contd.)

• For example = SUM(F1:F20)


will add cells F1, F2, F3, ……, F18, F19, F20
• Practice using the SUM function
• Another example of the Sum function
=Sum(F1,F3,F6:F8) uses both individual cells
and cell ranges. This example adds the
numbers in cells F1, F3, F6, F7 and F8
7 8

Toolbar button Σ Combining Functions


• Warning - The (Σ) toolbar button will
automatically select adjacent cells
until interrupted by text or an empty • Formulas containing functions
cell, so do not blindly click on the Σ can be combined to create a
button. Always make sure the desired single formula
cells/range are selected.

9 10

Exercise 2 Lab Exercise 2

• NET PAY is calculated as GROSS PAY


minus the sum of TAXES and
INSURANCE =B2-(C2+D2)
• Remember Precedence of
Operators
11 12

2
3/1/2015

Exercise 3 Lab Exercise 3

• TOTAL COST BEFORE VAT


•Lab Exercise 3 involves =B2*C2
setting up a spreadsheet
• VAT =16%*D2
to calculate the cost of
various items, before and • TOTAL COST INCLUDING VAT
after VAT =D2+E2
13 14

You might also like