PivotTable practice: lessons and Excel challenges
Learn PivotTables by building them, then use them on a real workbook in Excel. 12 lessons with 88 exercises, marked as you go, and 6 challenges and a final brief that we check from the Excel file you save.
The lessons
You build each PivotTable on the sheet with a field list, as in Excel: drag fields into Rows, Columns, Values and Filters, or tap them on a phone. Press Check and you're told what to change.
- PivotTables: your first one Free
Insert PivotTable, rows, columns, values, sum, count, average · 5 exercises - PivotTables: rows, columns and more
Two fields in Rows, Columns, two values, Tabular Form, subtotals, grand totals · 6 exercises - PivotTables: summarise and show values
Value Field Settings: Average, Max, Min, Count, % of Grand Total, % of Column Total, Number Format, names, sorting · 7 exercises - PivotTables: filters, dates and refresh
Filters, (Multiple Items), hiding items, grouping dates by month and quarter, number bands, Refresh, Change Data Source · 8 exercises - PivotTables: Top 10 and value filters
Top 10, Value Filters, Label Filters, Begins With, Contains, the top items in each group, Clear Filter · 8 exercises - PivotTables: grouping that works
Group Selection, groups you choose (North = Leeds and York), renaming a group, Ungroup, years and quarters together, number bands · 8 exercises - PivotTables: more ways to show values
Show Values As: Difference From, % Difference From, Running Total In, Rank Largest to Smallest, % of Parent Row Total, Base field and Base item · 7 exercises - PivotTables: calculated fields
Calculated Field: Profit = Sales − Cost, VAT at 20%, price per item, margin as a percentage, names with spaces, Modify, IF · 8 exercises - PivotTables: clean data before you pivot
Spaces that make two of an item, Find and Replace, TRIM, numbers stored as text, Convert to Number, VALUE, a missing heading, data in two places · 7 exercises - PivotTables: slicers and timelines
Insert Slicer, Ctrl+click for two items, Multi-Select, Clear Filter, a slicer for a field not in the PivotTable, Insert Timeline, months and quarters · 8 exercises - PivotTables: report from a PivotTable
GETPIVOTDATA: type = and click a number, fields and items, totals, a cell in place of a name, Generate GetPivotData on and off, #REF!, a summary sheet · 8 exercises - GROUPBY and PIVOTBY
GROUPBY, PIVOTBY, PERCENTOF, sort biggest first, filter, subtotals: summaries as formulas · 8 exercises
The last lesson makes the same summaries with formulas, GROUPBY and PIVOTBY, which update by themselves in Microsoft 365. Our free guide shows how: GROUPBY and PIVOTBY in Excel.
The challenges, done in Excel
Each challenge is a workbook with a job to do, written the way a manager would ask for it. The final brief is an email with five questions, and you decide how to lay out each PivotTable. Download it, make the PivotTables in Excel, save it, and drop the file on the challenge page. We read each PivotTable in the file and say which tasks are right, what we found, and what to change. The file is read and checked in your browser, and the file itself isn't uploaded. When you're signed in, what was read from it is sent to our server to be marked again for certificates, and we keep the result, not the file.
School trip payments
Year 8 are going on a £120 trip, 25 pupils from each of 6 forms, paying in full or in instalments. The finance office has sent the 180 payments so far (one row per payment). The head of year wants to know how each form is doing.
- The total paid so far by each form
- How many payments came in by each method
- Which form still owes the most, and how much (each form should pay £3,000: 25 pupils at £120)
Café takings
Six months of till data from a café that opens every day. The owner wants to see how it's doing, and the accountant wants the figures in a form she can use.
- Sales by month and category, with the dates grouped by month
- Each category's share of all sales
- A Tabular Form report with no subtotals, for the accountant
- Weekend sales, with a filter on the day
Charity donations
Two years of gifts to a food bank, from its regular donors. The trustees want to see how giving changes through the year, what a typical gift is, who gives the most, and how online giving compares with the rest.
- Donations by year and quarter, with the dates grouped
- The average gift for each campaign
- Gifts counted in bands of £25
- The top 10 donors, with a Top 10 filter
- Online against the rest, with groups made by hand
Sales team targets
Ten months of sales from four branches of an office supplies firm, with each salesperson's monthly target. The sales director wants the trend, the profit, and how each branch is doing against its target.
- How sales went up or down each month
- A running total for the year
- Profit for each branch, with a calculated field
- Each branch ranked by sales
- Each branch against its target
Staff absence
Six months of sickness absence from a delivery firm's four depots, exported from its HR system. The export isn't tidy, and the depot managers want a report they can filter for their own sites and for one quarter.
- Tidy the export first, so no department or person appears twice and every day is added up
- Days lost in each department, and by department and reason
- A slicer that shows two depots
- A timeline set to April to June
- The 5 people with the most days off
Helpdesk tickets
Three weeks of IT helpdesk tickets in an Excel table, with a new week still to add. The helpdesk manager wants PivotTables that stay up to date, and a summary for the weekly meeting that reads from them.
- PivotTables made from the Excel table
- The new week added to the table, and the PivotTables refreshed
- Tickets by priority and status
- A summary that reads the PivotTable with GETPIVOTDATA, or one GROUPBY formula in Microsoft 365
Regional sales review
A sales director's email asks five questions about last year's orders from five regions. You decide how to lay out each PivotTable: each one is checked against what was asked, not against one right layout.
- Each region's total, biggest first
- Each region quarter by quarter
- Each product category's share of sales
- The top 5 salespeople
- A summary of the best region and salesperson for the director's slides
What gets checked
- Which fields are in Rows, Columns, Values and Filters, and in what order
- How each value is worked out (Sum, Count, Average and so on), and Show Values As, such as % of Grand Total, Difference From the previous month or a Running Total, with its Base field and Base item
- Dates grouped by month, groups you make yourself (such as North and Midlands), and calculated fields such as Profit = Sales - Cost
- Items picked in a filter, Top 10, value and label filters, and the report layout (Compact, Outline or Tabular Form, subtotals)
- Slicers and timelines: which items a slicer has picked, and the run of dates on a timeline, such as April to June
- Data tidied before it's pivoted, such as a name with a space after it, and a PivotTable made from an Excel table that takes in new rows
- Whether the PivotTable reads all the data, and whether it was refreshed after the data changed
- Answers you type in, for questions about what the PivotTable shows, and summaries that read from it with GETPIVOTDATA (or GROUPBY in Microsoft 365)
Questions
Which versions of Excel work?
Excel 2019 or later, Microsoft 365, or Excel for the web, which is free with a Microsoft account. Leave Add this data to the Data Model unticked when you insert a PivotTable: a PivotTable made that way is saved in a form we can't read.
Can I use Google Sheets?
The lessons work in any browser. The challenges are made for Excel, and a Google Sheets file may not keep its PivotTables when you download it as .xlsx.
Are there answers?
Yes. When every task is right, the model answers open, showing what each PivotTable should look like and how to make it.
Is there a certificate?
Yes, with Pro. Pass the check in all 12 lessons while signed in, and the final brief (Regional sales review) checked from your Excel file, for the PivotTables certificate, with 6 hours of suggested CPD. It has its own ID and page, so a manager can check it. Challenges 1 to 6 are practice and aren't needed. See all the certificates.
Is it free?
The first lesson and the first challenge are free, with no account. The rest come with Pro, along with every other lesson and project, and the certificates.