Pivot tables
Pivot tables are the quickest way to answer "how much per region" or "how many per person", with no formulas. You choose the groups and whether to Sum or Count.
- LearnRead the guide and its worked examples.
- PractiseA drill on just this skill, easier tasks first. Stuck? “Show me how”.
- TestA timed mock in the style your employer named.
- ReviewYour report shows what cost marks and what to practise next.
The functions
- Rows
Rows area - Each different value in this field gets its own row, for example one row per region.
- Columns
Columns area - Each different value gets its own column, for example one column per month.
- Values
Values area - The numbers to summarise. Choose Sum to add them or Count to count rows.
- Filters
Filters area - Limits the pivot to some rows, for example one year only.
Worked examples
Example 1 Total sales per region
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Region | Sales | One row per region with its total, and a Grand Total of 5800 | SUM of Sales | |
| 2 | North | 1,200 | East | 700 | |
| 3 | South | 900 | North | 3,100 | |
| 4 | North | 1,500 | South | 2,000 | |
| 5 | East | 700 | Grand Total | 5,800 | |
| 6 | North | 400 | |||
| 7 | South | 1,100 |
Step by step
Step 1- Click any cell in the data, A1:B7.
Step 2- Excel: Insert > PivotTable, check the range, choose New Worksheet or Existing Worksheet, then OK. Google Sheets: Insert > Pivot table, check the range, then Create.
Step 3- Excel: in the PivotTable Fields pane, drag Region into Rows and Sales into Values. Google Sheets: in the Pivot table editor, click Add next to Rows and pick Region, then Add next to Values and pick Sales.
Step 4- Sales shows as Sum of Sales (SUM of Sales in Google Sheets). Each region appears once, with its total.
Example 2 Count orders per person
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Order | Taken by | Josh 2, Maya 3, Grand Total 5 | COUNTA of Order | |
| 2 | Ord-201 | Maya | Josh | 2 | |
| 3 | Ord-202 | Josh | Maya | 3 | |
| 4 | Ord-203 | Maya | Grand Total | 5 | |
| 5 | Ord-204 | Maya | |||
| 6 | Ord-205 | Josh |
Step by step
Step 1- Select A1:B6 and insert a pivot table as in the first example.
Step 2- Put Taken by in Rows and Order in Values.
Step 3- Order is text, so it can't be added up. Excel uses Count automatically (Count of Order). In Google Sheets, check the Summarise by list says COUNTA, and choose it if not.
Step 4- To switch a number field from Sum to Count in Excel, click the field in Values > Value Field Settings > Count.
Common mistakes
- Leaving blank rows or a blank header in the data. The pivot misses rows or can't be created.
- Using Count when the task asks for a total, or Sum when it asks how many.
- Forgetting to refresh after the data changes. A pivot doesn't update by itself in Excel: right-click it and choose Refresh.
- Dragging a number field into Rows by mistake, which lists every amount instead of adding them.
Excel and Google Sheets
In Excel: Insert > PivotTable. Drag fields between the Filters, Columns, Rows and Values boxes. Change Sum to Count in Value Field Settings. Refresh with right-click > Refresh.
In Google Sheets: Insert > Pivot table. In the editor panel, use the Add buttons next to Rows, Columns, Values and Filters. Change SUM to COUNTA in Summarise by. It updates by itself when the data changes.
Now practise it
Reading gets you started; doing it under a clock is what the test checks. Practise this skill on its own, easier tasks first, then take a mock.
Practise in the Excel style Practise in the Google Sheets style
Skill drills come with the 30-day and 90-day passes. No pass yet? Try the free five-task mini-mock, no account needed.