0% found this document useful (0 votes)
37 views21 pages

Functions

Uploaded by

Djohn Smith
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views21 pages

Functions

Uploaded by

Djohn Smith
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 21

FUNCTIONS

SUM FUNCTION
• The SUM function is used for addition only in
a spreadsheet.
• When adding adjacent cells the following
format is used:
– Sum(first cell : last cell)

• When adding non-adjacent cells the following


format is used:
– Sum(cell1,cell3,cell5,cell8)
– E.g.. SUM(A2 : B2)

Represents the first cell in


the range

Means to

Represents the last cell in the


range
STATISTICAL FUNCTIONS
MAXIMUM
• The maximum function returns the highest
number from a range of cells.

• Format of maximum function


– Max (first cell in range : last cell in range)

• Example: Max(a2:a9)
MINIMUM
• The minimum function returns the lowest
number from a range of cells.

• Format of minimum function


– Min (first cell in range : last cell in range)

• Example: Min(a2:a9)
AVERAGE
• The AVERAGE function returns the average
value from a range of cells.

• Format of AVERAGE function


• AVERAGE (first cell in range : last cell in range)

• Example: AVERAGE(a2:a9)
COUNT FUNCTIONS
COUNT FUNCTION
• Count functions are used to count up cells
that have data in them.
TYPES OF COUNT FUNCTIONS
• Types of Count functions include but are not
limited to:
– COUNT
– COUNTA
– COUNTIF
COUNT FUNCTION
• The count function is used to count up
numbers only in cells

• Format of Count function


– Count(a2:a5)
• A2 in this case represents the first cell in the range to
be counted
• A5 in this case represents the last cell in the range to
be counted
COUNTA FUNCTION
• The COUNTA function is used to count up
letters or symbols only in cells

• Format of COUNTA function


– COUNTA(a2:a5)
• A2 in this case represents the first cell in the range to
be counted
• A5 in this case represents the last cell in the range to
be counted
COUNTIF FUNCTION
• The COUNTIF function is used to count up letters,
numbers and symbols in cells based on a criteria
• Format of COUNTIF function
– COUNTIF(first cell in the range : last cell in range, criteria)
COUNTIF FUNCTION
– COUNTIF(a2:a5, “BLACK”)
• A2 in this case represents the first cell in the range to be counted
• A5 in this case represents the last cell in the range to be counted
– This function will count all the cells that have in the text
BLACK.
– When counting up based on criteria in text the criteria
must be place in a pair of quotation marks.
IF FUNCTION
• Is used to perform actions if a condition is
assessed as true or false
• It is used for decision making in a spreadsheet
FORMAT OF IF FUNCTION
• If(condition,value if true, value if false)

• Example
– If(c1=“a”, “buy item”, “don’t buy”)
Logical operators
1. = equal
2. < less than
3. > greater than
4. >= greater than or equal to
5. <= less than or equal to
6. <> not equal to
First Last Base Custom Concession
Name Name Occupation Cost CC Rating Clearance Rate Total

Murray Renee Lawyer 58000 3000      

Campbell Jerome Entrepreneur 185000 2500      

Smith Wayne Engineer 500000 3000      

Hudson Lionel Police officer 680000 3000      


Rank
• The Rank function is used to rank data in cells
in ascending or descending order.
Format of the Rank Function
• RANK(number,ref,order)
– Number- is the number whose rank you want to
find.
– Ref - is the range in which the numbers are
located. Nonnumeric values in ref are ignored.
– Order -is a number specifying how to rank
number.
• 0- is for descending order
• 1- is for ascending order

You might also like