Excel Pivot Tables. Blue Pecan Computer Training Ltd - Onsite Training Provider www.bluepecantraining.com :: 0800 6124105 :: info@bluepecan.co.



Similar documents
MICROSOFT EXCEL 2010 ANALYZE DATA

Create a PivotTable or PivotChart report

Pivot Tables & Pivot Charts

Basic Pivot Tables. To begin your pivot table, choose Data, Pivot Table and Pivot Chart Report. 1 of 18

Produced by Flinders University Centre for Educational ICT. PivotTables Excel 2010

Computer Training Centre University College Cork. Excel 2013 Pivot Tables

Overview What is a PivotTable? Benefits

About PivotTable reports

Excel 2003 PivotTables Summarizing, Analyzing, and Presenting Your Data

Analyzing Excel Data Using Pivot Tables

STATEMENT OF TRANSACTION REPORT ANALYSIS USING EXCEL

Microsoft Excel 2010 Pivot Tables

Excel Database Management Microsoft Excel 2003

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

Excel Using Pivot Tables

Microsoft Excel: Pivot Tables

How To Create A Powerpoint Intelligence Report In A Pivot Table In A Powerpoints.Com

Excel Using Pivot Tables

ITS Training Class Charts and PivotTables Using Excel 2007

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

Using Excel for Business Analysis: A Guide to Financial Modelling Fundamentals

A Beginning Guide to the Excel 2007 Pivot Table

Microsoft Excel 2010 Part 3: Advanced Excel

Data Analysis with Microsoft Excel 2003

An Introduction to Excel Pivot Tables

Creating Pivot Tables

Using Pivot Tables in Microsoft Excel 2003

A simple three dimensional Column bar chart can be produced from the following example spreadsheet. Note that cell A1 is left blank.

Excel Tutorial. Bio 150B Excel Tutorial 1

Microsoft Office Excel 2013

Advanced Excel Charts : Tables : Pivots : Macros

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

Excel 2007 A Beginners Guide

Microsoft Project 2013

By: Peter K. Mulwa MSc (UoN), PGDE (KU), BSc (KU)

"Excel with Excel 2013: Pivoting with Pivot Tables" by Venu Gopalakrishna Remani. October 28, 2014

MS Excel: Analysing Data using Pivot Tables

PivotTable and PivotChart Reports, & Macros in Microsoft Excel

CREATING EXCEL PIVOT TABLES AND PIVOT CHARTS FOR LIBRARY QUESTIONNAIRE RESULTS

Advanced Excel 10/20/2011 1

Summary of important mathematical operations and formulas (from first tutorial):

The following provides information on using some of the new/enhanced functionality in Excel 2013.

Scientific Graphing in Excel 2010

Excel 2007 Charts and Pivot Tables

An Introduction to Excel s Pivot Table

Scott Harvey, Registrar Tri County Technical College. Using Excel Pivot Tables to Analyze Student Data

Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP

Microsoft Excel 2013: Macro to apply Custom Margins, Titles, Gridlines, Autofit Width & Add Macro to Quick Access Toolbar & How to Delete a Macro.

Excel 2013 What s New. Introduction. Modified Backstage View. Viewing the Backstage. Process Summary Introduction. Modified Backstage View

Excel -- Creating Charts

Using Excel for Analyzing Survey Questionnaires Jennifer Leahy

EXCEL FINANCIAL USES

warpct.com Working with MS Excel 2003 Workbook courseware by WARP! Computer Training

Excel 2003 A Beginners Guide

EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002

Right-click the Start button and select Properties. Click the Customize button and choose from the options displayed:

Create Charts in Excel

Monthly Payroll to Finance Reconciliation Report: Access and Instructions

Getting Started with Excel Table of Contents

Excel What you will do:

Formulas, Functions and Charts

Appendix 2.1 Tabular and Graphical Methods Using Excel

Mail Merge Creating Mailing Labels 3/23/2011

Solving Using Excel. Introduction. Lists LEARNING OUTCOMES

MicroStrategy Desktop

Entering the example employee satisfaction survey in Survey Crafter Professional s Survey Designer window

Using PivotTables and PivotCharts

Creating Survey Forms from a Word Table

CHAPTER 6: ANALYZE MICROSOFT DYNAMICS NAV 5.0 DATA IN MICROSOFT EXCEL

BUSINESS DATA ANALYSIS WITH PIVOTTABLES

Excel Pivot Tables from Basics to Advanced

Using Excel for your assignments

Information Literacy Program

Introduction to Microsoft Excel 2007/2010

Excel 2010 Level 2. Computer Training Centre, UCC, /3751/3752

Search help. More on Office.com: images templates. Here are some basic tasks that you can do in Microsoft Excel 2010.

ACADEMIC TECHNOLOGY SUPPORT

How to Excel with CUFS Part 2 Excel 2010

To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click.

SAP BUSINESS OBJECT ANALYSIS FOR EXCEL DEVELOPER GUIDE

Microsoft Access 2010 handout

Migrating to Excel 2010 from Excel Excel - Microsoft Office 1 of 1

