Functions and Formulas
Functions and Formulas
FORMULAS
WHAT ARE FORMULAS?
• Set of symbols and values that perform
calculations and produce results.
• All Excel formulas have the same structure:
equal to sign(=) with an operand and
operator. Eg:
=B1+C4,
=5+4
WHAT ARE OPERANDS?
• This is data Excel uses in calculations.
• Also depicts cell addresses used in
calculations. Eg
–Cell Address : B1, C5, D12, F9
–Cell Range : B1:C6, A1:F9
WHAT ARE OPERATORS?
• This is a symbol that used on the
operands mathematically.
• TYPES OF OPERATORS:
1. Arithmetic Operators: +, - , *, / .
2. Comparison Operators: =, <, >.
OPERATOR PRECEDENCE
PARENTHESIS ()
NEGATION -
PERCENTAGE %
EXPONENTIAL ^
MULTIPLICATION *
DIVISION /
ADDITION, SUBTRACTION +, -
COMPARISON =, < , >
How to build a formula
4
MICROSOFT EXCEL
CELL REFERENCING
CELL
REFERENCING
This refers to a cell or
range of cells on a
worksheet that can be
used in a formula.
CELL
REFERENCING
The 2 types of cell references are :
Relative
Absolute
RELATIVE
REFERENCING
A relative reference is an address
that keeps the source to the
destination cells. Example:
=A2+A4
ABSOLUTE
REFERENCING
Absolute reference in excel is used to fix the
position of the selected cell in any formula
so that its value will not be changed when
changing the cell or copying the formula to
other cells or sheets. Example:
= $A$2 + $A$4
ABSOLUTE CELL REFERNCING
1. Double-click the cell that contains the formula you want to edit.
3. Press F4
4. press .ENTER
BONUS: NAMING A GROUP OF CELLS (DEFINE NAME)
TYPE THE NAME YOU WISH TO USE.
SELECT THE RANGE OF CELLS. (SPACES ARE NOT ALLOWED)
AVERAGE(number1,number2,...)
Returns the average of the
arguments
MAX(number1,number2,...)
Returns the maximum value of the
arguments
MEDIAN(number1,number2,...)
Returns the median value of the
arguments
MODE(number1,number2,...)
Returns the most common value of
the arguments
VLOOKUP function
The VLOOKUP function is used to
perform a vertical look up in the left
most column and return a value in the
same row from a column that you
specify.
VLOOKUP takes 4 parameters:
lookup_value The value to look for in the first
column of a table.
Your formula uses a name that Excel does not recognize. Check your range names
#NAME? and function names.
Your formula uses a number inappropriately. Check the arguments for your
#NUM! mathematical functions to make sure they use the correct types of numbers.
Your formula contains an invalid cell reference. This usually occurs when you
#REF# delete a cell referenced by a formula. Adjust the formula to use a different cell.