Excel 2016 Pivot Tables - Booklet
Excel 2016 Pivot Tables - Booklet
Technology
Training
Program
Copyright 2016. Orange County Library System. All rights reserved.
Foreword
At the Orange County Library System, we believe in offering the
best technology training to our patrons and to the community.
Class Objectives:
Students will create PivotTables and PivotCharts.
Students will manipulate and format data within a PivotTable.
Students will analyze the data using advanced filtering tools.
Length:
Approximately 1 hour
Audience:
This is a basic adult level class for those who want to learn how
create and analyze data with PivotTables and PivotCharts.
Recommended Prerequisite:
Microsoft Excel 2016 Level 4
TEC0515
Table of Contents Notes
Introduction ..................................................................................................................... 1
What is a PivotTable? ..................................................................................................... 1
Why use a PivotTable? .................................................................................................... 1
Data Sources .................................................................................................................... 2
Creating a PivotTable ..................................................................................................... 3
PivotTable Layout ........................................................................................................... 4
PivotTable Field List ............................................................................................... 5
Adding Fields .......................................................................................................... 6
Applying Styles to a PivotTable ...................................................................................... 7
Formatting Data in a PivotTable .................................................................................... 7
Refreshing PivotTable Data ............................................................................................ 9
PivotTable Field Settings ................................................................................................ 9
Display Values as Percentages............................................................................... 10
Filtering PivotTable Data.............................................................................................. 11
Filtering with a Slicer ............................................................................................ 11
Filtering with a Timeline ....................................................................................... 12
Inserting Recommended PivotTables .......................................................................... 13
Creating PivotCharts .................................................................................................... 14
Quiz................................................................................................................................. 15
Summary ........................................................................................................................ 16
Recommended Reading ................................................................................................. 16
References ...................................................................................................................... 17
Practice Exercise ............................................................................................................ 18
Microsoft Excel 2016: Pivot Tables
Introduction
PivotTables are an excellent tool to manipulate and summarize
data in Microsoft Excel, but many users are not aware of this
powerful tool. The term pivot refers to the ability to change the
position of fields and to transpose the rows and columns of a table.
In this class, students will learn how to use this powerful tool to
analyze large amounts of data, as well as how to format
PivotTables and create PivotCharts.
What is a PivotTable?
The PivotTable feature may be the most powerful tool in the Excel
application. PivotTables are interactive worksheet tables that an
Excel user can utilize to easily summarize, organize, analyze and
compare large amounts of data without having to build complex
formulas. Users can reposition row and column headings in the
PivotTable to display and analyze data in a variety of ways. Data
in a PivotTable is cross-tabulated in two or more ways by
combining values from different fields.
Why use a PivotTable?
PivotTables are utilized for many applications and across multiple
fields. If there is a large amount of data, it is easier to analyze the
data using a PivotTable. All data in a PivotTable is displayed
independently of the original layout. Imagine that a user has a table
of data that contains insurance policy information, including: the
policy number, city, location, salesperson, region and insured
value.
Using a PivotTable the user can discover:
The most productive salesperson.
The number of policies in each city.
The total sales for each region.
Total amount of units sold by city and region.
1
Microsoft Excel 2016: Pivot Tables Microsoft Excel 2016: Pivot Tables
2 19
Microsoft Excel 2016: Pivot Tables Microsoft Excel 2016: Pivot Tables
3. After all the source data has been inputted, create the Pivot
Table that will answer the following questions:
A. What are the totals of sale for each Region?
B. Which Salesperson has the highest sales in Dec.?
C. In 2009 who sold more Units in the South?
Figure 3: The Create PivotTable Dialog Box
18 3
Microsoft Excel 2016: Pivot Tables Microsoft Excel 2016: Pivot Tables
4 17
Microsoft Excel 2016: Pivot Tables Microsoft Excel 2016: Pivot Tables
Websites: Columns: The Columns area displays the unique values from the
selected field across the top of the PivotTable.
Microsoft Office
http://www.office.microsoft.com Rows: The Rows area displays the unique values from the selected
field down the left side of the PivotTable.
Microsoft Support
Values: The Values area performs a specified calculation using the
http://www.support.microsoft.com
value in the selected field.
Online Tutorials:
Lynda.com Tutorials
Excel 2016 Essential Training & Excel 2016 Tips and Tricks
Books:
Frye, C. (2016). Microsoft Excel 2016 Step by Step. Sebastopol:
O'Reilly Media.
Harvey, G. (2016). Excel 2016for Dummies. Hoboken: For
Dummies
McFedries, P. (2016). Teach Yourself Visually Excel 2016.
Indianapolis: John Wiley & Sons.
Figure 5: PivotTable Areas
16 5
Microsoft Excel 2016: Pivot Tables Microsoft Excel 2016: Pivot Tables
Adding Fields Quiz
Prior to adding fields to the PivotTable users should consider two 1. Why should you use a PivotTable?
questions. What type of data is being measured and how should a. Analyze data c. Organize data
that data be displayed on the PivotTable. The answer to the first b. Summarize data d. All of the above
question reveals which fields in the data source to work with and
the answer to the second question tells you where to place each 2. What is a PivotTable?
field. a. Formula c. Interactive report
To add fields to a PivotTable: b. Field List d. Workbook
1. Place a checkmark next to a desired field in the Field List.
3. What is the best data source for a PivotTable?
Tip: By default, fields with text values will be placed in to a. Word c. Outlook
the Rows area and fields with number values will be placed b. PowerPoint d. Excel
into the Values area. Right-click on any field name in an
area to change the area it’s assigned to. 4. What do you call an Excel column heading in a
OR PivotTable?
a. Row c. Filter
1. Drag a field from the list and drop it into the desired area. b. Field d. All of the above
Figure 6: PivotTable Field List Answer Key:1-d, 2-c, 3-d, 4-b, 5-d, 6-True,7-True, 8-False
6 15
Microsoft Excel 2016: Pivot Tables Microsoft Excel 2016: Pivot Tables
14 7
Microsoft Excel 2016: Pivot Tables Microsoft Excel 2016: Pivot Tables
To format numeric data in a PivotTable: Inserting Recommended PivotTables
1. Select all cells that contain numeric data in the PivotTable. PivotTables are a powerful tool that can assist users in making data
2. Select a Number Format from the Number group on the driven decisions, but it can also be daunting for a new user.
Home tab. Recommended Pivot Tables gives users a starting point by
recommending PivotTable layouts based on a selection of data.
OR Once the PivotTable is created it can be further customized by the
1. Select any cell in the PivotTable. user.
2. Select the pull down next to the field name in the Values To insert a Recommended PivotTable:
area of the PivotTable Fields List. 1. Select any cell in a data source.
3. Select Value Field Settings from the menu. 2. Select Recommended PivotTables from the Tables group
4. Select the Number Format button in the lower left corner on the Insert tab.
of the Value Field Settings dialog box. 3. Select any PivotTable layout to preview the PivotTable in
5. Select the desired Number Format. the Recommended PivotTables dialog box.
6. Select OK in the Format Cells dialog box. 4. Select OK to create the PivotTable.
7. Select OK in the Value Field Settings dialog box.
8 13
Microsoft Excel 2016: Pivot Tables Microsoft Excel 2016: Pivot Tables
Figure 15: Insert Timeline Command To modify Field Settings for a PivotTable:
1. Select any cell in the PivotTable.
2. Select the Analyze tab from the PivotTable Tools tab.
3. Select Field Settings from the Active Field group.
4. Select Summarize Values By tab in the Value Field
Settings dialog box.
5. Select the desired function.
6. Select OK.
12 9
Microsoft Excel 2016: Pivot Tables Microsoft Excel 2016: Pivot Tables
Display Values as Percentages Filtering PivotTable Data
In a PivotTable, numeric values can be displayed as numbers or Data displayed in a PivotTable can be filtered in a number of ways.
calculated to display as a percentage. The % of Row Total and the Filtering in Excel effectively hides data based on criteria specified
% of Column Total calculations allows users to compare values by the user. Isolating relevant data can assist users in effectively
across multiple rows and columns. This feature is also useful to analyzing the data.
display running totals across columns or rows.
To filter a field in a PivotTable:
To display values as percentages in a PivotTable:
1. Select the pull down menu at the right of the field name
1. Select any cell in the PivotTable. within the PivotTable. See Figure 11.
2. Select the Analyze tab from the PivotTable Tools tab. 2. Choose sort and filtering options to apply to the PivotTable.
3. Select Field Settings from the Active Field group. 3. Select OK.
4. Select Show Values As tab in the Value Field Settings
dialog box.
5. Select calculation under Show Values As.
Figure 11: Filtering Field Menu
6. Select the Base field.
Filtering with a Slicer
7. Select OK.
Slicers allow users to filter data in a PivotTable by field name via a
separate menu of options. With just a single selection, the data will
be dynamically filtered to isolate the desired information.
To insert a Slicer into a PivotTable:
1. Select the Analyze tab from the
PivotTable Tools tab.
2. Select Insert Slicer from the Filter
group.
3. Select the desired field names.
4. Select OK.
Figure 12: A Slicer
Figure 10: Value Field Settings Dialog Box Figure 13: Insert Slicer Command
10 11