Your sales file has hundreds of order rows. Your manager asks for sales by region, orders by category and month-wise closed sales. You can write many formulas, but a Pivot Table can summarize the same data in seconds.
What is a Pivot Table?
A Pivot Table is an Excel tool that quickly summarizes row-based data. It can group, count, total and compare data without writing formulas for every summary.
Pivot Table output example
| Region | Closed Sales | Pending Sales | Total Sales |
|---|---|---|---|
| West | ₹21,250 | ₹3,000 | ₹24,250 |
| North | ₹12,000 | ₹10,000 | ₹22,000 |
| Central | ₹53,850 | ₹12,600 | ₹66,450 |
| Grand Total | ₹87,100 | ₹25,600 | ₹112,700 |
Understand Pivot Table areas
How to create your first Pivot Table
- Click anywhere inside your clean data table.
- Go to Insert > PivotTable.
- Choose where to place the Pivot Table.
- Drag Region to Rows.
- Drag Sales to Values.
- Drag Status to Columns if you want a cross-tab summary.
- Refresh the Pivot Table when source data changes.
Pivot workflow
Interview question
Question: What are the prerequisites for creating a good Pivot Table?
Answer: The source data should have one clean header row, no blank rows inside the data, consistent data types, and proper number/date formats. Converting the source into an Excel Table is also recommended.
Create sales summaries using Pivot Tables
Download one ZIP file containing the practice workbook, challenge workbook, solution workbook, cheat sheet, quiz and answer key.
Mini assignment
- Create a Pivot Table from Sales Data.
- Summarize Total Sales by Region.
- Add Status in Columns.
- Add Month as a Filter.
- Change Values to Count and Average to compare outputs.
- Refresh the Pivot Table after changing the source data.
Quick quiz
- What is a Pivot Table used for?
- What goes into Values?
- Why should you refresh a Pivot Table?
- Why convert source data into a Table first?
Answers: Summarizing data; numeric fields like Sales; to update output after data changes; safer expanding source range.