LearnIT@LunchUnderstanding Formulas and Functions In Excel 2007IT-User Services
Using FormulasDuring 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
Formula vs. FunctionFormulas are equations thatperform calculations on values.Functions are predefinedformulas that performcalculations by using specificvalues in a certain order.
Mathematical OperatorsBasic Mathematical OperatorsControl order of operations with ( )
Mathematical OperatorsUse Parentheses to control operations
Copying FormulaRelative ReferencesWhen a formula is copied, the referenced cellschanges*Note: The result of cut and paste is different than copy and past
Copying FormulaAbsolute References•Use $ to ‘lock’ the row/column reference•Press (F4) to create the ($) sign
Copying FormulaQuick Tips •Use Ctl + Enter •Double click the Fill Handle
AutoCalculateUsing AutoCalculateCalculations done by Excel on range of data
Display FormulasDisplaying and Printing FormulasFormulas Tab, Show Formulas button
Using the Function LibraryInserting FunctionsType into formula bar or use the functionlibrary
Finding FunctionsAutoComplete (new in Excel 2007)Type = then first letter of the function
Finding FunctionsFunction WizardType key words search or browse library
Using IF FunctionIF Function syntax=IF (test, if value true, if value false)
VLOOKUP Syntax =VLOOKUP(J2,$N$1:$O$4,2,FALSE) To Find an Exact MatchJ2 = 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 returnedFalse = Tells Excel to return value if exact match is found This function works differently based on the 4th parameter.
Using FunctionsWorking with Nested FunctionsFunctions inside other functions
Identifying ErrorsError 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 cellreferenced in formula has been deleted.)#N/A! – Occurs when a value is not available to a function orformula.
Naming a cell or rangeInstead of using the cell address, give thecell or range a name (e.g. grandtotal)
Naming a cell or range• Make formulas easier to understand and use • “procardlist” is much more meaningful than A2:B5.• Quick navigation
Naming a cell or rangeNaming Rules• Up to 255 characters long• No spaces (may use “_” underscore)• Cannot contain special characters (!”$)• Cannot contain operators (+-%)
Naming a cell or rangeDefining and Using Range NamesSelect Formulas tab and Define Name
Helpful Resourceswww.udel.edu/learnwww.udel.edu/help or call 831-6000www.datapigtechnologies.comhttp://office.microsoft.com/en-us/training