© Scott/Jones Publishing, Inc. 1 Chapter 18 Working with Advanced Functions Excel 2003, Volume 2 by...
-
Upload
georgiana-watson -
Category
Documents
-
view
221 -
download
1
Transcript of © Scott/Jones Publishing, Inc. 1 Chapter 18 Working with Advanced Functions Excel 2003, Volume 2 by...
© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc. 11
Chapter 18Working with Advanced
Functions
Excel 2003, Volume 2Excel 2003, Volume 2
by Karen J. Jollyby Karen J. JollyScott/Jones Publishing, Inc.Scott/Jones Publishing, Inc.
22© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
OutcomesOutcomes
Create complex formulas by nesting functions.
Create and use 3- and 4-column lookup tables.
Create nested lookup formulas.
33© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Nesting Functions and Nesting Functions and FormulasFormulas
Place a function within another function. Any function can be nested within another functions.
44© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Why Use a Nested Function?Why Use a Nested Function?
Employees pledge to Community Chest. Pledges from more than 15 people totaling more than $150 earn a travel alarm. All receive a coffee mug.
55© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Nested IF StatementNested IF Statement
Access new If function
Enter Logical test
66© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Completed If Function Completed If Function Arguments Dialog BoxArguments Dialog Box
77© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Completed Worksheet with a Completed Worksheet with a Nested If StatementNested If Statement
88© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Facts About Nesting FunctionsFacts About Nesting Functions
Functions may be nested within each Functions may be nested within each other allowing for very complex other allowing for very complex formulas. formulas.
Any function can be nested within one Any function can be nested within one another. another.
There may be as many as seven There may be as many as seven functions nested within other functions.functions nested within other functions.
99© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Worksheet Requiring a Nested Worksheet Requiring a Nested SUM FormulaSUM Formula
Situation: Any sales rep with total sales of $18,000 or greater will earn a commission rate of 15%; sales less than $18,000 will earn a commission rate of 10%.
1010© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Step 1Step 1
Enter Logical test, which is a SUM function. Access SUM Functions Argument dialog box.
1111© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Step 2Step 2Complete the SUM function. Then click in the IF in the Formula bar.
1212© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Step 3Step 3Complete the Logical test, value if true (15% bonus), and value if false (10% bonus) text boxes.
1313© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
A Completed Worksheet with a A Completed Worksheet with a Nested IF FunctionNested IF Function
1414© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Using Functions in 3-D Using Functions in 3-D FormulasFormulas
A 3-D Formula contains a cell reference referring to a cell in a different worksheet or workbook.
When an IF statement uses data in another worksheet or workbook, a 3-D IF statement is created.
1515© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
3-D Nested If Statement3-D Nested If Statement
Name of external worksheet
What to state if test is true
What to state if test is false
Logical test
1616© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Lookup Functions using 3-4 Lookup Functions using 3-4 Column TablesColumn Tables
Lookup tables may contain several columns of information. The lookup formula may refer to data in any of the columns.
1717© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
ResultResult
1818© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
3 Column Lookup Table3 Column Lookup Table
A Lookup Table
1919© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Entering a Formula using a 3 Entering a Formula using a 3 Column LookupColumn Lookup
2020© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
External Lookup TableExternal Lookup Table
A lookup table in a different workbook is an external lookup table. A tax table used by several employees should be placed in a separate workbook.
A Portion of the Federal Tax Table
2121© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Entering the Table Array from an External Workbook
2222© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
An External Lookup TableAn External Lookup Table
Workbook Name Range Name
2323© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
About Lookup Tables as Separate Workbooks
Lookup tables placed in separate Lookup tables placed in separate workbooks can be used again and workbooks can be used again and again.again.Lookup tables may include bonus Lookup tables may include bonus charts, tax rates, or discount tables. charts, tax rates, or discount tables. Save a workbook containing a lookup Save a workbook containing a lookup table in a workspace with related table in a workspace with related worksheets.worksheets.
2424© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Use Text as Lookup ValueUse Text as Lookup Value
Text in lookup table must be in Text in lookup table must be in alphabetical order.alphabetical order.
2525© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
If Function Arguments Dialog If Function Arguments Dialog Box for a Lookup FunctionBox for a Lookup Function
2626© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Completed Function Arguments Completed Function Arguments Dialog BoxDialog Box
2727© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Completed LookupCompleted Lookup
2828© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Worksheet With Completed Worksheet With Completed Nested FunctionsNested Functions
2929© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Nested LookupsNested Lookups
Must match two criteria.Must match two criteria.Sales over than $30,000. Requires IF Sales over than $30,000. Requires IF statement.statement.More than 100 sales. Requires IF More than 100 sales. Requires IF statement.statement.Nest two IF statements within one other.Nest two IF statements within one other.If both criteria met, use lookup table to If both criteria met, use lookup table to determine bonus. If only one criteria met, determine bonus. If only one criteria met, no bonus.no bonus.
3030© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Step 1Step 1 Name the lookup range and complete the Logical test.
Step 2Step 2
Select a second IF Function Arguments dialog box and enter second logical test.
3131© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Step 3Step 3 Complete Value if true; access the VLookup function and complete the Function Arguments dialog box.
3232© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Step 4Step 4 Click in second IF statement to complete dialog box.
Completed Nested IF function.
3333© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.
Completed FunctionCompleted Function
3434© Scott/Jones Publishing, Inc.© Scott/Jones Publishing, Inc.