excel 2007 unit b

28
Microsoft Office 2007- Microsoft Office 2007- Illustrated Illustrated Working with Formulas Working with Formulas and and Functions Functions

Upload: raja-waseem-akhtar

Post on 24-May-2015

896 views

Category:

Technology


1 download

DESCRIPTION

These Slides are shared for Education purposes only,

TRANSCRIPT

Page 1: Excel 2007 Unit B

Microsoft Office 2007- IllustratedMicrosoft Office 2007- Illustrated

Working with Formulas and Working with Formulas and FunctionsFunctions

Page 2: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

• Create a complex formulaCreate a complex formula

• Insert a functionInsert a function

• Type a functionType a function

• Copy and move cell entriesCopy and move cell entries

• Understand relative and absolute cell Understand relative and absolute cell referencesreferences

ObjectivesObjectives

Page 3: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Objectives Objectives

• Copy formulas with relative cell Copy formulas with relative cell referencesreferences

• Copy formulas with absolute cell Copy formulas with absolute cell referencesreferences

• Round a value with a functionRound a value with a function

Page 4: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Creating a Complex FormulaCreating a Complex Formula

• A A complex formulacomplex formula is an equation is an equation that uses more than one type of that uses more than one type of arithmetic operatorarithmetic operator• Example: formula that uses both Example: formula that uses both

addition and multiplicationaddition and multiplication• Arithmetic operations are performed Arithmetic operations are performed

according to the order of precedenceaccording to the order of precedence

Page 5: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Creating a Complex Formula Creating a Complex Formula

Complex formula

Formula containing multiple arithmetic operatorsFormula containing multiple arithmetic operators

Mode indicator

Page 6: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Creating a Complex Formula Creating a Complex Formula

• Order of precedence in Excel Order of precedence in Excel formulasformulas• Operations inside parentheses are Operations inside parentheses are

calculated firstcalculated first• EVistaonents are calculated nextEVistaonents are calculated next• Multiplication and division are Multiplication and division are

calculated next (from left to right)calculated next (from left to right)• Addition and subtraction are calculated Addition and subtraction are calculated

next (from left to right)next (from left to right)

Page 7: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Inserting a FunctionInserting a Function

• A A functionfunction is a predefined worksheet is a predefined worksheet formula that makes it easy to perform formula that makes it easy to perform a complex calculationa complex calculation• Can be used by itself or within a Can be used by itself or within a

formulaformula• If used alone, begins with the formula If used alone, begins with the formula

prefix (=)prefix (=)

Page 8: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Inserting a Function Inserting a Function

Function

Argument

Insert Function button

Description and

argument format

Function Arguments dialog boxFunction Arguments dialog box

Page 9: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Typing a FunctionTyping a Function

• A function can be typed manually into A function can be typed manually into a cella cell• You must know the name and initial You must know the name and initial

characters of the functioncharacters of the function• Can be faster than using the Insert Can be faster than using the Insert

Function dialog boxFunction dialog box• EVistaerienced Excel users often prefer EVistaerienced Excel users often prefer

this methodthis method

Page 10: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Typing a Function Typing a Function

• While manually typing a function, it is While manually typing a function, it is necessary to begin with the equal necessary to begin with the equal sign (=)sign (=)

• Once you type an equal sign, each Once you type an equal sign, each letter you type activates the letter you type activates the AutoComplete featureAutoComplete feature

Page 11: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Typing a Function Typing a Function

MAX function in progressMAX function in progress

Page 12: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Copying and Moving Cell Copying and Moving Cell EntriesEntries• You can copy or move data within a You can copy or move data within a

worksheet or between worksheets worksheet or between worksheets using: using: • Cut, Copy, and Paste buttonsCut, Copy, and Paste buttons• Fill handle in the lower-right corner of Fill handle in the lower-right corner of

the active cellthe active cell• Drag-and-drop featureDrag-and-drop feature

• Office ClipboardOffice Clipboard temporarily stores temporarily stores information that you copy or cutinformation that you copy or cut

Page 13: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

• Pasting an item from the ClipboardPasting an item from the Clipboard• Only need to specify the upper-left cell Only need to specify the upper-left cell

of the range where you want to paste of the range where you want to paste the selectionthe selection

Copying and Moving Cell Copying and Moving Cell Entries Entries

Page 14: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Copying and Moving Cell Copying and Moving Cell Entries Entries

Paste button

Copied data in ClipboardCopied data in Clipboard

Copy button

Clipboard launcher

Item in Clipboard

Page 15: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Understanding Relative and Understanding Relative and Absolute Cell ReferencesAbsolute Cell References

