The Complete Excel Course with AI Integration
Pivot tables for payroll administrators
A payroll register holds every answer finance asks for, cost by department, overtime by month, heads by location, but only a PivotTable gets them out in seconds. The Complete Excel Course with AI Integration teaches PivotTables on industry-standard projects, and this page picks out the lessons a payroll administrator needs: a clean source kept as a table, fields and date grouping, slicers, PivotCharts, layout, refresh, a budget workspace and a Copilot draft.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Prepare a payroll register for PivotTables: one header row, no subtotal or blank rows, every department spelt one way, and the data kept as an Excel table.
- Summarise gross pay, overtime and deductions by department, cost centre or pay type in seconds, with fields placed in rows, columns and values.
- Group pay dates into months and quarters, and move between monthly, quarterly and pay-date views without a formula.
- Count heads beside pay by changing a value's summary in Value Field Settings, and filter the result with slicers by department or location.
- Lay a summary out for finance in Outline Form with subtotals, banded rows and a number format in millions, and chart the monthly trend as a PivotChart.
- Bring every PivotTable in the workbook up to date with Refresh All when the next pay run is added, so no report shows last period's figures.
- Set payroll cost against budget by month and department in a PivotTable workspace, and have Copilot draft a PivotTable that you check against known totals.
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 on order-level sales data, it is where every PivotTable skill on this page is practised: a messy source cleaned, two measures side by side by category, dates grouped into months and quarters, slicers, a monthly PivotChart and Refresh All, all ready for a register of pay lines.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
Built for departmental spending against plan, its pivot workspace reads a values copy of the model and lays out totals, months, departments and a department by month matrix, which is the layout of payroll cost against budget.
-
Project 14
Agentic AI in Excel
AI finds and fixes the formula; you check it before it counts.
Built around Copilot, ChatGPT and Claude on real tasks, its PivotTable lesson turns one precise prompt into revenue by region and month, a fast first draft of a payroll summary that is then held against totals already trusted.
-
Project 02
Dunder Michael Paper Company employee database
Built as an employee list, it is where a range becomes an Excel table with a total row on Salary, the source format that lets a new pay period's rows join a PivotTable at its next refresh.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 13 of them, 54 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 register is already a clean list under one header row: the PivotTable lessons begin there, and the first table is built within minutes. If your data still sits in a plain range, take Lesson 19 first so that new pay periods join it by themselves. Comfortable with fields and grouping? Go to Lesson 62 for slicers, PivotCharts, layout and refresh. New to Excel? Begin at Lesson 1.
13 of 186 lessons · 54 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) Excel tables: create and style one, read structured references and add a total row. A register kept as a table takes in each new pay period's rows by itself, so the PivotTable built on it needs nothing more than a refresh.
- 19 Excel tables Create and format a table, structured references and total row 8 min
07 PivotTables and PivotCharts: data analysis made easy PivotTables from the source up, on SalesPlusPerformance: what a PivotTable is, the clean-up that stops one department appearing twice, inserting one from a table, fields in rows, columns and values with Value Field Settings, grouping dates by month and quarter, slicers, PivotCharts, layouts and number formats on the Design tab, Refresh All and a challenge. The orders are sales; the steps are the same for a pay register.
- 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) Copilot builds a PivotTable of revenue by region and month from one precise prompt, sorts it on a second, and shows that a vague request returns advice instead of a table: a quick draft of a payroll summary, to be checked like any other.
- 92 PivotTables with Copilot Build an Excel PivotTable from a prompt 5 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) The FinanceGuard pivot workspace: budget, actual and variance PivotTables built on a values copy of the model, variance percentage and budget use worked out beside them, then views by month, department and category and a department by month matrix, the shape of payroll cost against plan.
- 120 PivotTables for budget vs actual The FinanceGuard pivot workspace 8 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.
How does a payroll administrator turn the pay register into finance's monthly cost summary with a pivot table, and where is that taught?
By keeping the register as one clean table and dragging its fields into a PivotTable, and The Complete Excel Course with AI Integration from Coding Liquids teaches every step on real files. A PivotTable reads every row of the register and totals it whichever way the fields are arranged: cost by department and cost centre, pay by period, overtime by team, heads by location, one question after another from the same source without a single formula. The course builds that skill on SalesPlusPerformance, an industry-standard project designed after talking with people from many different industries: a raw export cleaned (Lesson 58), a first PivotTable inserted (Lesson 59), fields arranged and summarised (Lesson 60) and dates grouped by month and quarter (Lesson 61), then slicers, PivotCharts, layout and refresh. The orders are sales, and a register of pay lines follows the same steps. Here the lessons come to 13 lessons and 54 minutes, closing with PivotTables of budget against actual, the shape of payroll cost against plan.
My payroll export has a subtotal row under each department: will a pivot table count those twice?
Yes, and the grand total will be overstated, so take those rows out before the PivotTable is built. A PivotTable treats every row of its source as a record, so a department subtotal sitting among the pay lines is added in again with them. The Complete Excel Course with AI Integration teaches the habit of preparing the source first: Lesson 58 works through a raw export, deleting an empty row and column that would make a PivotTable think the data ends early, and fixing messy text with Find and Replace, TRIM and PROPER, because a stray space or a second spelling makes one region appear twice in the summary. A department written two ways in a register splits in just the same way. Lesson 59 then inserts the PivotTable from a proper table, since PivotTables are picky about their source. Filter the subtotal rows out, delete them, and the PivotTable produces every subtotal you need by itself.
Each pay period comes as its own sheet: how do I get a year of them into one pivot table?
Stack the periods into one table, then let the PivotTable group them, and The Complete Excel Course with AI Integration shows both halves. A PivotTable reads one source, so the months or weeks of a pay year belong in one long table with a pay date column, the layout of the course's sales data: one row per record, with dates in a column of their own. Keep that list as an Excel table (Lesson 19) and each new period pasted underneath joins it by itself, which Lesson 65 proves by adding a row to the sales table and refreshing. Then Lesson 61 puts the date field in Rows, where Excel groups it into years, quarters and months on its own, and removing a level switches between quarterly, monthly and daily views. For a folder full of period files, Power Query combines them automatically (Lesson 166), further on in the course. Either way, the year becomes one source and every PivotTable reads all of it.
Can one pivot table show gross pay, deductions and net pay side by side for each department?
Yes: drop each figure into Values and the PivotTable lines them up as columns, and The Complete Excel Course with AI Integration teaches exactly that move. Lesson 61 puts net sales and total cost into Values together, so every category shows both figures on one row, and Lesson 60 adds a second field to Rows to drill from a region into its states, with a third in Columns to split the totals by channel. For a payroll register that means departments in Rows, gross pay, deductions and net pay in Values, and pay type or pay period across Columns when you need it. Value Field Settings, in Lesson 60, decides how each figure is calculated, Sum by default, with the other summaries in the same list. Nested departments and cost centres collapse and expand with a click, so one table serves both the summary for finance and the detail you check line by line.
Can a pivot table count heads by department as well as adding up their pay?
Yes, by changing how a value is summarised, and The Complete Excel Course with AI Integration teaches the setting that does it. In Lesson 60, Value Field Settings switches a field from Sum to another summary, Minimum in the lesson, from a list that also holds Count and Average. Put the employee ID into Values a second time, set it to Count, and each department shows its heads beside its pay, while Average gives the mean amount per row. One caution keeps the figure honest: Count counts rows, so when a register carries several lines per person, such as basic pay and overtime on separate lines, it counts lines, not people. Filter to one pay element first, or count distinct IDs with COUNTA wrapped round UNIQUE (Lesson 35), which needs a modern Excel. On a register with one row per employee per period, a slicer on the period gives that run's headcount in a click.
Can department managers filter the payroll summary to their own team without touching the data?
Yes, with slicers, and The Complete Excel Course with AI Integration teaches them in Lesson 62: clickable buttons that filter a PivotTable by state, city or region while the original data stays untouched. On a payroll summary, slicers for department, location and pay type let a manager see their own team's cost, or finance see one site, without anyone editing the register or rebuilding a table. Each click updates the PivotTable at once, and choosing All brings the full picture back. Lesson 63 shows a PivotChart following the same slicer, so a chart and a table always show the same slice. Further on, MarketPulse connects one slicer to every PivotTable on a sheet through Report Connections (Lesson 113). Remember that a slicer changes what is shown, not who can see it: anyone holding the file can clear it, so a manager should receive a summary of their own figures rather than the whole workbook.
Will my pivot table pick up the new pay run by itself?
It picks it up at the next Refresh All, a single click that The Complete Excel Course with AI Integration builds into the routine, because a PivotTable keeps showing what it last read until it is refreshed. In Lesson 65 a new order goes in at the bottom of the sales data and the PivotTables on their own sheet do not move; a right-click Refresh updates one of them, and Refresh All brings every PivotTable in the file up to date in one go. That matters more on payroll than almost anywhere: a cost summary sent before the refresh carries last period's numbers under this period's title, and nothing on the sheet warns you. The lesson also explains why the source should be a table rather than a plain range: the table stretches to take in the new row on its own, so the refresh finds it, whereas a range stops where it always stopped. Paste in the period, refresh, then tie the grand total to the payroll system's own report before anything is sent.
How do I make the pivot table tidy enough to send to finance?
With the Design tab and a number format, and The Complete Excel Course with AI Integration teaches both in Lesson 64. Subtotals go at the top or the bottom of each group, or disappear; grand totals switch on or off for rows and columns; the report layout changes from Compact Form to Outline Form, which gives each field its own column; and banded rows and a PivotTable style make long lists easier to follow. Value Field Settings then sets the number format, including a custom format that shows large values in millions with a small m, so a payroll cost of many digits reads at a glance. The lesson's own warning is worth keeping: one field dragged into the wrong box confidently summarises the wrong thing, so read the headings before the report leaves your desk. Give the fields plain names as well, Gross pay rather than Sum of Gross, and finance reads the table without needing to call you.
Can a pivot table show overtime hours by department across every month of the year?
Yes: departments down the side, months across the top and overtime hours in the middle, and The Complete Excel Course with AI Integration teaches each part of that grid. Lesson 64 builds the same shape for sales, regions in Rows and product categories in Columns, and Lesson 61 groups a date field into months by itself. Put the pay date in Columns, grouped by month, and the department in Rows, and each cell holds one department's overtime in one month. FinanceGuard builds a department by month matrix of variance percentage in Lesson 120, read like a heat map, which is the layout for spotting the team whose overtime climbs through the year. Swap overtime hours for overtime pay or for sickness hours, and the same grid answers the next question. A line PivotChart of the monthly totals (Lesson 63) then shows the trend in one picture.
Can a pivot table set payroll cost against the budget for each department?
Yes, and The Complete Excel Course with AI Integration builds that workspace in FinanceGuard, its industry-standard budget vs actual project. Lesson 120 pastes the model's figures into a fresh table as values, builds a PivotTable of budget, actual and variance, and works out variance percentage and budget utilisation beside it, then copies it into views by month, by department and by category, plus a department by month matrix. The lesson's reason for the values copy is worth knowing: formulas are fragile inside a PivotTable setting, so the PivotTables read plain figures, brought up to date when the new month's values are pasted in and refreshed. Load the payroll budget as the plan and the posted payroll cost as the actual, and every department's position against plan sits on one sheet. The project runs on departmental spending, and payroll cost is simply one more line of it.
Is it safe to let Copilot build the payroll cost summary instead of learning PivotTables myself?
Safe once you can tell a right PivotTable from a plausible one, and The Complete Excel Course with AI Integration teaches you to do both: build it yourself, then check what Copilot builds. Lesson 92 gets a PivotTable of revenue by region and month out of Copilot with one precise prompt, naming the figure, its breakdown, the data and where the result should go, and shows a vague follow-up producing advice instead of action. Lesson 110, further on, sends three PivotTable requests in a single prompt and receives one, then holds every Copilot result against the hand-built PivotTables, total by total. On a payroll summary a wrong grouping or a missed department goes straight into finance's figures, so that comparison is the job itself. PivotTables are not being retired either: the course carries them onto a Power Pivot data model of related tables, which needs Excel for Windows (Lesson 169). Copilot drafts quickly; the sign-off stays yours.
Could I hand ChatGPT this period's payroll export and get the department cost PivotTable back?
You can get a workbook back, though not always with its PivotTable intact, and The Complete Excel Course with AI Integration shows what to watch for. In Lesson 93, ChatGPT is handed the uploaded workbook to chart, and the edited copy it returns opens without its PivotTable until a second request restores it, a plain lesson that an AI's file is opened and checked before anyone relies on it. ChatGPT works on a copy outside Excel and hands back a file, while Copilot works inside the workbook (Lesson 92), and the course's own takeaway is ChatGPT for planning and writing prompts, Copilot for the work in Excel. With payroll there is a step before either: uploading pay and personal details to an outside service is governed by your organisation's data rules, so follow them first. Built by hand, a PivotTable takes a minute or two, and the data never leaves your workbook.
Simple pivot tables for payroll: can someone who has never built one follow these lessons?
Yes: the PivotTable section of The Complete Excel Course with AI Integration assumes nothing beyond a tidy list. Lesson 57 explains what a PivotTable does by walking through its sales dataset column by column, Lesson 59 inserts the first one in a short demonstration, and Lesson 60 builds the first summary by dragging two fields, before anything more advanced appears. Each lesson is short and works on the same SalesPlusPerformance file, with a raw starter, a cleaned starter and a complete workbook to compare against. The section ends with a Ninja Challenge, Lesson 66, that sets three tasks to answer with your own PivotTables before you open the solution file, which is the moment the skill becomes yours. If lists and tables are new as well, start with Lesson 19, and if Excel itself is new, Lesson 1 begins at the very first spreadsheet.
How long before a pivot table is producing my monthly payroll summary?
About 54 minutes of lessons, and the summary itself can be running much sooner. The Complete Excel Course with AI Integration has a working PivotTable with grouped dates by Lesson 61, a short way into the section, and from there a register kept as a table gives you cost by department and month on your next run. Slicers, a PivotChart, the Design tab and Refresh All complete it, then the budget workspace and Copilot's draft add the extras. Every step works in Excel on Windows or Mac, and the SalesPlusPerformance files come with the course so each result can be compared. After that the monthly routine is short: paste the new period under the table, press Refresh All, check the grand total against the payroll system, send. Lifetime access keeps the lessons open for the day finance asks a new question of the register, and the course page has free lessons to watch before you decide.
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 payroll administrators
- Lookups for payroll administrators
- Charts for payroll administrators
- Dashboards for payroll administrators
- Conditional formatting for payroll
- Data cleaning for payroll administrators
- Data validation for payroll admins
- Excel tables for payroll administrators
- Text functions for payroll admins
- Power Pivot and DAX for payroll admins
- Macros and VBA for payroll admins
- Power Automate for payroll admins
- Claude in Excel for payroll admins