Task Force on Technology / EXCEL

Graphing in excel on the Mac

In this example, Mrs. Smith is looking to create graphs that represent the ethnic diversity of the 24 students in her 4 th grade class.

Microsoft Excel 2013: Using a Data Entry Form

Using Microsoft Word. Working With Objects

Introduction to Microsoft Excel 2010

Handout: Word 2010 Tips and Shortcuts

As in the example above, a Budget created on the computer typically has:

Sample- for evaluation purposes only! Advanced Excel. TeachUcomp, Inc. A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc.

Introduction To Microsoft Office Excel Bob Booth July 2008 AP-Excel8

INTERMEDIATE Excel 2013

Introduction To Microsoft Office PowerPoint Bob Booth July 2008 AP-PPT5

MS Project Tutorial for Senior Design Using Microsoft Project to manage projects

WHAT S NEW IN MS EXCEL 2013

Introduction to Pivot Tables in Excel 2003

Excel: Analyze PowerSchool Data

Microsoft Excel Basics

Introduction to Pivot Tables in Excel 2007

Transcription:

Excel Pivot Tables

1

Table of Contents Pivot Tables... 3 Preparing Data for a Pivot Table... 3 Creating a Dynamic Range for a Pivot Table... 3 Creating a Pivot Table... 4 Removing a Field... 5 Change the Position of a Field... 6 Format the Value Field... 6 Change the Calculation Performed on the Value Field... 6 Perform Show Value As Calculations... 6 Group Values such as Dates... 7 Show Report Filter Pages... 8 Display Records for Value Field Values... 8 Pivot Charts... 8 Refreshing Pivot Data... 9 Applying an AutoFilter to a Pivot Table... 9 Slicers (Excel 2010 only)... 9 Creating Slicers... 10 Formatting Slicers... 13 Connecting Slicers to Multiple Pivot Tables... 14 Creating Multiple Pivot Tables from the Same Data... 14 Replacing Blank Cells with Zero Values... 15 2

Pivot Tables Preparing Data for a Pivot Table Ideally, when you prepare data for a Pivot Table the data should be in tabular layout. This means that there should not be any empty rows or columns and that every column has a column heading. You should ideally also enter data in each field for each record in your table. If you leave blank cells in a numeric field, Excel assumes the data in that field is text which can cause problems if you intend to use that field in the values area of the Pivot Table it will by default count rather than sum the data. Do not use sub-headings in your table to indicate that records belong to a group always enter values in each field to complete a record. Creating a Dynamic Range for a Pivot Table One of the problems you may encounter with a Pivot Table is when you want to add more records to the underlying data. Data that is added outside the original range gets ignored when you refresh the Pivot Table. One way around this is to create a named range that uses the OFFSET function, in later versions of Excel you can use Excel Tables. Please see our video tutorials at Using the OFFSET Function http://www.youtube.com/watch?v=ws3tdpg2qms Using Excel Tables http://www.youtube.com/watch?v=xtz6-ittsx4 3

Creating a Pivot Table 1. During the course we created a simple Pivot Table based on the table below. Note that the table has columns headings and does not have blank rows or columns. This would be the ideal way to set up a database for Pivot Table analysis. 2. To create a Pivot Table, click anywhere in the table you want analyse. 3. Excel 2003 users i. Click Data PivotTable and PivotChart Report ii. Click Finish 3. Excel 2007/10 users 1 i. Click Insert [tab] PivotTable ii. Click OK 4. An empty Pivot Table will appear on a separate sheet 2 1 To use the Pivot Chart Wizard that was available in Excel 2003, use ALT D P to access it. This is particularly relevant if you want to Pivot on multiple ranges as this is an option in the Wizard. 2 Excel 2007/10 users may get a slightly different layout for the empty PivotTable. If this is the case click Options [tab] Options Options Display [tab] Classic PivotTable layout 4

5. Drag the fields in the field list into the appropriate part of the Pivot Table. If you drop a field into the: Row fields area - the Pivot Table will vertically list all unique values in that field. In the example below, the Location field has been placed here Column fields area - the Pivot Table will horizontally list all unique values in that field. In the example below, the Role field has been placed here Value fields area - the Pivot Table will perform a calculation on the field based on the categories you have set out in the row and column fields. In the example below, the Annual Salary field has been placed here Filter Fields area - the Pivot Table will filter on any unique value or combination of unique values 1 in that field. In the example below, the Weekend field has been placed here. Removing a Field 1. Drag the field label out of the Pivot Table 1 Excel 2003 users can only filter on one value at a time. 5

Change the Position of a Field 1. Drag the field label to its new position within the Pivot Table Format the Value Field 1. Double-click on the Value Field label. In our example this appears as Sum of Actual Salary in our Pivot table 2. Click on the Number Format and select the format you require. Change the Calculation Performed on the Value Field 1. Double-click on the Value Field label. In our example this appears as Sum of Actual Salary in our Pivot table 2. Choose the type of calculation you want to perform from the list Perform Show Value As Calculations To see what other types of calculations Pivot Tables can peform see our video at http://www.youtube.com/watch?v=jjhwxzhmka4 6

