Spreadsheet Functions
A function is an expression that performs common calculations and returns a single value.
Functions make a formula shorter and reduce the possibility of errors. Excel functions provide
one word access to a series of operations. Many functions are built-in to Excel.
Common Functions
The most commonly used functions include SUM, AVERAGE, MIN, MAX, IF, and
ROUND.
t
SUM is a function in Excel that adds all the numbers in cells. When creating program
-
ming functions, separate non-adjacent cells with commas: =SUM (D4, E5, F8). Use a
colon (:) to indicate adjacent cells or a range: =SUM (G1:G5). Within the parentheses,
list the first cell reference followed by a colon and then the last cell reference. For exam
-
ple, (G1:G5) would include cells G1, G2, G3, G4, and G5.
t
AVERAGE is a built-in function in Excel that calculates the average of a group of num
-
bers.
t
MIN is a function that finds the smallest number in a set of values.
t
MAX is a function that finds the largest number in a set of values.
t
IF is a function that is used to return one value if a condition is true and another value if it
is false. For example, if sales total more than $3,000 then return a “Yes” for Bonus, other-
wise, return a “No” for Bonus. The IF function is used often to analyze data by evaluating
specific conditions.
t
ROUND is a function in Excel that rounds a number to a specified number of digits. The
ROUND function rounds up or down. 1, 2, 3 and 4 get rounded down. 5, 6, 7, 8 and 9
get rounded up. For example, if the number 543.678 is located in cell A1 and the user
wishes the number to be rounded to no decimal places, the formula would be =
ROUND(A1, 0) and the formatted response is 544, with no decimal places. If however,
the user wishes the number to be rounded to one decimal place, the formula is =
ROUND(A1, 1) and the response is formatted as 543.7.
Arguments
Arguments are the values that functions use to perform calculations. Functions (built-in
formulas) require data, i.e., arguments, to be entered, in order to return a result. A function's
syntax is the layout of a function, including the function's name, parenthesis, comma separa
-
tors, and its arguments. The arguments are always surrounded by parentheses and individual
arguments are separated by commas. A simple example is the SUM function. The syntax for
this function is: SUM (Number1, Number2, ... Number255). The arguments for this func
-
tion are: Number1, Number2, ... Number255.
E-unit: Spreadsheets: Formatting
Page 11 u www.MyCAERT.com
Copyright © by CAERT, Inc. — Reproduction by subscription only. 620304