Pivot Tables. This is a handout for you to keep. Please feel free to use it for taking notes.

Similar documents
Chapter-2 Digital Data Analysis

PIVOT TABLES IN MICROSOFT EXCEL 2016

Microsoft Excel Pivot Tables & Pivot Table Charts

Excel 2013 PivotTables and PivotCharts

Objective: Class Activities

MS Office 2016 Excel Pivot Tables - notes

How to Create and Use a Pivot Table in Excel

Excel Tables & PivotTables

COMM 391 Winter 2014 Term 1. Tutorial 1: Microsoft Excel - Creating Pivot Table

Create a Relationship to build a Pivot Table

Ćw. IV. DynamicTables

Microsoft Excel 2013/2016 Pivot Tables

PivotTable Reports. Notice that PivotTable Tools tabs appear on the Ribbon, which include the Options and Design tabs.

Create a Relationship to build a Pivot Table

Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex

STUDENT LEARNING OUTCOMES

Creating Automated Dashboard Excel 2013 Contents

Microsoft Excel 2010 Level III

Microsoft Excel 2010 Training. Excel 2010 Basics

Creating a Pivot Table

Microsoft Excel Pivot Tables & Pivot Table Charts

Pivot Tables in Excel Contents. Updated 5/19/2016

Formatting Values. 1. Click the cell(s) with the value(s) to format.

Become strong in Excel (2.0) - 5 Tips To Rock A Spreadsheet!

Excel 2007/2010. Don t be afraid of PivotTables. Prepared by: Tina Purtee Information Technology (818)

Sort, Filter, Pivot Table

Training Guide. Microsoft Excel 2010 Advanced 1 Using Conditional and Custom Formats. Applying Conditional Formatting

Excel Intermediate. Click in the name column of our Range of Data. (Do not highlight the column) Click on the Data Tab in the Ribbon

I. Quality Assessment: Frequency Tables of onlineavailable and traininglevel

Excel 2007 New Features Table of Contents

Advanced Excel Charts : Tables : Pivots

Introduction. Understanding charts. Excel 2016

How to insert table in Excel?

Microsoft Excel 2010 Step-by-Step Exercises PivotTables and PivotCharts: Exercise 1

Pivot Tables, Lookup Tables and Scenarios

Creating an Excel Pivot Table Manually

Microsoft Excel 2007 Lesson 7: Charts and Comments

Step 3: Type the data in to the cell

Excel. Excel Options click the Microsoft Office Button. Go to Excel Options

1. Right-click the worksheet tab you want to rename. The worksheet menu appears. 2. Select Rename.

Pivot Table Project. Objectives. By the end of this lesson, you will be able to:

Microsoft Excel Chapter 1. Creating a Worksheet and an Embedded Chart

Rockefeller College MPA Excel Workshop: Clinton Impeachment Data Example

PA Payroll Exercise for Intermediate Excel

Excel Tables and Pivot Tables

เพ มภาพตามเน อหาของแต ละบท. Microsoft Excel Benjamas Panyangam and Dr. Dussadee Praserttitipong. Adapted in English by Prakarn Unachak

Pivot Tables and Pivot Charts Activities

File Name: Pivot Table Labs.xlsx

PivotTables & Charts for Health

M i c r o s o f t E x c e l A d v a n c e d P a r t 3-4. Microsoft Excel Advanced 3-4

Spreadsheet Functions

Microsoft Excel Level 2

Payment Function Exercise

Englische Access 2016-Trainingsskripte für IT Seminare und EDV Schulungen als Word-Dokument zum Ausdrucken und fürs Intranet

Excel Macros, Links and Other Good Stuff

Checking whether the protocol was followed: gender and age 51

Using Microsoft Excel

ITS Training Class Charts and PivotTables Using Excel 2007

Filter and PivotTables in Excel

SPREADSHEET (Excel 2007)

Microsoft Office Excel 2013

SAMLab Tip Sheet #5 Creating Graphs

Introduction to Microsoft Excel

