PivotTables: summarise and show values: practice exercises
Value Field Settings: Average, Max, Min, Count, % of Grand Total, % of Column Total, Number Format, names, sorting. 7 exercises on real-looking data, each checked as you go. The full lesson is part of Pro.
This lesson has a PivotTable builder like Excel's: drag fields into Rows, Columns and Values, and each task is checked as you go.
How it works
Open the menu on a value in the Values box and choose Value Field Settings. Summarise Values By picks Sum, Count, Average, Max or Min. Show Values As turns the numbers into shares, such as % of Grand Total. Number Format shows them as money or percentages, and Custom Name changes the heading.
To sort by the numbers, open Row Labels on the sheet (or the field's menu, then Field Settings) and sort largest to smallest.
Value Field Settings
Open the menu on a value in the Values box (or tap it) and choose Value Field Settings.
- Summarise Values By: Sum, Count, Average, Max, Min and a few more. The heading changes to match, such as Average of Salary (£).
- Number Format: a PivotTable doesn't copy the data's format, so its numbers start in General (34216.66667). Choose Currency (£) for money.
- Custom Name: your own heading. Excel won't take a field's own name (“PivotTable field name already exists”), so add a space at the end:
Sales (£). You can also click the heading on the sheet and type over it.
Watch for Count: if a numbers column has even one blank or text cell, Excel counts it instead of adding it up.
Show Values As
Show Values As turns each number into a share of a total:
- % of Grand Total: each number out of everything. The whole table adds up to 100%.
- % of Column Total: each number out of its column, so each column adds up to 100%. "What share of the North's sales were laptops?"
- % of Row Total: each number out of its row, so each row adds up to 100%.
| Row Labels | Sum of Sales (£) |
| East | 25.00% |
| North | 40.00% |
| South | 35.00% |
| Grand Total | 100.00% |
Sorting by the numbers
Items are listed A to Z (or in calendar order) to start with. To put the biggest first, open Row Labels ▾ on the sheet and choose Sort largest to smallest, or use Field Settings in the field's menu.
The sort stays when the data changes: after a refresh, the biggest is still first.
What you'll practise
- Show the average salary in each department, with the numbers in £.
- For each site, show the highest and the lowest salary.
- What share of all sales did each region make? Show total sales with the regions down the side, as % of Grand Total.
- Within each region, what share of its sales came from each product? Show the values so that each region's column adds up to 100%.
- Change the heading Sum of Sales (£) to just Sales (£). (Excel won't take a name that's already a field's name. The trick is to add a space at the end.)
- List the products from best-selling to worst: total sales for each product, sorted largest to smallest.
- Show total sales for each region. One sale in row 5 has no amount yet, so watch what Excel does with Sales (£).
Guide with worked examples: GROUPBY and PIVOTBY: summaries without a PivotTable