The Complete Excel Course with AI Integration
Pivot tables for compensation analysts
Headcount by grade, average salary by department, the spread inside a band, merit spend against budget: each is a PivotTable away once the pay data is clean. The Complete Excel Course with AI Integration teaches PivotTables on industry-standard projects, and this page picks out the lessons in the order a pay analyst uses them: a clean source table, the whole PivotTable section, the back ends of two dashboards, then PivotTables on a data model.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Turn a pay extract into a PivotTable-ready Excel table: one spelling for each department or grade, no stray spaces or blank rows, and new hires taken in as the table grows.
- Summarise salary by grade, job level or department, giving each copy of the salary field its own job in Value Field Settings: Count for heads, Average, Minimum or Maximum.
- Lay department against grade, or rating against grade, in one cross-tab, and nest departments under divisions that collapse and expand.
- Group hire dates into years, quarters and months to compare what each cohort earns today, and chart the trend as a line PivotChart.
- Connect one set of slicers to every pay summary on a sheet through Report Connections, so a single department click filters them all.
- Lay a summary out for leadership with subtotals, grand totals, outline form, a style and figures in millions, then refresh it whenever the data changes.
- Track merit spend against budget in PivotTables by month and department, with a variance percentage and utilisation worked out beneath the totals.
- Summarise employee, band and survey tables together through a Power Pivot data model with DAX measures such as percent of total, 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.
Order rows that behave exactly as employee rows will: region, state and channel to summarise, two measures side by side, dates that group themselves, slicers, PivotCharts and a refresh, all practised on one file before your own pay extract.
-
Project 08
MarketPulse
One screen that shows which campaigns earn back their spend.
A back end of labelled PivotTables, each copied from the last and rebuilt for one question, then tied to slicers through Report Connections: the layout of a pay pack where one department click reaches every summary.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
PivotTables of planned against actual spend by month, department and category, ratios worked out beneath them and a department-by-month matrix: merit budget tracking in the same shape, read from a values copy of the model.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
PivotTables over related tables in a Power Pivot data model, with DAX measures for totals, percent of total and a distinct count: the route for employee, band and survey tables summarised together. Power Pivot needs Excel for Windows.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 17 of them, 1 h 20 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 pay data already sits in tidy columns: the PivotTable section begins there, and Lesson 19 before it shows how to turn a range into the table a PivotTable should read. New to Excel altogether? The course's opening lesson, Lesson 1, comes first, with this path to follow. Building PivotTables already? Go to Lesson 108 for the multi-PivotTable back end, then Lesson 120. The data model lessons from Lesson 169 assume SalesFusion's earlier queries, so start that project at its beginning if you have not built it.
17 of 186 lessons · 1 h 20 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) Excel tables, the source every later PivotTable should read: on an employee list, a table is created and styled, its Total row sums the Salary column, and rows added later join it, the way new hires join next month's extract.
- 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 section on SalesPlusPerformance's order-level rows: preparing the source, inserting a PivotTable, Rows, Columns, Values and Value Field Settings, dates grouped by year, quarter and month, slicers, PivotCharts, layouts and styles, refreshing, and a challenge solved alone. Orders stand in for employees here: the fields change, the moves do not.
- 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
11 MarketPulse campaign intelligence dashboard A PivotTable back end built for speed: one PivotTable copied beside the last and rebuilt for each question, each one labelled, the layout for a pay pack's summaries by grade, department, location and rating.
- 108 Marketing PivotTables in Excel Build the MarketPulse pivot back end 6 min
11 MarketPulse campaign intelligence dashboard Slicers wired to every PivotTable on the sheet through Report Connections, cleared with one button, with several items chosen at once by holding Ctrl.
- 113 Slicers for an Excel dashboard Interactive filtering in MarketPulse 4 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) PivotTables for planned against actual figures: totals with a variance percentage and utilisation worked out beneath them, views by month, department and category, and a department-by-month matrix, all read from a pasted copy of the model's values.
- 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 a data model: tables related in Power Pivot's Diagram View instead of joined by lookup columns, DAX measures for totals, percent of total and a distinct count, then a tabular report straight from the model. These lessons need Excel for Windows and read the SalesFusion queries built from Lesson 153.
- 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.
Headcount, average pay and pay spread by grade: can pivot tables give a compensation analyst all three, and which course teaches it?
Yes, all three from one table of employees, and The Complete Excel Course with AI Integration from Coding Liquids teaches PivotTables hands-on, first on SalesPlusPerformance and then inside the industry-standard dashboard projects that follow, each designed after talking with people from many different industries. Grade goes into Rows, salary into Values as many times as you need, and Value Field Settings, the dialog that decides how each value is summarised, turns one copy into a count of heads, another into the average and others into the minimum and maximum (Lesson 60). The lessons summarise order-level sales by region, category, channel and month; an employee extract summarises by grade, department and location in exactly the same way. This page picks out 17 lessons, 1 hour 20 minutes in all: the PivotTable section from preparing the source to refreshing the result, the PivotTable back ends of MarketPulse and FinanceGuard, and PivotTables on a data model.
Why does a salary PivotTable add everything up, and how do I get heads, averages and the pay range instead?
Because Sum is the default for any number, and The Complete Excel Course with AI Integration shows exactly where to change it. Lesson 60 drags a field into Values, opens Value Field Settings and switches Sum to Minimum, the same dialog where Count, Average and Max sit. Drag salary into Values several times and give each copy its own job: Count for heads, Average for mean pay, Minimum and Maximum for the spread inside each grade. Set those beside the grade's band and the outliers name themselves: a grade whose lowest salary sits under the band minimum, or whose highest has drifted past the maximum. Lesson 64 then lays the result out as a report, with subtotals and grand totals on or off, an outline layout, banded rows and a number format. One drag into the wrong box confidently summarises the wrong thing, the lesson warns, so read every column header before the summary leaves your hands.
Can a PivotTable show whether higher performance ratings really received bigger increases?
Yes, in one PivotTable, once the cycle's file holds a rating and an increase percentage for each person. The Complete Excel Course with AI Integration teaches the layout in Lesson 60: a field in Rows, a value in Values with its summary chosen in Value Field Settings, and a second field in Columns to split the result. Rating in Rows with the average increase in Values shows whether each step up the scale earned more; grade in Columns shows whether that holds at every level; a count of employees beside it shows how thinly each cell is populated, so one person never passes for a pattern. Lesson 64 sets a percentage number format on a value field, so the averages read as percentages. In the lessons the rows are orders split by region and channel; your rows are people split by rating and grade, and the pay-for-performance question is answered on one screen.
Can I lay departments against grades, or locations against job families, in one table?
Yes, that cross-tab is where a PivotTable is at home, and The Complete Excel Course with AI Integration builds one more than once. Lesson 60 puts one field in Rows and another in Columns, net sales by region against sales channel, and stacks a second field in Rows so states nest under their regions and collapse or expand. Lesson 64 builds a region-by-category matrix and sets it in outline form, banded and styled, and FinanceGuard's PivotTables end with a department-by-month matrix of variance percentage (Lesson 120). For pay, department in Rows and grade in Columns with average salary in Values shows at once where one department pays a grade above the rest, and a demographic field in Columns gives the first view a pay equity review starts from. The statistical testing that follows is a discipline of its own; the clean grid it needs is built here.
What should a salary extract look like before it becomes a PivotTable?
One header row, one employee per row, each value written one way and no blank rows, and The Complete Excel Course with AI Integration teaches the clean-up that gets it there. Lesson 58 works on a raw file with faults an HR system export often carries: a second spelling and stray spaces make one region appear twice in a PivotTable, so Find and Replace sets one form, TRIM strips the trailing space in a helper column, Paste Special keeps the clean values, PROPER fixes the case of names, and an empty row and column are deleted, since a blank row can make a PivotTable think the data ends early. The range then becomes an Excel table, the kind Lesson 19 creates on an employee list, so rows added later join the source by themselves. A grade written with a trailing space, or a department with two spellings, is the same fault with the same fix.
Can a PivotTable show what each hiring year's employees earn today, to spot pay compression?
Yes: hire date in Rows, average salary in Values, and Excel groups the dates for you, as The Complete Excel Course with AI Integration teaches in Lesson 61. Dropped into Rows, a date field groups itself into years, quarters and months, and removing levels switches between yearly, quarterly and monthly views. With hire dates grouped by year and average salary beside them, each cohort's pay sits in one column: when recent hires average close to, or above, people who joined years earlier in the same grade, compression is on the screen. Put grade above the years in Rows so each grade carries its own cohorts, and add a count of employees so a single new hire cannot mislead. Lesson 63 turns a grouped date view into a line PivotChart, titled and with axis labels, for the slide that shows the trend.
One department slicer and every pay summary on the sheet: can they all move together?
Yes, once the slicer is connected to each PivotTable, and The Complete Excel Course with AI Integration teaches the connection as well as the slicer. Lesson 62 adds slicers to a sales PivotTable and filters it to one state or one region at a click, the source data untouched. MarketPulse then builds channel and campaign slicers, uses Report Connections to tie each one to every PivotTable on the sheet, and picks several items with Ctrl (Lesson 113). The lesson's warning is the one that matters for a pay pack: a single missed connection leaves one summary unfiltered while the rest update, so a department's figures can sit beside the whole company's without anyone noticing. Tick every PivotTable in Report Connections, click a department, and check that each summary moved before the pack is shared.
After an increase is keyed into the data, why does the summary still show the old salary?
A PivotTable works from a snapshot of its source taken at the last refresh, and The Complete Excel Course with AI Integration opens that gap on purpose so you never forget it. In Lesson 65 a copied order goes in at the foot of the sales table, and the summaries on the other sheet sit there unmoved until they are told to update, one through its right-click menu and every one in the workbook through Refresh All. During calibration, salaries and ratings change late and often, so a summary built in the morning can understate the afternoon's approved cost. Keep the extract as an Excel table and new hires added at the bottom become part of the source automatically; a plain range would leave them out until the PivotTable is rebuilt. Charts follow the same rule, as Lesson 63 points out: they move with the slicers instantly, yet see edited figures only after the update. One habit closes the gap: Refresh All, every time, before a number is quoted.
How do I report merit spend against budget by department and month with PivotTables?
With the PivotTable workspace FinanceGuard builds in The Complete Excel Course with AI Integration, made for planned against actual figures. Lesson 120 pastes the finished model into a fresh sheet as values, makes it a table and inserts a PivotTable of budget, actual and variance, with a variance percentage and a budget utilisation figure worked out beneath it. Copies of that PivotTable are rebuilt by month, by department and by category, and the last lays departments against months as a matrix of variance percentage, the view that shows which department ran ahead of plan in which month. Load the merit budget and the increases awarded as the two sides and the same sheet tracks a cycle. The PivotTables read a pasted copy of the model, the lesson's reason being that formulas are fragile in a PivotTable setting, so paste a fresh copy whenever the figures change.
Our employee list, band table and survey rates sit on separate sheets: can one PivotTable read them all?
Yes: a data model joins them, and SalesFusion in The Complete Excel Course with AI Integration builds one from its own tables. Lesson 169 loads a sales table and its product and region tables into the Data Model and relates them in Power Pivot's Diagram View, each code once in its lookup table and many times in the sales table, so no lookup column is dragged down thousands of rows. Lesson 170 writes DAX measures for totals, percent of total and a distinct count, and Lesson 171 builds a tabular PivotTable report straight from the model. Relate employees to bands by grade and to survey rates by job code, and one PivotTable summarises all three. Power Pivot needs Excel for Windows. On a Mac, or for a one-off question, the earlier route works: XLOOKUP brings the band and survey columns onto the employee table first (Lesson 69), and an ordinary PivotTable reads the single table that results.
Can a PivotTable show each department's share of total payroll?
Yes, and The Complete Excel Course with AI Integration gives you two ways to produce it. On a data model, a DAX measure for percent of total is written once, with CALCULATE and ALL reaching past the current filter to the grand total, and it recalculates for every row and slicer choice (Lesson 170, Excel for Windows). On an ordinary PivotTable, the course works ratios out with formulas beside the totals: MarketPulse turns its summary into click-through rate, conversion rate and return on investment with IFERROR (Lesson 109), and FinanceGuard does the same for variance percentage and budget utilisation (Lesson 120). For payroll, each department's total divided by the grand total and formatted as a percentage gives the share, and the same move gives merit spend as a share of payroll. Show Values As is not among the lessons; these routes cover what a payroll share needs.
Copilot built a grade summary from my prompt: how do I know its averages are right?
Hold it against figures you built yourself, the method The Complete Excel Course with AI Integration teaches in Lesson 110. There Copilot is asked for several PivotTables in one prompt and returns only one; each request is then sent again on its own, and every Copilot PivotTable is checked against the hand-built set, total by total, before it is labelled and kept. Lesson 92 shows the prompting side: a request that names the figure, the breakdown, the table and where the result goes builds a PivotTable of revenue by region and month, while a loose follow-up returns instructions instead of action. For pay, confirm the headcount first, then one grade's average against a quick AVERAGE on the source rows, and make sure salary was summarised as an average, not a sum. Lesson 99 then runs its four-point check: the right data selected, time frames that agree, every chart on the right source and an honest last look at each number. Copilot has to be part of your Microsoft 365 to follow these lessons hands-on.
Our HR system has built-in pay reports: why would a compensation analyst still build PivotTables?
Because a system report answers the question its designer had in mind, and a PivotTable answers the one in front of you, in seconds. The Complete Excel Course with AI Integration teaches PivotTables as the analyst's own instrument: a fresh question, average increase by rating within one job family, say, is a few drags in Lesson 60, where a new system report can mean a request and a wait. PivotTables are also the engine behind the course's dashboards: MarketPulse's back end is a sheet of labelled PivotTables copied from one another and rebuilt for each question (Lesson 108), and FinanceGuard and SalesFusion report through them too. Copilot builds them from a prompt, and a data model feeds them from related tables. Far from being replaced, they sit at the centre of the most practical work the course's industry-standard projects do, which is why every reporting skill after them builds on this one.
How much of the course stands between me and a grade-by-department pay summary?
Less than an hour of it. The PivotTable section of The Complete Excel Course with AI Integration, Lesson 57 to Lesson 66, runs from preparing the source to refreshing the finished report, and a cross-tab of salary by department and grade is within reach by its fourth lesson. The section closes with a Ninja Challenge of PivotTable tasks you solve on your own before opening the solution file, and the lesson asks you to let AI explain the problem but never write the answer. The rest of this page's 1 hour 20 minutes adds the back ends of MarketPulse and FinanceGuard and the data model of SalesFusion. SalesPlusPerformance comes as a raw starter, a cleaned starter and a finished workbook, so every PivotTable can be held against a working answer, and lifetime access keeps the lessons ready for the next cycle's 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 compensation analysts
- Lookups for compensation analysts
- Charts for compensation analysts
- Dashboards for compensation analysts
- Conditional formatting for comp analysts
- Data cleaning for compensation analysts
- Data validation for comp analysts
- Excel tables for compensation analysts
- Text functions for compensation analysts
- Date functions for compensation analysts
- Dynamic arrays for compensation analysts
- Copilot for compensation analysts
- ChatGPT for compensation analysts