Excel Chapter 4

advertisement
Microsoft Office Excel 2007
In Business
Core Chapter 4
Evaluating Data
In Business Series © Prentice Hall 2007
1
Chapter Introduction
 Excel Skill Sets
 Logical Functions (IF)
 Logical Functions (AND
OR)
 Lookup Functions
 Common Mistakes
 Quick References
 Video Workshops
In Business Series © Prentice Hall 2007
 Why Do I Need This
 What’s Wrong with This
Spreadsheet
 Review & Challenge
Questions
 Skills Exam
2
Logical Functions
IF
 IF Functions
 Nested IF Functions
In Business Series © Prentice Hall 2007
3
Logical Functions
 Used to evaluate data
and provide output
 Output is defined
based on logical test
 Results will be either true
or false
 Uses three arguments:
 logical_test
 [value_if_true]
 [value_if_false]
In Business Series © Prentice Hall 2007
4
IF Function
 Comparison operators






= Equal to
> Greater than
< Less than
<> Not equal to
>= Greater than or equal to
<= Less than or equal to
In Business Series © Prentice Hall 2007
5
IF Function (cont.)
 Alternate method
shown
 IF function now calculates
the order quantity needed
to maintain 10,000 pound
target
 Results shown are
sorted in descending
order
In Business Series © Prentice Hall 2007
6
Nested IF Functions
 Used when the function
should display one of
many possible outputs
 One of four outputs are
needed:
 < 5000 display “Prod Risk”
 > 5000 and < 10000
display “Low”
 > 14000 display “Spoil
Risk”
 Between 10000 and 14000
display “OK”
In Business Series © Prentice Hall 2007
7
IF Functions Summary
 Video Workshops
 IF Functions
 Nested IF Functions
 Price Management
 Inventory Analysis
In Business Series © Prentice Hall 2007
8
Logical Functions
AND OR
 Also used to evaluate data based on logical
tests
 Can be used independently
 Often used in the logical test argument of
an IF Function
In Business Series © Prentice Hall 2007
9
AND Function
 Evaluates data using
the same logical test
shown in the IF section.
 You can enter up to 30
logical tests!
 If ALL logical tests are true,
the word TRUE will display.
 If ANY of the logical tests
are false, the word FALSE
will display.
In Business Series © Prentice Hall 2007
10
AND Function (cont.)
 TRUE is displayed in column
F that meets ALL three
logical tests
 FALSE is displayed if the
results are false for ANY of
the three logical tests
 Because of sorting, all TRUE
outputs are grouped at the
top of the worksheet
In Business Series © Prentice Hall 2007
11
OR Function
 Major difference from
AND Function:
 If any logical test is true,
word TRUE will be displayed
 Is used where the
existence of just one
criterion is required to
trigger a decision
In Business Series © Prentice Hall 2007
12
Combining AND, OR, and IF Functions
 When combined with
IF, output can be
controlled (i.e., not
TRUE or FALSE).
 The example assumes that
a customer could receive
one of two discount
coupons.
 50% off for year or
longer customers who
has not made a
purchase in the last 12
months.
 10% off for all others.
In Business Series © Prentice Hall 2007
13
Combining (cont.)
 Combining the IF and
OR Functions
 The example assumes that
a customer could receive
one of two discount
coupons.
 25% discount for
customers who have
either been making
purchases for more
than 2 years or have
spent more than $1,000
in the past year.
 10% off for all others.
In Business Series © Prentice Hall 2007
14
Basic Functions Summary
 Video Workshops
 AND Function
 OR Function
 Combining AND, OR, and
IF Functions
 Managing Product
Shipments
 Company Analysis
In Business Series © Prentice Hall 2007
15
Lookup Functions
 Used for assembling data in a worksheet
 Data normally comes from several sources or pick
specific points from larger datasets
 Two lookup functions will help you assemble
data
 VLookup
 HLookup
In Business Series © Prentice Hall 2007
16
VLookup Function
 Used mostly to display
data from one
worksheet or workbook
into another
In Business Series © Prentice Hall 2007
17
VLookup Function (cont.)
 Four arguments




lookup_value
table_array
col_index_num
[range_lookup]
In Business Series © Prentice Hall 2007
18
HLookup Function
 Used when data is
organized across a row
instead of down a
column
 HLookup identical to
VLookup except that it
looks horizontally and
not vertically for a
match
In Business Series © Prentice Hall 2007
19
HLookup Function (cont.)
 The four arguments are
identical to those in the
VLookup function.




lookup_value
table_array
row_index_num
[range_lookup]
In Business Series © Prentice Hall 2007
20
Lookup Functions Summary
 Video Workshops
 VLookup Function
 HLookup Function
 Personal Investment
Strategies
 Group Project
In Business Series © Prentice Hall 2007
21
Chapter Summary
 Excel in Practice Anecdote
 Review Questions
 Skills Exam
 Challenge Questions
In Business Series © Prentice Hall 2007
22
Download