The Complete Excel Course with AI Integration
Pivot tables for teachers
After every test comes the same evening of averages by class, counts of grades and lists of weak topics, worked out by hand. The Complete Excel Course with AI Integration gives that evening back with PivotTables, taught on SalesPlusPerformance, an industry-standard project built on order data. This path runs from a clean results table through fields, summaries, subtotals and slicers to PivotCharts, a styled report and a Refresh All that takes in new marks.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Build a PivotTable from a results sheet that shows each class's average for every topic or question, so the topics to reteach stand out after each test.
- Prepare marks for a PivotTable: one heading per column, one spelling per class, no stray spaces or empty rows, and the whole range made a table.
- Change a PivotTable's summary in Value Field Settings from a total to the average, count or top mark a teacher needs, and show results as percentages.
- Count the pupils at each grade in each class, with year-group subtotals and grand totals set from the Design tab.
- Filter results by class, set or pupil group with slicers, and chart them with PivotCharts that follow the same slicer.
- Bring all of a workbook's PivotTables up to date together with Refresh All after each round of marking, with the source kept as a table so new rows join it.
- Summarise a behaviour log by class and type of incident with the same drags used for marks.
Projects
What you will build.
The course has 14 industry-standard projects. These two matter most here.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Built on a year of order-level sales data, it is where a teacher learns the whole PivotTable routine: the source cleaned and made a table, fields dragged into rows, columns and values, dates grouped, slicers and PivotCharts added, the report styled and refreshed. Read each order as a pupil's mark and each region as a class, and every step carries over.
-
Project 02
Dunder Michael Paper Company employee database
Built as a paper company's staff list, it is where a list first becomes an Excel Table that takes in new rows by itself, the habit that keeps a PivotTable of marks complete as each new set arrives.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 11 of them, 41 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 57 PivotTables 101 in Excel
Start at Lesson 57 if your marks already sit in a tidy sheet: the section opens with what a PivotTable is for and runs to a refreshed, styled report. Results still in a plain range? Take Lesson 19 first, so the PivotTable's source grows as marks arrive. If Excel is new to you, the course's own beginning at Lesson 1 gets you to a working sheet before any PivotTable.
11 of 186 lessons · 41 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) An Excel Table with structured references and a total row: the right source for a PivotTable, because rows added later join it by themselves. The lesson's table is a staff list; a results sheet is a table of pupils and marks.
- 19 Excel tables Create and format a table, structured references and total row 8 min
07 PivotTables and PivotCharts: data analysis made easy The complete PivotTable section, practised on a year of sales orders: what a PivotTable does, a clean source made with TRIM, PROPER and Find and Replace so a trailing space or a variant spelling cannot show one group twice, the first PivotTable, rows, columns, values and Value Field Settings, summaries with dates grouped, slicers, PivotCharts, the Design tab, Refresh All and a Ninja Challenge with a solution file.
- 57 Start here PivotTables 101 in Excel What a PivotTable does and the sales dataset 5 min
- 58 Preparing data for PivotTables Clean data with TRIM, PROPER, find and replace 5 min
- 59 Create your first PivotTable in Excel Insert a PivotTable from a sales table 1 min
- 60 PivotTable fields in Excel Rows, values, columns and Value Field Settings 2 min
- 61 PivotTable summaries in Excel Sales by product category and grouping by date 4 min
- 62 Slicers in Excel Filter PivotTables with clickable buttons 3 min
- 63 PivotCharts in Excel Create interactive charts from a PivotTable 5 min
- 64 PivotTable design Tab Report layouts, PivotTable styles and number formats 5 min
- 65 Refresh a PivotTable in Excel Update pivots when source data changes 2 min
- 66 Excel Ninja Challenge PivotTable sales by region, category and monthly trend 1 min
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
Once a test is marked, can a pivot table show which topics and which pupils need reteaching, and where can a teacher learn to build one?
Yes: drop the topics into Rows, the classes into Columns and the marks into Values, set the summary to an average, and the weakest topic in each class shows at a glance. The Complete Excel Course with AI Integration from Coding Liquids drills that routine on SalesPlusPerformance, an industry-standard project which, like every project in the course, was designed after conversations with people across many industries. Swap topics for pupils in Rows and the same table sets out each pupil's mark per topic, ready for planning a reteaching group. The lessons summarise sales orders by region, category and month; your fields are pupils, topics and classes, and the drags are identical. The path, 11 lessons and 41 minutes in all, goes from a clean results table to a refreshed report with charts and slicers.
Can one summary sheet hold a PivotTable by class and another by topic without them colliding?
Yes, and The Complete Excel Course with AI Integration builds exactly that kind of sheet in Lesson 61. The lesson renames a PivotTable sheet dashboard_data, the back end of a dashboard, then inserts further PivotTables onto it with Existing Worksheet, each at a cell chosen below the last: one by product category, another of net sales by date. Because a PivotTable needs room to expand, the lesson cuts the lower one and pastes it further down once the upper one grows. For a teacher that means one sheet holding results by class, by topic and by assessment, a few rows apart, and one Refresh All updates them together (Lesson 65). Keep the source a clean table, since a stray space or an empty row upsets every PivotTable at once (Lesson 58), and each one on the sheet reads the same marks.
Marks dragged into a PivotTable come out as totals: can it show averages, counts or the top mark instead?
Yes, through Value Field Settings, the box The Complete Excel Course with AI Integration opens in Lesson 60. Sum is the default for any number dragged into Values, which suits points but not marks; the lesson switches the summary from Sum to Minimum and back, and the same box lists Average, Count and Max beside them, so a class's mean, the number of pupils who sat the test and the top score are each one choice away. Drag the marks field in more than once and several of them sit side by side. Lesson 64 then uses the box's Number Format button to show results as percentages. Drop a field into the wrong box and a PivotTable confidently summarises the wrong thing, as that lesson warns, so check one class against a figure you already know.
Can a PivotTable count how many pupils got each grade in each class?
Yes: grades down the side, classes across the top and a count in the middle, laid out with the drags The Complete Excel Course with AI Integration teaches in Lesson 60, where one field goes into Rows, another into Columns and a third into Values. Put the pupil number in Values and set its summary to Count in Value Field Settings, the box that lesson opens, and every cell tells you how many pupils in that class reached that grade, with grand totals for the year group from the Design tab (Lesson 64). A slicer then narrows it to one assessment (Lesson 62). COUNTIFS gives the same figures by formula (Lesson 37); the PivotTable builds the whole grid at once and rearranges with a drag when the question changes, from grades by class to grades by set.
Can I see each class's average beside the whole year group's, with every teaching group under its year?
Yes: nested rows, subtotals and grand totals do exactly that, and The Complete Excel Course with AI Integration teaches each. Lesson 60 stacks one field under another in Rows, states under their regions in the lesson, so classes sit under their year group and each block collapses or expands with a click. Lesson 64 works through the Design tab: subtotals at the top or bottom of each group or none at all, grand totals shown or hidden for rows and columns, Compact or Outline layout, banded rows for reading across, and a style that makes the report fit to hand over. Set the marks to an average and each subtotal is that year group's mean, with the whole cohort's at the foot. The lesson's advice suits a results meeting: a grand total helps a full roll-up but can distract from a comparison.
Can I click between classes or teaching groups without building a separate PivotTable for each?
Yes: slicers turn every class into a button, and The Complete Excel Course with AI Integration teaches them in Lesson 62. The lesson moves fields into the Filters area and filters the PivotTable with clickable buttons, one state, then one region, then back to all, with the data underneath untouched. For you the fields are class, set or teacher: one PivotTable answers for every group in turn, and a head of department can click through them without asking for a new report. Lesson 63 links a PivotChart to the same slicer, so the chart redraws as the class changes, and checks that chart, table and source all agree. One build serves every class you teach, this year and the next.
New marks go in every week: will my PivotTables keep up?
Yes, at a click of Refresh All, which The Complete Excel Course with AI Integration teaches in Lesson 65. A PivotTable does not update by itself, and the lesson proves it: a new row added to the source changes nothing until Refresh, and Refresh All then brings all of the workbook's PivotTables up to date together. The other half of the habit is the source: because the sales data is kept as a table, an added row becomes part of it automatically, whereas a source kept as a bare range leaves this week's marks outside and means rebuilding. Lesson 19 sets up that table. So the routine after each marking session is two steps, type the marks and press Refresh All, and a stale summary never tells last week's story at a meeting.
Can a PivotTable become a chart I can show at a department meeting?
Yes: a PivotChart, built straight from the PivotTable in Lesson 63 of The Complete Excel Course with AI Integration. The lesson makes a clustered column chart of one summary and a line chart of a monthly trend, moves them to a sheet of their own, gives the line a title and axis titles, and filters both with a slicer. For a department meeting that means average mark by class as columns, results across the year's assessments as a line, and one click to show a single class. The lesson's rule for choosing is simple: columns compare groups, a line shows performance over time. Keep the PivotTables on one sheet and the charts on another, as the lesson does, and the meeting sees a clean page while the workings stay out of sight.
My mark book already counts grades with COUNTIFS: what does a PivotTable add on top?
Speed when the question changes, and The Complete Excel Course with AI Integration teaches both tools so you can choose. COUNTIFS and SUMIFS (Lesson 37) suit a fixed report: they sit in place, recalculate the moment a mark changes and need no refresh. A PivotTable suits the questions nobody planned: average by topic this week, by class and set next week, a count of grades for one assessment after that, each a few drags instead of a new block of formulas (Lesson 60). It also groups dates into months and quarters by itself (Lesson 61) and filters with slicers. Keep COUNTIFS for the counts your mark book shows every day, and reach for a PivotTable when someone asks a new question in a meeting and wants the answer before it ends.
I have never inserted a PivotTable: can I follow these lessons from the very first click?
Yes. The Complete Excel Course with AI Integration explains what a PivotTable is for before you build one: Lesson 57 walks the practice data column by column and shows the kind of question a PivotTable answers at once. Lesson 59, one of the shortest lessons in the course, inserts the first one from a table onto a new sheet, and Lesson 60 fills it with fields. Every step is built on practice files, a raw starter, a cleaned starter and the finished workbook, so each PivotTable you make has a finished version to compare with. The section ends with a Ninja Challenge of PivotTable tasks and a solution file (Lesson 66), whose advice is worth keeping: let AI help you understand a question if you like, but build the answer yourself.
Could I be analysing my own results with PivotTables before the next data drop?
Yes. The path on this page is 41 minutes of The Complete Excel Course with AI Integration, and the summaries you need come early in it: by Lesson 60 you have a PivotTable of marks by class, and by Lesson 62 a slicer to switch between groups. Clean your results sheet the way Lesson 58 cleans the sales data, make it a table, and build alongside the lessons rather than after them, so your own summary grows with each one. PivotCharts, the Design tab and Refresh All finish the job in the lessons that follow. The finished practice workbook is there to compare against whenever your version looks odd, and lifetime access keeps the section open for the next data drop and the one after.
Can a PivotTable compare results across pupil groups, such as those with and without extra support?
Yes: a column naming each pupil's group is all it needs, and The Complete Excel Course with AI Integration teaches the two ways to use it. Drag the group into Columns, as Lesson 60 drags the sales channel, and every class's average splits into side-by-side figures for each group, with grand totals beneath. Or move it into the Filters area and give it a slicer, as Lesson 62 does with region and state, and one click shows only the pupils in that group across every class. Nested rows add depth: group under class, or class under group, each block collapsible. The same layout compares sets, boys and girls, or any group your school reports on, once the source has a column saying who belongs where.
Could the same skills turn a behaviour log into a count of incidents by class and type?
Yes: any log with one row per event pivots the same way, and The Complete Excel Course with AI Integration teaches the method on an order log of exactly that shape. A behaviour log, one row per incident with the pupil, class, date and type, becomes a grid of incidents by class and type, or a list of pupils each with their count of entries, the pupil number counted in Values (Lesson 60). Slicers narrow it to one class, one year group or one type (Lesson 62), and a PivotChart turns it into columns for a pastoral meeting (Lesson 63). The clean-up still comes first: one spelling for each type of incident and no stray spaces (Lesson 58), or one type appears twice. Learnt once on sales orders, the skill serves every log a school keeps.
My mark book has a column for each test: can a PivotTable still summarise it?
Yes: drag each test's column into Values and set each one to an average, the way Lesson 61 places net sales and total cost side by side, and classes in Rows give a class-by-test grid straight away. That layout suits a term's handful of tests. For a whole year, one row per pupil per test serves better, because a single mark field then holds every result and the test itself becomes a field for Columns, a slicer or the Filters area. The Complete Excel Course with AI Integration teaches that reshaping with Power Query's Unpivot in Lesson 173, where wide month columns from an exported file become rows of one long list. Whichever layout your department keeps, the PivotTable reads it without a single mark retyped.
Excel with AI
See the whole course.
The Complete Excel Course with AI Integration: 16 hours of video in 186 lessons, built around 14 industry-standard projects, with lifetime access, a Certificate of Completion and a 14-day money-back guarantee.
The same course
For another job, skill, goal, level, topic or comparison.
The course for this job
More skills for this job
- Excel formulas for teachers
- Lookups for teachers
- Excel charts for teachers
- Excel dashboards for teachers
- Conditional formatting for teachers
- Data cleaning for teachers
- Data validation for teachers
- Excel tables for teachers
- Text functions for teachers
- Date functions for teachers
- Dynamic arrays for teachers
- Copilot in Excel for teachers
- ChatGPT for Excel for teachers
- Claude in Excel for teachers