Group Values such as Dates 1. In the example below, we need to group dates into months. 2. Click anywhere in the field you want to group. In this example we would click anywhere in the Date field. 3. Excel 2003 users - on the Pivot Table toolbar click PivotTable Group and Show Detail Group 3. Excel 2007/2010 users click Options [tab] Group Selection 4. Select the appropriate group option, in our example this would be Month NB If you are grouping dates and want to group by weeks, you will notice that there is not an option for this. However if you group by days and then set the number of days to 7 you will effectively group by weeks. Make sure your starting at date is set to the beginning of the first week ie the first Monday. 7

Show Report Filter Pages 1. Place the field that you want to show Report Filter Pages for in the Filter Fields area of your Pivot Table 2. Excel 2003 users - on the Pivot Table toolbar click PivotTable Show Pages 2. Excel 2007/2010 users click Options [tab] Options Show Report Filter Pages 3. Select the field you want to show pages for 4. A sheet will be created for each unique value for that field Display Records for Value Field Values 1. Double-click on any value in the Value Fields area. 2. A separate sheet will display records relevant to that value Pivot Charts 1. Once you have created your Pivot Table it is possible to create a Pivot Chart based on it. 2. Excel 2003 users - on the Pivot Table toolbar click the Chart Wizard button 2. Excel 2007/10 users i. Click Options [tab] Pivot Chart ii. Select the chart type you want The x-axis of your chart will correspond to the row area of your Pivot table and the y-axis will correspond to the column area. You cannot use XY scatter, bubble or stock charts when creating a Pivot chart. To get around this you could convert your Pivot table into hard values by performing a copy and paste values you can then create a standard chart using this data. If you want to keep the Pivot table, then create an additional table that links back to the values in the Pivot table. You will need to turn the Generate GetPivotData option off to achieve this. 8

Refreshing Pivot Data 1. To refresh data in your Pivot Table: Excel 2003 users On the Pivot Table toolbar click Refresh Data (red exclamation) Excel 2007/10 users Click Options [tab] Refresh Applying an AutoFilter to a Pivot Table If you try and apply an AutoFilter to a Pivot Table you will find that the option is greyed out. There is a way around this! Select the cell immediately to the right of the last title in your Pivot Table as shown below. Now the option to apply an AutoFilter will be available for you to use. Slicers (Excel 2010 only) Excel 2010 includes a new feature which Microsoft have called Slicers. Slicers essentially perform the same functionality as the filters that are already available in fields within the Pivot Table (as shown below). 9

Slicers provide a better interface for filtering and allow you to perform the same filter across multiple Pivot Tables. Creating Slicers To create a Slicer, click anywhere in your Pivot Table and on the Ribbon select the Options tab, then click the Insert Slicer 1 button. 1 If the Insert Slicer button is greyed out then you are probably using a 97-2003 Excel file. You will need to convert the file to the new file type to use the Slicer functionality. 10

Excel may prompt you to refresh your Pivot Table before proceeding. The Insert Slicers dialog box allows you to select which fields you want to use Slicers to filter on. Each tick will create a separate Slicer. The resulting slicers can be repositioned anywhere in your worksheet. To filter your Pivot Table using the slicers, select the values you want to filter on within the Slicers. To select multiple values hold down the CTRL button. 11

To clear a filter click on the clear filter button as shown below. 12

Formatting Slicers To change the appearance of a slicer, first of all select it (easiest way to do this would be to click somewhere on its border or near the top where the field name is) and then click on the Slicer Tools Option tab on the Ribbon. To change the colour of your Slicer, use one of the slicer styles. You can display values within columns within your slicer which is useful when there are a lot of values to display. Use the column setting as shown below to achieve this. The department Slicer is shown using two columns. 13

Connecting Slicers to Multiple Pivot Tables You can use a Slicer to filter several Pivot Tables at the same time. To achieve this right-click a Slicer and select PivotTable Connections from the menu. You can then select the Pivot Tables you want to connect to. Creating Multiple Pivot Tables from the Same Data If you create multiple Pivot Tables from the same data you will bloat the file size considerably if you do not share the pivot cache. When you create a Pivot Table, Excel stores a snapshot of the data in the pivot cache which is why a Pivot Table must be refreshed. If you share the cache amongst your Pivot Tables you make a considerable saving on resources. In Excel versions previous to Excel 2010, Excel gives you the option to share the cache, but Excel 2010 does not. The only way around this in Excel 2010 is to copy and paste a Pivot Table to another location: the copied version of the Pivot Table shares the cache of the original. Pivot Tables that share the same cache also share the following: Calculated fields Calculated items Grouping settings If you refresh a Pivot Table all other Pivot Tables that share the cache are also refreshed. 14

Replacing Blank Cells with Zero Values To replace blank cells with Zero Values, do the following: Excel 2007/10 1. Select any cell within your Pivot Table 2. Click the Options tab on the Ribbon 3. Click the Options button as shown below 4. On the Layout & Format tab, enter 0 for the For empty cells show: option 5. Click OK to confirm. 15