The Complete Excel Course with AI Integration
Pivot tables for government officers
Head office asks for the same summaries every month: cases by district, spending by department, headcount by grade, all by period. The Complete Excel Course with AI Integration teaches PivotTables that produce them in seconds, hands-on in industry-standard projects, and this page picks out the lessons a government officer needs: a clean source, rows, columns and values, date grouping, slicers, PivotCharts, refresh, budget pivots and a data model.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Summarise a register by district, status and month in a PivotTable, nesting fields in Rows and splitting them across Columns, with no formula written.
- Count cases and total amounts side by side, choosing how each value is summarised in Value Field Settings.
- Group dates into years, quarters and months, and report by financial year through a fiscal year column added in Power Query.
- Prepare a register for a PivotTable by clearing stray spaces, second spellings and empty rows, so one district never appears on two lines.
- Filter every PivotTable and chart in a workbook at once with slicers and a timeline joined through Report Connections, live in a review meeting.
- Lay out a summary for a committee paper with Outline Form, subtotals, grand totals, a PivotTable style and large values shown in millions.
- Compare allocation with spend by department and month in a PivotTable workspace, with variance percentage and budget utilisation beside it.
- Report from several related tables through a Power Pivot data model and DAX measures, on Excel for Windows.
Projects
What you will build.
The course has 14 industry-standard projects. These four matter most here.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Built for a sales team's figures, it is the whole PivotTable routine an officer repeats on a register: tidy the source, summarise by place and category, group by period, filter with slicers, chart the result and refresh as rows arrive.
-
Project 08
MarketPulse
One screen that shows which campaigns earn back their spend.
Built for marketing campaigns, its back end is one sheet of labelled pivots, each begun as a copy of the one before, the layout for a set of monthly summaries, with rate formulas written beneath them and a timeline and slicers that move every pivot together.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
Built to set plan against spending, its pivot workspace gives totals, months, departments, categories and a matrix of variance percentage by department and month, the views an allocation review asks for.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Built on sales files, it ends in PivotTables fed by a data model of related tables, the step for an officer whose figures live in more than one list.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 19 of them, 1 h 31 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 you keep your register in rows with one heading per column: the PivotTables begin there and need no formulas. If your lists are loose ranges, take Lesson 19 first, since a table is what lets new rows reach a PivotTable. New to Excel? Begin at Lesson 1. Already building pivots? Move to Lesson 62 for slicers and PivotCharts, then Lesson 120 for the budget workspace.
19 of 186 lessons · 1 h 31 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) An Excel table under the register: a row typed below it becomes part of it, which is how each new case reaches the PivotTable when you refresh. The lesson's table is an employee database.
- 19 Excel tables Create and format a table, structured references and total row 8 min
07 PivotTables and PivotCharts: data analysis made easy The PivotTable path on SalesPlusPerformance's order data: what a PivotTable does, tidying the source with Find and Replace, TRIM and PROPER, a first PivotTable, Rows, Columns, Values and Value Field Settings, summaries grouped by date, slicers, PivotCharts, report layouts and number formats, refresh, and a challenge by region, category and month. A register of cases or payments takes every step.
- 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
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) A PivotTable built from a typed request: Copilot lays out revenue by region and month and sorts the regions, and a request to format the result returns instructions instead of action, a lesson in wording prompts precisely.
- 92 PivotTables with Copilot Build an Excel PivotTable from a prompt 5 min
11 MarketPulse campaign intelligence dashboard MarketPulse's engine room: each new pivot starts as a copy of the last and is reshaped for channel, month or campaign, rate formulas with IFERROR are worked out from the summary pivot, and Copilot's pivots are checked one request at a time against the hand-built set.
- 108 Marketing PivotTables in Excel Build the MarketPulse pivot back end 6 min
- 109 CTR, conversion rate and ROI in Excel Marketing KPI formulas with IFERROR 4 min
- 110 PivotTables with Copilot Generate and verify marketing pivots in Excel 6 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) FinanceGuard's pivots read a pasted copy of the model's values: budget, actual and variance overall and by month, department and category, variance percentage and budget utilisation calculated next to them, and a grid crossing departments with months.
- 120 PivotTables for budget vs actual The FinanceGuard pivot workspace 8 min
15 SalesFusion: advanced data tools and a Power Query modelling system PivotTables over several related tables: a Power Pivot data model with relationships in Diagram View, DAX measures for totals and percentages, and a report formatted from the data model. These lessons need Excel for Windows, where Power Pivot runs.
- 169 Power Pivot Data Model in Excel Relationships and Diagram View 6 min
- 170 DAX measures in Power Pivot Total sales, margin percent and percent of total 10 min
- 171 PivotTable report from the Data Model Format the SalesFusion report in Excel 5 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.
Every return to head office is a summary of a register: can a government officer learn to build them all as PivotTables, and where?
Yes. The Complete Excel Course with AI Integration from Coding Liquids teaches PivotTables on SalesPlusPerformance, an industry-standard project designed after talking with people from many different industries, then puts them to work in MarketPulse, FinanceGuard and SalesFusion, so you meet the same tool in a sales report, a campaign dashboard, a budget review and a data model. This page picks out the 19 lessons that give an officer every summary a return asks for, 1 hour 31 minutes of the course: cases or payments by district and month, spending by department against allocation, headcount by grade and location. You build each PivotTable yourself from the course's files, with the finished workbook beside you to check against, and the steps carry straight over to your own register, whatever its rows record. No formula is needed: the totals come from dragging fields.
Which summaries does a PivotTable produce in a government office, and which lesson covers each?
Four kinds, and The Complete Excel Course with AI Integration teaches the moves behind each one. Spending by department, fund or budget head, totalled and compared over months: Rows and Values in Lesson 60, date grouping in Lesson 61. Headcount by division, grade or location: fields nested in Rows so locations sit under their divisions and collapse at a click (Lesson 60). Casework counted by district, month or source, the permits, inspections, complaints or applications a return reports: the same layout with a count in Values, filtered by slicers (Lesson 62). And reviews of grant or supplier payments, rolled up by recipient to see where the money went and which totals stand out: the challenge of Lesson 66 asks the same kind of question of sales data. The lessons summarise orders; each of those office summaries is the same drag of fields.
Our register has blank rows, merged headings and a district typed two ways: will a PivotTable cope?
The Complete Excel Course with AI Integration teaches the clean-up that makes such a register ready, in a lesson of its own. A PivotTable takes its categories exactly as they are typed, so a district with a trailing space or a second spelling appears twice, and Lesson 58 repairs the source with Find and Replace for spellings, TRIM for stray spaces and PROPER for consistent names, each pasted back as values. The same lesson deletes an empty row, since a blank can make a PivotTable think the data ends early, and turns the range into a table. Merged headings come out too: the Copilot lessons spell out the rule every summary tool follows, one clear heading per column and no merged cells (Lesson 89). A short spell of preparation spares you the review meeting where one district's figures were split across two lines.
Can a PivotTable count cases rather than add up amounts?
Yes: place a text field such as the case number in Values and Excel counts the rows, while an amount field is summed. The Complete Excel Course with AI Integration shows where that choice lives in Lesson 60: Value Field Settings controls how each value is calculated, Sum by default, switched in the lesson to Minimum and back, with Count in the same list. Lesson 61 puts two values side by side, net sales and total cost by product category, the layout of a return that needs the number of applications and the amount awarded in one table. MarketPulse (Lesson 108) carries several measures into one summary pivot. Put district in Rows, status in Columns and the case count in Values, and the caseload table that took an afternoon of filtering becomes a single PivotTable that recalculates at every refresh.
Can a PivotTable report by month and quarter, and by our financial year?
Months and quarters come built in, and a financial year needs one extra column, which The Complete Excel Course with AI Integration also teaches. In Lesson 61 a date dropped into Rows is grouped by Excel into years, quarters and months, with buttons to drill down to days, and removing a level switches the report between quarterly, monthly and daily views. Lesson 66 sets a monthly trend as one of its challenge tasks. Excel's grouping follows the calendar, so a financial year that starts in another month comes from a column that names it: Lesson 167 adds fiscal year columns in Power Query, and once that column exists it drops into Rows or a slicer like any other field. A return that compares this financial year with the last then needs no hand-made totals at all.
In a review meeting, can I filter every figure by district or scheme with a click?
Yes, and every table and chart in the workbook follows the same click. The Complete Excel Course with AI Integration introduces slicers in Lesson 62, clickable buttons that filter a PivotTable by state, city or region without touching the data, and Lesson 63 shows a PivotChart moving with the slicer. The step that makes a meeting work comes in MarketPulse: a new slicer is tied only to the PivotTable it came from, so Report Connections links it to every pivot in the file (Lesson 113), and a timeline does the same for dates (Lesson 111). Hold Ctrl to pick two districts at once, and use Clear Filter to return to the whole picture. When a councillor or a senior officer asks how one scheme is doing in one district, the answer appears on screen while the question is still being asked.
New entries go into the register every day: will my PivotTable keep up by itself?
One click keeps it current, and The Complete Excel Course with AI Integration shows exactly why that click matters. A PivotTable is a snapshot: in Lesson 65 a new row joins the sales table on its own, yet the PivotTables beside it do not change until Refresh is pressed, and Refresh All then updates every PivotTable in the workbook at once. The table matters as much as the button, because a row typed below an Excel table becomes part of it, so the refresh finds the new entries (Lesson 19); without a table the PivotTable's range would have to be redone. Lesson 63 adds that slicer, PivotTable and PivotChart move together, but edits to the data reach them only after a refresh. Make Refresh All the first thing you do before a figure is sent, and no return goes out telling yesterday's story.
My summary goes into a paper for senior management or elected members: can a PivotTable be laid out well enough to go in as it is?
Yes: the Design tab turns a working pivot into a table that can go into a paper unedited, and The Complete Excel Course with AI Integration spends a lesson on it. Lesson 64 takes a summary of sales by region and category and decides its look: where subtotals sit or whether they show at all, grand totals on rows and columns, the Compact or Outline layout, banding and a style, then a custom format that prints large figures in millions with a small m. Members reading a paper should see figures, not workings, so Lesson 114 also hides field buttons and gridlines and titles each chart. Above all, the lesson warns, a field dropped in the wrong box summarises the wrong thing with total confidence: check the layout against the source before any styling, because a polished table that answers the wrong question does more harm than a plain one.
Can PivotTables compare our allocation with what has been spent, by department and month?
Yes: in The Complete Excel Course with AI Integration, FinanceGuard, a budget against actual project, builds that very comparison. Lesson 120 lays out a PivotTable workspace on a values copy of the budget model: budget, actual and variance in total, then by month, by department and by category, with variance percentage and budget utilisation worked out beside the pivots, and a matrix of variance percentage by department and month. The pivots read plain values because, as the lesson explains, formulas are fragile in a PivotTable setting; when the model changes, a fresh copy of its values and a refresh bring the pivots up to date. Swap the lesson's departments for your budget heads and the same workspace answers the questions an allocation review asks: where spending is running ahead, in which month it turned, and which head is barely used.
Each district office keeps the same register on a sheet of its own: is there a way to summarise them all in one PivotTable?
Yes: The Complete Excel Course with AI Integration teaches two ways to bring every office's sheet into one PivotTable. Where every office sends the same columns, Power Query stacks them into one table: Lesson 165 appends two tables, and Lesson 166 combines every file in a folder, so one PivotTable reads all offices and the next file joins at a refresh. Where the tables differ, a register on one sheet and a list of districts or schemes on another, the data model relates them instead: Lesson 169 links tables in Power Pivot's Diagram View, Lesson 170 adds DAX measures, and Lesson 171 builds the PivotTable report from the model. Those data model steps need Excel for Windows, as Power Pivot does. Either way, copying office sheets into a master by hand comes to an end.
Can I put my own formula beside a PivotTable, such as cases closed as a share of cases received?
Yes, and The Complete Excel Course with AI Integration teaches it together with the trap that catches people out. In Lesson 109 the MarketPulse summary pivot feeds three rate formulas written beneath it, click-through rate, conversion rate and return on investment, each wrapped in IFERROR so a zero never becomes an error on the report. A clearance rate, cases closed divided by cases received, is built the same way. The trap comes in Lesson 112: click a PivotTable cell while writing a formula and Excel writes GETPIVOTDATA instead of a plain reference, so the lesson turns that option off under File, Options, Formulas, and the link becomes an ordinary cell reference. FinanceGuard works out variance percentage and budget utilisation beside its pivots the same way (Lesson 120), so every rate a return needs sits next to the totals it comes from.
Could Copilot build this month's caseload PivotTable from my register, and how would I know it is right?
Copilot can lay the PivotTable out from a typed request, and The Complete Excel Course with AI Integration teaches the checks that make it safe to use. In Lesson 92 Copilot builds revenue by region and month from one prompt and sorts the regions on request, while a request to format the result comes back as instructions, a lesson in naming what to build, from which data and where. MarketPulse then tests it harder (Lesson 110): three PivotTables asked for in one prompt return only one, so each request is sent on its own, and every Copilot pivot is checked against totals already built by hand. For a caseload return that is the routine: know your grand total from the register first, then hold Copilot's pivot to it. These steps need Copilot in your Microsoft 365, while the PivotTables you build by hand need only Excel.
Our department talks of moving reporting to AI and BI tools: are PivotTables still worth an officer's time?
Yes, because they sit underneath the tools said to replace them, and The Complete Excel Course with AI Integration shows it project by project. The dashboards of MarketPulse and FinanceGuard run on PivotTables, with KPI cards, charts and slicers on top (Lesson 108, Lesson 120). Copilot's answer to a summary request is itself a PivotTable, which you can only check if you know how one is built (Lesson 92). And the data model of SalesFusion feeds PivotTables from related tables with DAX measures (Lesson 171), the same idea larger reporting tools are built on. An officer who reads a PivotTable fluently can question any summary put in front of them, whichever tool produced it, and can answer the next unplanned question from head office in the file already open.
Which charts can I draw straight from a PivotTable, and which need ordinary data?
Most everyday charts come straight from a PivotTable, and The Complete Excel Course with AI Integration builds several of them as PivotCharts. Clustered columns and a monthly line appear in Lesson 63, a 3-D column and a doughnut in Lesson 111, and a combo chart with a secondary axis, a stacked column and a stacked bar in Lesson 122, all following the slicers. Excel does not offer scatter charts or the newer business charts as PivotCharts, so the funnel, Pareto and waterfall of Lesson 55 and the histogram, box and whisker, treemap and sunburst of Lesson 56 are drawn from ordinary worksheet tables. In practice that means a waterfall of the budget from a small summary table, or a histogram of processing times from the register's own column, set beside PivotCharts that answer the counting questions.
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
- Formulas for government officers
- Lookups for government officers
- Charts for government officers
- Dashboards for government officers
- Conditional formatting for government
- Data cleaning for government officers
- Data validation for government officers
- Excel tables for government officers
- Text functions for government officers
- Date functions for government officers
- Dynamic arrays for government officers
- Power Query for government officers
- Power Pivot and DAX for government
- Copilot in Excel for government officers
- ChatGPT for government officers