Excel Functions
Excel Functions
SUM Function
The SUM function is used to add more than two numbers together.
=SUM(B4:B8) =B4+B5+B6+B7
+B8
=SUM(D3,D8,D1 =D3+D8+D12
2)
=SUM(D5:D8,F2) =D5+D6+D7+D8
+F2
AVERAGE Function
To find the AVERAGE of two or more numbers: AVERAGE(B4:B8).
=AVERAGE(B4:B8) =(B4+B5+B6+B7+B8)/5
=AVERAGE(D3,D8,D12) =(D3+D8+D12)/3
=AVERAGE(D5:D8,F2) =(D5+D6+D7+D8+F2)/5
MAX Function
Will find the highest numeric value among numbers (or range) =MAX(B4:B8).
MIN Function
Will find the lowest numeric value among numbers (or range) =MIN(B4:B8).
INT Function
In mathematics, an integer is the word used to describe a Whole Number (with no
decimals or fractions).
In Excel, the INT function takes a number and removes all digits after the decimal
point. =INT(B10) (if it’s 15.8 it will make it 16).
ROUND Function
=ROUND(B10,0)
This uses the ROUND function which takes the contents of cell B10 and rounds the
number to 0 decimal places. IF the decimal point is 5 or above, the formula will round the
digit to the nearest whole number. (16.8 would become 17 for example)
COUNT Function
It is possible to count the number of numeric (number) values in a spreadsheet using the
COUNT function. =COUNT(A2:A19). This will look at the range A2 to A19 and count the
cells with numbers in them. Any cells that contain text or a combination of text and
numbers will be ignored.
COUNTA Function
Rather than just being able to count the number of numeric values (like the
COUNT function), COUNTA can count the number of numeric OR text vales in
a cell. It will NOT count any empty cells.
COUNTIF Function
The function needed for this task is COUNTIF. This looks at the cells within a
given range and counts the number of cells in that range that meet a certain
condition.
The condition can be a number, text, an inequality or a cell reference.
=COUNTIF($B$3:$B$21, “Director”) Counts the number of cells in the range B3 to B21 that
contain the word ‘Director’.
=COUNTIF(Job, “Director”) Counts the number of cells in the named range ‘Job’ (B3
to B21) that contain the word ‘Director’.
=COUNTIF($B$3:$B$21, A24) Counts the number of cells in the range B3 to B21 that
contain the same text as the contents of cell A24.
=COUNTIF(Job, A24) Counts the number of cells in the named range ‘Job’ (B3
to B21) that contain the same text as the contents of cell
A24
SUMIF Function
SUMIF works in a similar way to COUNTIF.
SUMIF compares each value in a range of cells and if the value matches the given condition
it will add another related cell to give a running total.
=SUMIF($B$3:$B$21,A35,$C$3:$C$21)
This will look at the contents of each cell in the range B3 to B21 and then compare their
values to the contents of cell A35.
IF Function
An IF function is made up of 3 parts:
A condition
What to do if the condition is met
What to do if the condition is not met.
Nested IF Function
=IF(C3>=10,”Very experienced”,
IF(C3>=5,”Experienced”, “Not
experienced”))
The second formula (highlighted in
yellow), takes the place of the ‘If the
condition is not met’ part of the first
formula.