The Complete Excel Course with AI Integration
Pivot tables for retail buyers
Every range review asks the same things: which lines carry a category, when it peaks, which stores sell it and which suppliers earn their place. The Complete Excel Course with AI Integration answers each with PivotTables built on industry-standard projects, in lessons that run from a clean sales table and a first PivotTable to date grouping, slicers, PivotCharts, a plan matrix, Copilot's pivots checked by hand 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:
- Turn the weekly sales export into a clean Excel table a PivotTable can trust: one spelling for every store and category, no stray spaces and no empty rows.
- Summarise sales and units by category, line and store in a PivotTable, with lines nested under their categories and stores set across the top.
- Group sales dates into months and quarters to find each category's seasonal peak before the next order is placed.
- Narrow the whole summary to one region, state or city with slicers, and show the result as a column or line PivotChart.
- Lay out the range review's PivotTables in Outline Form with banded rows, a clear style and values shown in thousands or millions.
- Keep every PivotTable behind the review on one back-end sheet, refreshed together with Refresh All when next week's rows join the table.
- Set the buying plan against sales by category and month in a pivot matrix, and prove a Copilot-built PivotTable against your own totals before it is shared.
- Relate sales to an item master in a data model and report each supplier and category with DAX measures for share of total, margin and a distinct count of orders.
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 sales data held one order per row, it is the nearest thing in the course to a buyer's weekly export: categories, products, cities, states and channels with units, cost and net sales on every row, cleaned, pivoted by category and month, sliced by state or city and refreshed when new rows arrive.
-
Project 08
MarketPulse
One screen that shows which campaigns earn back their spend.
Built for marketing campaigns, its Pivots sheet shows how a set of PivotTables works side by side, one question each, and how Copilot's pivots are proven against the hand-built ones total by total: the back end a range review needs.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
Built for budget against actual spending, its PIVOTS sheet reads plain values and lays budget beside actual for every month, department and category, ending in a matrix of variance percentage: the view of a buying plan against sales by category and month.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Built around a model that relates the sales table to its product and region lookups, it lets a PivotTable read details from a lookup table without a single VLOOKUP, with DAX measures for share of total, margin and a distinct count of orders.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 20 of them, 1 h 41 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 19 Excel tables
Begin with Lesson 19 if your sales export has never been turned into an Excel table: a PivotTable that reads a table takes in each new week's rows at a refresh. Buyers who already work in tables can open at Lesson 57, where the PivotTable section starts. The MarketPulse lessons continue a project that opens at Lesson 105; for the data model lessons, build the SalesFusion queries from Lesson 153 first to follow along on the same files.
20 of 186 lessons · 1 h 41 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) Excel tables on an employee list: a range turned into a styled table with a Total row, and new rows joining it as they are typed. Keep the weekly sales export as a table and every PivotTable here takes in the new week's rows at a refresh.
- 19 Start here 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 sales data: what a PivotTable does, cleaning the source with Find and Replace, TRIM and PROPER, a first PivotTable from a table, rows, columns and values, sales by category with dates grouped by year, quarter and month, slicers, PivotCharts, layouts and styles, Refresh All and a closing challenge on region, category and the monthly trend.
- 57 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 prompt that names the figure, the breakdown, the table and the destination gets Copilot to build a PivotTable of region against month, then sort it largest first: the fast route when a buyer knows exactly which view the review needs.
- 92 PivotTables with Copilot Build an Excel PivotTable from a prompt 5 min
11 MarketPulse campaign intelligence dashboard MarketPulse's back end: six PivotTables on one Pivots sheet, each copied beside the last and rebuilt for its own question, KPI formulas worked out from the summary pivot with IFERROR, and Copilot's pivots checked total by total against the set built by hand. A review's supplier, category and month pivots sit together the same way.
- 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 pivot workspace: the model pasted as plain values into a table, PivotTables of budget against actual by month, by department and by category with the ratios calculated underneath, then a grid that crosses department with month for variance percentage. It is the layout for a buying plan held against sales by category and month.
- 120 PivotTables for budget vs actual The FinanceGuard pivot workspace 8 min
15 SalesFusion: advanced data tools and a Power Query modelling system SalesFusion's data model: the sales table related to its product and region lookups in Diagram View, DAX measures for total sales, profit, share of total, a distinct count of orders and margin, a tabular report by category, then region, monthly and product views with a Top 10 filter, all under one set of slicers. Power Pivot, where the relationships and measures are made, runs only in Excel for Windows.
- 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
- 172 Interactive Excel dashboard Data model PivotTables, slicers and styling 10 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.
What is a pivot table, and which of a retail buyer's weekly questions can it settle?
A PivotTable is Excel's summary engine: point it at a table of sales and it totals, groups and compares them however you drag the fields, and The Complete Excel Course with AI Integration from Coding Liquids builds it into industry-standard projects designed after talking with people from many different industries. For a buyer that settles the standing questions of the week in a few clicks: sales by category, line and store, the months each category peaks, the leading lines of a range, supplier totals and plan against actual. SalesPlusPerformance, an order-level sales file with categories, products, cities and channels, is where you learn it, from the first clean-up to the final refresh (Lesson 57 to Lesson 66). The 20 lessons on this page, 1 hour 41 minutes in total, add a plan matrix, Copilot's pivots checked by hand and a data model, so PivotTables stay a core buying tool long after the first one.
Carry-over lines against new ones: can a PivotTable show how each category's sales split between the two?
Yes: add a column that marks each line as carry-over or new, and the PivotTable does the rest, as The Complete Excel Course with AI Integration teaches in its PivotTable section. Put category in Rows, the new column in Columns and sales in Values, the same shape Lesson 60 builds with regions down the side and sales channels across the top, and every category shows its carry-over and new sales side by side with a total each way. A slicer on that column narrows the whole report to the new lines alone (Lesson 62), and a clustered column PivotChart sets the two against each other for every category (Lesson 63). The marker column itself comes from a lookup against last season's style list, or straight from your range plan. The split tells a buyer whether a category is being carried by proven lines or renewed by new ones, the balance every range review turns on.
Can a PivotTable show when each category peaks, so the next buy lands in time?
Yes: put the sales date in Rows and Excel groups it for you, and The Complete Excel Course with AI Integration builds exactly that in Lesson 61. The dates group themselves by year, quarter and month; the expand buttons drill from a year down through its months to single days, and once the year and quarter levels are taken out, a clean month-by-month summary is left. Add the category across the top and each one's peak months stand out, and Lesson 63 turns that monthly view into a titled line PivotChart of the trend. The grouping runs to years, quarters, months and days; for a week-by-week view, give the export a week column first and pivot on that. Seen a season ahead, those peaks tell you when stock must land, when a repeat order is worth placing and when the run-down should begin.
Which stores sell each category best, and can one PivotTable show it for every store at once?
One PivotTable shows the lot, and The Complete Excel Course with AI Integration builds the layout in Lesson 60: one field in Rows, another across the top in Columns and sales in Values, with a grand total for every row and column. Set categories down the side and stores along the top and each cell is one store's sales of one category; stack region above store and the stores nest under their regions, ready to collapse or expand, as states and cities do in the lessons. Slicers then narrow the whole view to one region, state or city at a click (Lesson 62), and a clustered column PivotChart follows the same selection (Lesson 63). The data is sales orders by region, state and city, and a store list fits the same fields. Allocation then follows where each category really sells.
Can a PivotTable set each store's stock beside its sales, line by line, to show where stock should be moved?
Yes, as two value fields side by side, and The Complete Excel Course with AI Integration shows the pattern in Lesson 61, where net sales and total cost sit together in one PivotTable by product category. With a stock column in your export, put the line in Rows, the store in Columns and both units sold and stock on hand in Values (Lesson 60): a store sitting on plenty of a line it barely sells shows up beside one that is down to its last few, and the transfer between them almost suggests itself. Value Field Settings, opened in the same lesson, sets how each figure is summarised, with Sum as the default. The course's data is sales orders rather than a stock file; a PivotTable treats any numeric column the same way. A ratio such as stock against sales becomes a DAX measure built with DIVIDE in Power Pivot on Windows (Lesson 170), recalculated for every store and line.
Our sales export carries only the SKU, with supplier and category on the item master: can one PivotTable still report by supplier?
Yes: link the export to the item master and report through the link, a build The Complete Excel Course with AI Integration carries out in Lesson 169. There the sales table is loaded with its product and region lookups and joined in Diagram View by shared codes, each code once on the lookup side and many times on the sales side. Put your item master where the product lookup sits and every sale can be reported by the supplier, category, colour or season it holds, with no lookup column filled down a long export. Lesson 171 lays the result out category by category in a tabular layout with profit leading, and Lesson 172 adds region, monthly and product views with slicers shared across them. Power Pivot, where those links are made, needs Excel for Windows; on a Mac, an XLOOKUP that first writes the supplier onto each sales row does the same job.
Sales are only half the story: can a PivotTable put each supplier's cost and gross profit beside its sales?
Yes, with a margin rate beside them too, and The Complete Excel Course with AI Integration covers each step. Lesson 61 puts net sales and total cost in the Values of one PivotTable, so with supplier in Rows every supplier's sales and cost sit side by side, and a gross profit column from your export joins them the same way. For the margin as a percentage, the data model has a Margin Percentage measure built with DIVIDE (Lesson 170), worked out from the totals of whatever the row or slicer shows, so each supplier's rate comes from its own totals. On an ordinary PivotTable, formulas underneath do the job, as FinanceGuard calculates its variance percentage and its budget utilisation beneath its summary pivot (Lesson 120). You walk into a supplier review knowing which partners make money for the range, not only which ones move volume.
Can I see at a glance which categories ran over their buying plan, month by month?
Yes, in a matrix with categories down the side and months across, and The Complete Excel Course with AI Integration builds that grid in FinanceGuard. Lesson 120 pastes the model's figures into a fresh table as plain values, builds PivotTables of budget against actual by month, by department and by category, then a grid of department against month for variance percentage that reads like a heat map. Put your category where the department sits, your buying plan where the budget sits and sales or orders placed where the actual sits, and every month over plan shows in its own cell. Because those PivotTables read a pasted copy of the values, paste the latest figures in again and refresh whenever the plan or the sales move. Custom number formats then put colours and signs on a variance (Lesson 119), so the overruns catch the eye before anyone reads a figure.
Can every PivotTable behind the range review live on one sheet without them running into each other?
Yes, and The Complete Excel Course with AI Integration sets up that kind of back-end sheet more than once. Lesson 61 places PivotTables on one sheet through Insert PivotTable and Existing Worksheet, each at a cell of its own, and moves one lower when another needs room, because a PivotTable grows as fields are added. MarketPulse builds its Pivots sheet the same way (Lesson 108), copying each pivot beside the last past a coloured separator column instead of selecting the raw data again, and FinanceGuard's PIVOTS sheet repeats the idea for budget against actual (Lesson 120). Keep the engine on that sheet and the charts on another, as Lesson 63 does, and the range review reads cleanly while every figure stays traceable to one place. When the next week arrives, one Refresh All updates the whole sheet.
Our sales figures run long: can the PivotTable show them in thousands or millions so the review reads at a glance?
Yes, with a custom number format that does the dividing for you, and The Complete Excel Course with AI Integration uses one more than once. Lesson 64 sets a net sales report by region and category in Outline Form, with banded rows and a PivotTable style, then gives the values a custom format in Value Field Settings that shows them in millions with a small m. MarketPulse shows its figures in thousands with a K (Lesson 114), and the FinanceGuard finish does the same (Lesson 124). The figures underneath stay exact, so the totals still add up; only the display changes. The same lesson decides where subtotals sit and when grand totals show, since a grand total helps a full roll-up and distracts from a comparison. A review pack laid out that way reads like a finished report rather than a printout of raw output.
Do our lines sell differently online and in stores, and can a PivotTable show that split for each category?
Yes: put the channel across the top and the category down the side, and The Complete Excel Course with AI Integration builds exactly that shape. In Lesson 60, regions go into Rows with states nested beneath them and Sales Channel goes into Columns, so every region's net sales split by channel with a grand total each way; the SalesPlusPerformance data carries online, retail, distributor and partner channels. Put your categories and your own channels in those places and each row shows where a category really sells. Slicers narrow the view to one region or city at a click (Lesson 62), and a clustered column PivotChart turns the split into a picture for the review (Lesson 63). Before any of it, Lesson 58 makes sure each channel and category is spelled one way, or the split shows the same name twice. A line that flies online but stalls in stores makes the case for a different allocation next season.
When a category total looks wrong in the review, can I drill into the lines and stores behind it?
Yes: stack the fields and every total opens up, and The Complete Excel Course with AI Integration teaches the moves in its PivotTable section. Lesson 60 nests one field under another in Rows, states under their regions, so each group can be collapsed to a single line or expanded to show what makes it up, and Lesson 61 adds cities beneath the regions and drills dates from a year down to its months and days. Put category above line and store, and a surprising category total opens to the line, then the store, that moved it. Slicers (Lesson 62) narrow everything to one region or city while you look. When the culprit turns out to be a typing slip in the export rather than a real sale, the clean-up of Lesson 58 and a refresh (Lesson 65) put the figure right everywhere it appears, before the meeting moves on.
I have never built a PivotTable: how far into this page before one is summarising our sales export?
A few lessons in, and the whole page takes about 1 hour 41 minutes. The Complete Excel Course with AI Integration starts from what a PivotTable is and the dataset behind it (Lesson 57), cleans the source (Lesson 58), inserts the first PivotTable (Lesson 59) and fills it with rows, columns and values (Lesson 60): repeat those on your own export as you watch, and a summary of sales by category and store is on screen the same day. Grouping by month, slicers, PivotCharts, layout and refresh follow, then the challenge of Lesson 66, three tasks to solve on your own with a solution file to compare against. No formulas are needed to begin, only a clean table. With lifetime access the lessons stay to hand when the next review asks for a view you have not built yet.
Can a PivotTable show what I have committed to each supplier, category by category?
Yes, straight from your purchase order export, and The Complete Excel Course with AI Integration teaches every move it needs. Supplier goes in Rows, category in Columns and the order value or units in Values, a grid of supplier against category built with the fields of Lesson 60, so each cell is what one supplier holds of one category's buy. Add the order date beneath and Excel groups it into months and quarters for you (Lesson 61); a slicer narrows the view to one season or category at a click (Lesson 62); and Refresh All brings in the orders raised since the last look (Lesson 65). The lessons summarise sales orders, and a purchase order export with a supplier, a date and a value pivots in exactly the same way. Set beside the season's plan, that view shows which suppliers are taking the budget and where the commitments run ahead of what the sales justify.
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 retail buyers
- XLOOKUP and VLOOKUP for retail buyers
- Excel charts for retail buyers
- Excel dashboards for retail buyers
- Conditional formatting for retail buyers
- Data cleaning for retail buyers
- Data validation for retail buyers
- Excel tables for retail buyers
- Text functions for retail buyers
- Date functions for retail buyers
- Dynamic arrays for retail buyers
- Copilot in Excel for retail buyers
- ChatGPT for Excel for retail buyers