Excel Lesson 13

advertisement
Excel Lesson 13
Using Powerful Excel Functions
Microsoft Office 2010
Advanced
1
Cable / Morrison
Objectives

Excel Lesson 13

2


Use the COUNT and COUNTA functions.
Utilize the COUNTBLANK function to count
blank cells.
Use the Subtotal function with filtered data.
Create a named range.
Cable / Morrison
Microsoft Office 2010 Advanced
Objectives (continued)

Excel Lesson 13

Use a named range in a function.
Use a SUMIF function.
Search for data using VLOOKUP.
Search for data using HLOOKUP.

3
Cable / Morrison

Microsoft Office 2010 Advanced
Vocabulary

Excel Lesson 13

condition
criteria
function number
lookup table

4
Cable / Morrison

Microsoft Office 2010 Advanced
Introduction
Excel Lesson 13

Excel offers powerful functions to count, sum,
and locate specific information.
–
–
–
–
–
–
–
5
COUNT function
COUNTA function
COUNTBLANK function
Subtotal function
SUMIF function
VLOOKUP function
HLOOKUP function
Cable / Morrison
Microsoft Office 2010 Advanced
Using COUNTA versus COUNT
Excel Lesson 13

To find the total
number of cells that
have numeric data,
use the COUNT
function.
COUNT function counts numeric data
6
Cable / Morrison
Microsoft Office 2010 Advanced
Using COUNTA versus COUNT
(continued)
Excel Lesson 13


To count cells with
text, use the
COUNTA function.
The COUNTA
function counts cells
if they contain text
or a combination of
text and numbers.
COUNTA function counts cells with text
7
Cable / Morrison
Microsoft Office 2010 Advanced
Using COUNTBLANK
Excel Lesson 13

8

The COUNTBLANK function counts the
number of cells that do not have any
numbers or text entered in them.
You may want to count blank cells to see
how many cells do not contain data.
Cable / Morrison
Microsoft Office 2010 Advanced
Using COUNTBLANK (continued)
COUNTBLANK function counts cells without
data
Excel Lesson 13

9
Cable / Morrison
Microsoft Office 2010 Advanced
Counting Filtered Cells Using the
Subtotal Function
Excel Lesson 13

10

The Subtotal function can be used to count,
sum, or average filtered data.
The Subtotal function is =SUBTOTAL
(function number, data range).
–
The function number is a number that
represents a calculation.
Cable / Morrison
Microsoft Office 2010 Advanced
Counting Filtered Cells Using the
Subtotal Function (continued)
SUBTOTAL function counts displayed cells
Excel Lesson 13

11
Cable / Morrison
Microsoft Office 2010 Advanced
Creating Named Ranges

Excel Lesson 13

12
You can give a range a meaningful name.
Named ranges can be used in functions.
–

Especially helpful if you need to use a range in
several functions
In a range name, use an underscore (_),
rather than a space, to separate words.
–
Excel does not accept spaces in named ranges.
Cable / Morrison
Microsoft Office 2010 Advanced
Creating Named Ranges
(continued)
Name Box with
name entered
Excel Lesson 13

13
Cable / Morrison
Microsoft Office 2010 Advanced
Using a Named Range in a
Function
Excel Lesson 13

14
Using named ranges in functions is
convenient.
–

You can enter the range name instead of the cell
names.
To select and use a named range:
–
–
Click the Name Box down arrow.
Select the named range that you want to include
in a function.
Cable / Morrison
Microsoft Office 2010 Advanced
Using a Named Range in a
Function (continued)
Function with
named range
Excel Lesson 13

15
Cable / Morrison
Microsoft Office 2010 Advanced
Using the SUMIF Function
Excel Lesson 13

16



The SUMIF function will only total data that
meets a certain condition.
A condition is a requirement that needs to
be met.
Criteria are the conditions you are searching
for in a data range.
The SUMIF function is
=SUMIF(range,criteria,sum_range).
Cable / Morrison
Microsoft Office 2010 Advanced
Using the SUMIF Function
(continued)
Example of SUMIF
Function
Excel Lesson 13

17
Cable / Morrison
Microsoft Office 2010 Advanced
Creating a VLOOKUP Function
Excel Lesson 13

18


LOOKUP functions allow you to find data that
already exists.
A lookup table is the range of data you
create in either a vertical or horizontal format,
which Excel will use to match against the
criteria.
The VLOOKUP function is used when the
lookup table is listed vertically in columns.
Cable / Morrison
Microsoft Office 2010 Advanced
Creating a VLOOKUP Function
(continued)
Example of VLOOKUP function
Excel Lesson 13

19
Cable / Morrison
Microsoft Office 2010 Advanced
Using the HLOOKUP Function
Excel Lesson 13


Use the HLOOKUP function when the data in
the lookup table is listed horizontally in rows.
To use the HLOOKUP function, enter the
following information into the Function
Argument dialog box:
–
–
–
20
Lookup_value
Table_array
Row_index_num
Cable / Morrison
Microsoft Office 2010 Advanced
Using the HLOOKUP Function
(continued)
Example of HLOOKUP function
Excel Lesson 13

21
Cable / Morrison
Microsoft Office 2010 Advanced
Using the HLOOKUP Function
(continued)
Function Arguments for HLOOKUP dialog
box
Excel Lesson 13

22
Cable / Morrison
Microsoft Office 2010 Advanced
Excel Lesson 13
Summary
23
In this lesson, you learned:
 The COUNT function counts cells with
numeric data and the COUNTA function
counts cells with text or a combination of text
and numbers.
 You can use COUNTBLANK to count cells
without any data.
Cable / Morrison
Microsoft Office 2010 Advanced
Summary (continued)
Excel Lesson 13

24



The SUBTOTAL function can be used to
count filtered data.
You can name a range of data.
A named range can be used in a function.
The SUMIF function totals data that meet a
certain condition.
Cable / Morrison
Microsoft Office 2010 Advanced
Summary (continued)
Excel Lesson 13

25

You can use the VLOOKUP function to find
data that is displayed vertically in a lookup
table.
You can use the HLOOKUP function to find
data that is displayed horizontally in a lookup
table.
Cable / Morrison
Microsoft Office 2010 Advanced
Download