Pivot Table Tutorial
This tutorial has been designed for beginning to intermediate users of Excel. If you have not used pivot tables before, you are about to discover one of the most powerful data analysis tools of Excel. If you already know how to use pivot tables, this tutorial will introduce you to some of the more advanced techniques for getting the best out of pivot tables.
This tutorial is for use with the Excel workbooks and Access database provided. Click on the links provided throughout the tutorial to download these.
If you have any comments, please e-mail me at Ed Ferrero
- Using the Wizard to set up a simple table
- Adding Row Fields
- Once you have a table, pivot it!
- Creating another Pivot Table based on an existing Table
- Using Page Fields
- Hiding data
- Grouping data
- Field calculations
- Setting up
- Some cautions
- A forecasting example
- Aligning Multiple Data Fields
- Formatting a Pivot Table
- Toggling Data Fields
- Grouping and Ungrouping
Say you have a list of data as given in the worksheet EG1.XLS.
Open the worksheet now, the data looks like this;
To create a Pivot Table, first highlight any cell in the data, then click on the menu Data - PivotTable and Pivot Chart Report
You should see the following dialog.
The Pivot Table Wizard dialog appears. For now, you want to analyse the data contained in the Excel list, so click the Next button. This sends you to the next dialog, which shows the range containing the data you wish to analyse. Excel automatically selects all the data in a contiguous range about the highlighted cell, that means this step is all done for you so just click Next.
The third dialog asks whether you want to put the pivot table on the existing worksheet ar on a new sheet. Do not click "Finish" yet - select "New Worksheet" then click the Layout button.
The Layout dialog shows the headings across the top of your Excel list as buttons, which you can use in your Pivot Table.
You can click-and-drag the buttons on the right of the form to any of four areas on the Pivot Table. The Page area will be explained later. For now, drag "State" to the Row area, "Month" to the Column area, and "Sales" to the Data area. Your dialog should look like this;
Click Ok, then click Finish. You now have a Pivot Table that summarises your data.
Note that that was a fast operation. The list you just summarised contains 305 records. This is not a lot of data compared to some Pivot Tables that you will prepare at work. It is enough to show you that Pivot Tables are fast. You are limited only by memory in the number of records that you can summarise in a Pivot Table. They are well suited to analysing large amounts of data.
Pivot tables have been used successfully with data sets containing over 800,000 records. It is recommended that, for large data sets, you use at least a 133MHz Pentium with 32MB of RAM (shows how long ago this tutorial was written - Ed). The amount of physical RAM is more important than processor speed when working with large pivot tables. So, if you use a large pivot table and the system seems slow, try adding more memory.