• Use a Use a relative cell reference relative cell reference when you when you want to preserve the relationship to want to preserve the relationship to the formula locationthe formula location• Calculations are performed based on cell Calculations are performed based on cell

relationshiprelationship• When a formula is copied, the cell When a formula is copied, the cell

reference changes to preserve the reference changes to preserve the relationship of the formula to the relationship of the formula to the referenced cellsreferenced cells

• The Excel defaultThe Excel default

Page 16: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Understanding Relative and Understanding Relative and Absolute Cell References Absolute Cell References

Formulas containing relative referencesFormulas containing relative references

Formula containing relative

references

Page 17: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

• Use an Use an absolute cell referenceabsolute cell reference when when you want to preserve the exact cell you want to preserve the exact cell address in a formulaaddress in a formula• Reference does not change even if the Reference does not change even if the

formula is copied to another locationformula is copied to another location• Created by placing a dollar sign ($) Created by placing a dollar sign ($)

before both the column letter and the before both the column letter and the row number for the cell’s addressrow number for the cell’s address

Understanding Relative and Understanding Relative and Absolute Cell References Absolute Cell References

Page 18: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Cell referenced in

absolute formulas

Relative references

adjust

Absolute references do

not adjust

Formulas containing absolute and relative referencesFormulas containing absolute and relative references

Understanding Relative and Understanding Relative and Absolute Cell References Absolute Cell References

Page 19: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

• Using a Using a mixed referencemixed reference• A mixed cell reference combines both A mixed cell reference combines both

relative and absolute cell referencingrelative and absolute cell referencing• Example: When you copy a formula, you Example: When you copy a formula, you

may want to change the row reference but may want to change the row reference but keep the column referencekeep the column reference

• Created using the [F4] function keyCreated using the [F4] function key

Understanding Relative and Understanding Relative and Absolute Cell References Absolute Cell References

Page 20: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Copying Formulas with Copying Formulas with Relative Cell ReferencesRelative Cell References

• Reuse formulas you have createdReuse formulas you have created

• Use Copy and Paste commands or Use Copy and Paste commands or the fill handle to copy formulasthe fill handle to copy formulas

• Copying a formula to a new cellCopying a formula to a new cell• Excel substitutes new cell references Excel substitutes new cell references

so that the relationship of the cells to so that the relationship of the cells to the formula remains unchangedthe formula remains unchanged

Page 21: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Copying Formulas with Copying Formulas with Relative Cell References Relative Cell References

Copying a formula with the fill handleCopying a formula with the fill handlePaste

button list arrow

Fill handle

Auto Fill Options button

Page 22: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Copying Formulas with Copying Formulas with Relative Cell References Relative Cell References

• Auto Fill feature can be used for Auto Fill feature can be used for filling cells with sequential text or filling cells with sequential text or valuesvalues• Months of the year; days of the week; Months of the year; days of the week;

or text plus a number (Quarter 1, or text plus a number (Quarter 1, Quarter 2, etc.)Quarter 2, etc.)

• Drag the fill handle to extend an Drag the fill handle to extend an existing sequenceexisting sequence

Page 23: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Copying Formulas with Copying Formulas with Absolute Cell ReferencesAbsolute Cell References• Apply absolute cell reference before Apply absolute cell reference before

copying a formula if you want one or copying a formula if you want one or more cell references to remain more cell references to remain unchanged in relation to the formulaunchanged in relation to the formula

Page 24: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Copying Formulas with Copying Formulas with Absolute Cell ReferencesAbsolute Cell References

Creating an absolute reference in formulaCreating an absolute reference in formulaAbsolute cell reference in

formulaIncorrect

values from relative

referencing in copied

formulas

Page 25: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Rounding a Value with a Rounding a Value with a FunctionFunction• Cells containing financial data are Cells containing financial data are

often easier to read if they contain often easier to read if they contain fewer decimalsfewer decimals

• Use the ROUND function to round Use the ROUND function to round down your resultsdown your results

Page 26: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

Rounding a Value with a Rounding a Value with a Function Function

ROUND function and

opening parenthesis inserted in

formula ScreenTip indicates what information is

needed

Adding a function to an existing formulaAdding a function to an existing formula

Page 27: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

• Create a complex formulaCreate a complex formula

• Insert a functionInsert a function

• Type a functionType a function

• Copy and move cell entriesCopy and move cell entries

• Understand relative and absolute cell Understand relative and absolute cell referencesreferences

SummarySummary

Page 28: Excel 2007 Unit B

Microsoft Office 2007-Illustrated

SummarySummary

• Copy formulas with relative cell Copy formulas with relative cell referencesreferences

• Copy formulas with absolute cell Copy formulas with absolute cell referencesreferences

• Round a value with a functionRound a value with a function