Introduction to Microsoft Excel

Chapter 10 Linking Calc Data

Candy is Dandy Project (Project #12)

Microsoft Excel Basics Ben Johnson

Les s on Objectives. Student Files Us ed. Student Files Crea ted

Microsoft Excel 2016 LEVEL 2

To complete this workbook, you will need the following file:

Microsoft Excel Microsoft Excel

EXCEL 2007 TIP SHEET. Dialog Box Launcher these allow you to access additional features associated with a specific Group of buttons within a Ribbon.

Good Byer Stores Australia Ltd Inventory - Whitegoods department

Contents. Group 2 Excel Handouts 2010

Excel Advanced

Excel Template Instructions for the Glo-Brite Payroll Project (Using Excel 2010 or 2013)

ADD A 3-D PIE CHART TO THE WORKBOOK

Basics of Spreadsheet

Basic Excel 2010 Workshop 101

Intermediate Microsoft Excel 2010

Module 4 : Spreadsheets

Excel 2013 or later contains a range of useful features. Use this quick guide to familiarise yourself with some of these.

PHLI Instruction (734) Introduction. Lists.

Introduction. A cell can contain any of the following:

Rev. C 11/09/2010 Downers Grove Public Library Page 1 of 41

How to Create Excel Dashboard used in Solutions Conference By Matt Mason

Excel 2010-Part. Two

Word 2007 Tables Part 2

Microsoft Excel 2010 Part 2: Intermediate Excel

Lab 7 Statistics I LAB 7 QUICK VIEW

Microsoft Excel. for Finance Majors. Microsoft Excel for Finance Majors

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited EXCEL INTERMEDIATE

Microsoft Excel 2010 Handout

Creating a Histogram Creating a Histogram

Chapter 10 Working with Graphs and Charts

ABOUT PIVOTTABLES TABLE OF CONTENTS

Using Microsoft Excel

Study Guide. PCIC 3 B2 GS3- Key Applications-Excel. Copyright 2010 Teknimedia Corporation

Excel Level 1

Using Microsoft Excel

Transcription:

Class Description This is an introduction to using Pivot Tables in spreadsheets, focusing on Microsoft Excel. Attendees should have a good basic knowledge of spreadsheets. Class Length One and one half (1½) hours Pivot Tables Introduction Pivot Tables make analysis of a spreadsheet much easier than poring through countless rows of information, often with just a little bit of information on each row. Pivot Tables can aggregate information and show a new perspective with just a few clicks. They can be thought of as a summary table of the original spreadsheet. Objectives Learn how to create a Pivot Table from a spreadsheet s rows and columns Learn how to add and remove rows, and add and remove columns from a Pivot Table Learn how to change the calculations in a Pivot Table Learn how to quickly change formatting of a Pivot Table s figures This is a handout for you to keep. Please feel free to use it for taking notes. 1 *

Creating and Manipulating a Pivot Table Before creating a Pivot Table, you need data with which to work. Open the PivotTableWorksheet file from Documents. It contains fictitious information with the following fields: Voter Number (Voter Num) Precinct (Precinct) Age Group (Age Group) Last election in which a vote was cast (Last Voted) How many years they have been a registered voter (Years Registered) Ballot status (Ballot Status) Data comes first! Pivot Tables can only produce results as good as the raw data. Ensuring good data in the spreadsheet is essential. With just one of the cells with data active (selected) or with all the cells with data selected, switch to the INSERT ribbon and in the Tables group on the far left side of the ribbon, click the PivotTable icon. You should see the Create PivotTable dialog box as shown at left. For this exercise, it should have Sheet1!$A$1:$G$4001 in the Table/Range field. Although you can place the Pivot Table on the same worksheet, the default of creating a new worksheet is strongly recommended. Use this icon: to select a range of cells to be used for the Pivot Table. You can also enter the range to be used directly into the field. If configured, you can select Use an external data source. The checkbox next to Add this data to the Data Model is for adding multiple tables/ranges to a Pivot Table. We won t be using this feature. Click the OK button when ready. You should have a new worksheet created ( Sheet2 ), two temporary ribbons (PIVOTTABLE TOOLS ANALYZE and PIVOTTABLE TOOLS DESIGN) with the first one active, an area where the Pivot Table will be created on the left side of the worksheet and a panel on the right side labelled PivotTable Fields which, like all panels, can be dragged to a floating position (even outside the Excel window) or to the left side. 2 *

Although you can place checkmarks next to the fields you want to use in your Pivot Table, Microsoft Excel s guesses as to where you want to use it are frequently incorrect. It is usually easier to drag the field from the top section into the lower sections where you want the data to be. After dragging the Party field into the Columns section, the Precinct field into the Rows section, and the Voter Num field into the Values section, you should have something like this image. This opens the Value Field Settings dialog box (shown at left). Since we want a count of the voters instead of a total of their ID numbers, click on the Count option. This will change the Custom Name from Sum of VOTER NUM to Count of VOTE NUM. Microsoft Excel has guessed I want the Voter Num field treated as numbers to be added together! What we want is a count of the voters. This can be easily accomplished. Click the down pointing triangle to the right of the Sum of VOTE NUM. A menu of choices will open, click on Value Field Settings. Click the OK button. (The result is on the next page.) 3 *

Here is our first Pivot Table, showing the number of voters by party by precinct. One of the strengths of Pivot Tables is the ability to change the way information is presented. If we want to know the percentage of each party in each precinct, instead of just raw counts, we only need to right click on any of the values in the Pivot Table to open a context menu, move the mouse pointer to Show Values As to open its submenu, then move to % of Row Total and click on it. The result will be something like this: With this view, you can quickly identify the precinct where Republican voters are in the majority. If, instead of selecting % of Row Total, we select % of Column Total, we can see how much each precinct means to each party (next page). 4 *

Of course, politicians really care about actual votes, so right click in the region of percentages, move to the Show Values As to open its submenu, then click on No Calculation. (The Pivot Table should again be like the image at the top of the previous page.) What if we want to limit our look to those who voted in the previous two elections? This is where Filters are used. Drag the Last Voted field into the Filters section. contains the contents of the filter with a down pointing arrow for a drop down menu. Click on the arrow to open the menu: None of the numbers have changed, but cells A1 and B1 have gained information for filtering. Cell A1 contains the name of the field for filtering; cell B1 Since we want the last two elections, place a checkmark next to Select Multiple Items so we can select the items we want. Remove the checkmarks next to the elections in 2010 and 2012, then click the OK button. 5 *

The Pivot Table is updated with the filter just selected and applied. Additional filters can be added. After dragging the Age Group field into the Filters section, and then selecting ages above 51, we get this: Removing items from the Filters section or Columns section or Rows section or Values section is easy. Just drag it out of the section with the mouse and then release. 6 *

Using Conditional Formatting to Highlight Values Suppose the Republicans only have enough resources to target five precincts. They want to know which five precincts have had the most Republican voters the past two elections. They don t want to filter by age group. So we will drag the Age Group out of the Filters section. Next, select the cells in the Republican column for each of the 23 precincts (it should be cells F6 through F28). Then, switch to the HOME ribbon, find the Styles group, and click on Conditional Formatting, slide down to Top/Bottom Rules, then over to Top 10 Items. The Top 10 Items dialog box opens with the ten largest numbers highlighted (actually 12 items here because of a three way tie for 10 th place). Click on the down pointing arrow to the right of 10 five times to reduce the value to 5 (or click on the 10 and enter 5). As the number is reduced, the number of highlighted cells is reduced. If desired, change the color scheme with the drop down menu: You should see something like this; the highlighted cells clustered towards the bottom. Tip: Conditional formatting can be used anywhere in a spreadsheet it isn t limited to Pivot Tables. Questions? Feel free to contact Ross Valentine at rvalentine@gpld.org or call the library at 630.232.0780 7 March 2016