Excel-17 is your guide to mastering Pivot Tables in Microsoft Excel.
Learn practical tips, step-by-step instructions, and see illustrated examples for:
- Pivot Tables
- Grouping
- Multi-level Pivot Tables
- Multiple Report Filter Fields
- Frequency Distribution
- Pivot Charts
- Slicers
- Calculated Field/Item
- GETPIVOTDATA function
📚 Goal: Help you analyze data efficiently and create insightful Excel reports—ideal for learners and power users!
- Pivot Tables
- Sort & Filter Pivot Table
- Change Summary Calculation
- Two-dimensional & Multi-level Pivot Tables
- Grouping Items & Dates
- Multiple Value & Report Filter Fields
- Frequency Distribution
- Pivot Charts
- Slicers
- Update Pivot Table
- Calculated Field/Item
- GETPIVOTDATA Function
- Screenshots
- Requirements
- Author
Pivot tables are a powerful Excel feature for summarizing large data sets.
To create a pivot table:
- Click any cell in your data set.
- Go to the Insert tab → Tables group → PivotTable. Excel auto-selects your data. Default is a new worksheet.
- Click OK.
The PivotTable Fields pane opens.
To summarize exported amounts by product:
- Drag Product to Rows
- Drag Amount to Values
- Drag Country to Filters
Result:
Sort:
- Click a cell in the Sum of Amount column.
- Right-click → Sort → Sort Largest to Smallest.
Filter: Click the filter drop-down and select France.
Result:
- Click any cell in Sum of Amount.
- Right-click → Value Field Settings.
- Choose calculation type (e.g., Count).
- Click OK.
16 out of the 28 orders to France were 'Apple' orders.
Two-dimensional:
- Drag Country to Rows
- Drag Product to Columns
- Drag Amount to Values
- Drag Category to Filters
Result:
Multi-level: Drag more than one field to Rows (e.g., Category and Country).
Result:
Group Products:
- Select items, right-click → Group.
Click minus signs to collapse.
Group Dates:
Add Date to Rows.
Right-click a date, Group → Quarters.
Quarter 2 is the best!
Multiple Values:
- Country to Rows
- Amount to Values (twice)
To show % of Grand Total:
- Value Field Settings → Custom Name: Percentage
- Show Values As: % of Grand Total
Multiple Filters:
- Order ID to Rows
- Amount to Values
- Country & Product to Filters
Select United Kingdom and Broccoli in filters.
Result:
Pivot tables can create frequency distributions (histograms).
- Amount to Rows
- Amount to Values
Change Values to Count.
Group amounts (e.g., by 1000):
Result:
Create a pivot chart for visualization:
Pivot charts visualize pivot tables.
Use your 2D pivot table:
- Click a cell in the pivot table
- PivotTable Analyze → Tools → PivotChart → OK
Changes sync between chart and table!
Filter Pivot Chart: Use Country filter to show only US exports.
Use Category filter to show vegetables.
Change Chart Type: Select chart → Design → Change Chart Type → Pie → OK
Pie charts show one data series.
Slicers make filtering pivot tables intuitive.
Insert a slicer:
- Click a cell in your pivot table
- PivotTable Analyze → Filters → Insert Slicer
- Check Country → OK
Click United States for product details.
Insert a Product slicer, select style, use CTRL to select multiple.
Connect slicers to multiple tables:
- Insert a second pivot table
- Select slicer → Slicer tab → Report Connections → select table
Click the icon in a slicer to clear its filter:
No beans or carrots were exported to Canada!
Pivot tables do not auto-refresh.
To update after changing data:
- Click any cell in the pivot table
- Right-click → Refresh
Or set "Refresh data when opening file" in PivotTable Options.
Calculated Field:
Uses values from other fields.
- Click a cell in the pivot table
- PivotTable Analyze → Calculations → Fields, Items & Sets → Calculated Field
Insert formula, e.g.,
=IF(Amount>100000, 3%*Amount, 0)
Excel adds the field to Values.
Calculated Item:
Uses values from other items.
- Click a Country in the pivot table
- PivotTable Analyze → Calculations → Fields, Items & Sets → Calculated Item
Insert formula, e.g.,
=3%*(Australia+'New Zealand')
Created groups: Sales and Taxes.
GETPIVOTDATA returns visible data from a PivotTable.
All screenshots are in the /Screenshots folder.
- Microsoft Excel (recommended: 2021/365)
- Windows OS
Project and documentation by Kuba27x
Repository: Kuba27x/Excel-17







































