Lesson 2.8 – Creating Pivot Tables in Excel
Lesson Overview
This lesson explains how to create Pivot Tables from scratch and use Excel’s Recommended PivotTables feature for quick analysis. You will learn to set up a Pivot Table and arrange fields for meaningful insights.
1. Creating a Pivot Table from Scratch
Step-by-Step Guide:
-
Select your dataset (include headers, no blank rows/columns).
-
Go to Insert → PivotTable.
-
In the dialog box:
-
Select Table/Range (already selected if your data is highlighted)
-
Choose where to place the Pivot Table:
-
New Worksheet (recommended)
-
Existing Worksheet
-
-
-
Click OK.
Result: A blank Pivot Table is created with a PivotTable Fields pane on the right.
2. Adding Fields to Pivot Table
-
Rows: Drag a field to display as rows (e.g., Product Name).
-
Columns: Drag a field to display as columns (e.g., Region).
-
Values: Drag a numeric field to calculate (e.g., Sales). Default is Sum, can be changed.
-
Filters: Drag a field to filter the entire table (e.g., Month).
3. Using Recommended PivotTables
-
Select your dataset.
-
Go to Insert → Recommended PivotTables.
-
Excel shows suggested layouts for your data.
-
Click OK to insert the recommended table.
Tip: This feature is useful if you are not sure how to structure your Pivot Table.
4. Changing Summary Functions
-
By default, numeric fields are summed.
-
To change:
-
Click the field in Values area → Value Field Settings
-
Choose functions like: Count, Average, Max, Min, StdDev
-
Click OK
-
5. Rearranging Fields
-
Drag and drop fields between Rows, Columns, Values, Filters to change the table layout.
-
Helps in analyzing data from different perspectives without changing the source.
6. Real-Life Examples
-
Sales dataset: Rows = Product, Columns = Region, Values = Total Sales
-
HR dataset: Rows = Department, Values = Count of Employees, Filter = Joining Year
-
Inventory dataset: Rows = Product Category, Values = Sum of Quantity, Filter = Warehouse
Practice Questions
-
How do you create a Pivot Table from scratch?
-
What are the four main areas in the PivotTable Fields pane?
-
How do you change the default Sum to Average?
-
What is the use of Recommended PivotTables?
-
How can you rearrange fields to analyze data differently?
