2. Using Formulas
During this session you will learn about:
• Basic mathematical operators
• Relative and absolute cell references
• Using Functions
• Using the IF function
• Finding the right function
• Fixing errors
• Working with range name
3. Formula vs. Function
Formulas are equations that
perform calculations on values.
Functions are predefined
formulas that perform
calculations by using specific
values in a certain order.
17. VLOOKUP Syntax
=VLOOKUP(J2,$N$1:$O$4,2,FALSE)
To Find an Exact Match
J2 = Lookup value (last 4 digits of pro card)
$N$1:$O$4 = Table array (pro card # with employee name)
2 = Column index from table array with value to be returned
False = Tells Excel to return value if exact match is found
This function works differently based on the 4th parameter.
19. Identifying Errors
Error Messages
#VALUE! – Trying to do math with nonnumeric data.
#DIV/0! – Trying to divide by zero.
#REF! – Occurs when a cell reference is not valid. (When a cell
referenced in formula has been deleted.)
#N/A! – Occurs when a value is not available to a function or
formula.
20. Naming a cell or range
Instead of using the cell address, give the
cell or range a name (e.g. grandtotal)
21. Naming a cell or range
• Make formulas easier to understand and
use
• “procardlist” is much more meaningful than
A2:B5.
• Quick navigation
22. Naming a cell or range
Naming Rules
• Up to 255 characters long
• No spaces (may use “_” underscore)
• Cannot contain special characters (!”$)
• Cannot contain operators (+-%)
23. Naming a cell or range
Defining and Using Range Names
Select Formulas tab and Define Name