Excel Pivot Tables Tutorial : What is a Pivot Table and How to Make one
Excel pivot tables are very useful and powerful feature of MS Excel. They can be used to summarize, analyze, explore and present your data.
In plain English, it means, you can take the sales data with columns like salesman, region and product-wise revenues and use pivot tables to quickly find out how products are performing in each region.
In this tutorial, we will learn what is a pivot table and how to make a pivot table using excel.

click here to see a video tutorial of making pivot tables in excel
Example uses of Pivot Tables
As I said before pivot tables are very powerful and useful. There are numerous uses of pivot tables that we can talk about them until Christmas.
Here are some example uses of pivot tables:
- Summarizing data like finding the average sales for each region for each product from a product sales data table.
- Listing unique values in any column of a table [learn more]
- Creating a pivot report with sub-totals and custom formats
- Making a dynamic pivot chart
- Filtering, sorting, drilling-down data in the reports without writing one formula or macro.
- Transposing data – i.e. moving rows to columns or columns to rows. [learn more]
- Linking data sources outside excel and be able to make pivot reports out of such data.
Excel Pivot Table Tutorial: How to create your first pivot table
Let us make your first pivot table. We will use example data in the following format. Download the excel pivot tables tutorial workbook with the data.

Step 1: Select the data
Select the data range from which you want to make the pivot table.
Step 2: Go to Insert ribbon and click on new Pivot table option
To insert a new pivot table in to your spreadsheet, go to Insert ribbon and click pivot table icon and select pivot table option.
Step 3: Select the target cell where you want to place the pivot table. For starters, select New worksheet.
Excel will display a pivot table wizard where you can specify the pivot table target location etc. Select “New worksheet” option and your pivot table will be placed in newly created worksheet.
Step 4: Make your first pivot report
The pivot report UI is very intuitive and sandbox like. To make powerful analysis, all you have to do is drag and drop fields in to the pivot table grid area. In excel 2007, you can also control this by using the “Pivot table panel”.
The pivot report is divided in to header and body sections. You can drag and drop the fields you want in each area. The body itself contains three parts. Rows, Columns and Cells. You can use any fields in these areas too.
For the above sample data, I have set this criteria:

And the outcome is this pivot report.

It might be a bit difficult to understand how this works. But believe me, if you have seen any reports or worked with any other reporting systems, then the idea of pivot tables, pivot reports and pivot charts becomes quite simple to you.
You can use the excel pivot table features to make a more complicated pivot report like this in no time.

Some useful tips on Excel Pivot Tables
- You can apply any formatting to the pivot tables. MS Excel has some very good pivot table formats (and they are better in Excel 2007 and 2010).
- You can easily change the pivot table summary formulas. Right click on pivot table and select “summerize data by” option.
- You can also apply conditional formatting on pivot tables although you may want to be a bit careful as pivot tables scale in size depending on the data.
- Whenever the original data from which pivot tables are constructed, just right click on the pivot table and select “Refresh Data” option.
- If you want to drill down on a particular summary value, just double click on it. Excel will create a new sheet with the data corresponding to that pivot report value. (This is extremely useful)
- Making a pivot chart from a pivot table is very simple. Just click on the pivot chart icon from tool bar or Options ribbon area and follow the wizard.
Download the excel pivot tables tutorial workbook and practice yourself
Click here to download the excel pivot tables tutorial workbook. [.zip version of tutorial here]The workbook has sample data and one pivot table in it. You can play with it to learn more.
Checkout the video tutorial to make excel pivot tables
Click here to see a video tutorial of making pivot tables in excel
Share your experiences of using pivot tables
Tell me how you use pivot tables, your favorite tricks using comments.
This post is part of our spreadcheats series, a 30 day online excel training program for office goers and spreadsheet users. Join today.
Trackbacks & Pingbacks
- Pingback by Pivot Table in Excel - Video Tutorial | Pointy Haired Dilbert: Charting & Excel Tips - Chandoo.org on August 25, 2009 @ 9:36 am
- Pingback by Microsoft Excel Table Tips and Tricks - Learn Data Tables and Become a Data God | Pointy Haired Dilbert: Charting & Excel Tips - Chandoo.org on October 13, 2009 @ 9:12 am
- Pingback by What is Excel PowerPivot and How to use it? - Review of Microsoft PowerPivot Addin | Pointy Haired Dilbert: Charting & Excel Tips - Chandoo.org on January 8, 2010 @ 9:24 am
- Pingback by Excel Pivot Table tricks & tips | Pointy Haired Dilbert: Charting & Excel Tips - Chandoo.org on January 27, 2010 @ 11:40 am
- Pingback by Profit & Loss Reporting using Microsoft Excel - Accounting & Excel - Part 1 of 6 | Pointy Haired Dilbert: Learn Excel Online - Chandoo.org on February 4, 2010 @ 9:19 am
- Pingback by MS-Excel Tipps für Projektleiter on March 3, 2010 @ 11:53 am
- Pingback by 31 Excel Tutorials – Learn and Be Awesome in Excel | Pointy Haired Dilbert: Learn Excel Online - Chandoo.org on March 11, 2010 @ 1:01 pm
Comments
RSS feed for comments on this post. TrackBack URI
Leave a comment
If you have a question, please ask in the forums


At Pointy Haired Dilbert, I have one goal, "to make you awesome in excel and charting". PHD is started in 2007 and today has 300+ articles and tutorials on using excel, making better charts. 




Nice clear article, good to see someone else trumpeting the value of pivot tables. If you read this and are still not sure, you can learn by video:
Excel 2003 version
Excel 2007 version
It is well worth making the effort to learn pivot tables – you won’t look back once you do.
Dear Expert,
How can I replace the “Sum of” to “Different of” in a pivot table? I have a set of data that consists of both 2007 and 2008 sales, however these info were in one same column that name “period”. Could you kindly show me the formula that I can add into the Pivot table to show the comparisions?
Thanks a zillion
Hi Chandoo,
Well structured and presented as usual.
I’m doing a lot with pivot tables. What I am looking for is a tool where you can change the data directly in the pivot table.
Do you have an idea?
br, Meikel
I want to apply the same type of pivot table to a different file I get each month (but same format and type of data). Can I “save” a custom pivot table format ? (excel 2003)
Thanks
hi chandoo,
thanks. it was very simple and clear. really it is very usefull. it was well presented. great job.
Thanks for posting this info. I’ve been struggling with pivot tables for some time now and this has cleared up a lot of my confusion. Nice job.
@Louis… yes, you can save custom pivot formats…
@Srikant & TMS: thank you very much. I am happy you liked this tutorial.
Will this cover Excel 97 and Excel 2002?
@Jeremiah… The steps are more or less similar in Excel 2002. I dont remember Excel 97 so cant say for it.