The Complete Excel Course with AI Integration

Pivot tables for supply chain analysts

An ERP or warehouse extract holds every order line, the weekly pack needs it by supplier, site, lane and month, and someone in the meeting always wants it cut another way. The Complete Excel Course with AI Integration teaches PivotTables on a table of sales orders, one row per order, in industry-standard projects: first the table and flag columns a pivot reads, then grouping, slicers, ratios from totals, plan against actual and a data model across extracts.

Taught by Sagnik Bhattacharya and Virginia Thorn

The Complete Excel Course with AI Integration: Sagnik Bhattacharya and Virginia Thorn

What you will be able to do

At work, you will be able to:

  • Turn an order-line extract into an Excel table that takes in next week's rows, then summarise it by supplier, site and month in a PivotTable within seconds.
  • Add the columns a pivot cannot work out for itself: an OTIF flag from IF with AND, and lead-time days from date arithmetic, ready to count, total and average.
  • Change a value's calculation in Value Field Settings, nest sites under regions, and let Excel group the order dates by year, quarter and month for the trend.
  • Work out fill rate and OTIF percentages from a pivot's totals with IFERROR, so a rate stays a ratio of sums instead of an average of line rates.
  • Filter every pivot in a review workbook by site or supplier with one set of slicers, wired through Report Connections.
  • Lay out planned against actual quantities by month and site, with a site-by-month matrix that shows where the plan drifts.
  • Relate order, item and stock tables in Power Pivot and report on them through one PivotTable with DAX measures.

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 a sales table of one row per order, it is the course's nearest match to an ERP order extract: dates, regions, channels, categories and quantities, summarised by category, month and region, narrowed with slicers and refreshed when rows are added.

  • Project 08

    MarketPulse

    One screen that shows which campaigns earn back their spend.

    Built for marketing campaigns, it shows how a reporting workbook keeps its pivots: six labelled PivotTables on one back-end sheet, rates worked out from their totals with IFERROR, and slicers wired to every pivot at once, the arrangement a weekly supplier review needs.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Made for budget against actual spending, its pivot workspace sets the two side by side for each month, each department and each category, with a grid of departments against months that reads like a heat map: the layout for planned against shipped quantities by site and month.

  • Project 12

    SalesFusion

    A sales report that refreshes itself from a folder of files.

    Made from a folder of sales files, its data model relates several tables in Power Pivot so that one PivotTable reports across them, with DAX measures that hold a ratio right at every level: the step up when orders, receipts and stock stay separate extracts.

Tap or pinch to zoom in, drag to move around. Click or scroll to zoom in, drag to move around.

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 38 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 19 Excel tables

Start at Lesson 19: an extract held in a table is what lets next week's rows reach every pivot when you refresh, and the flag and lead-time columns of Lesson 33 and Lesson 39 give the pivots something worth counting. Building pivots already? Pick up at Lesson 61 for date grouping and slicers, then the MarketPulse back end at Lesson 108. Starting from nothing in Excel, the opening lessons from Lesson 1 come first.

20 of 186 lessons · 1 h 38 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 1 of 9 lessons · 8 min An Excel table first, on an employee database: it grows as rows arrive, copies formulas down by itself and gives every column a name. Pasted into a table, next week's ERP extract reaches every pivot at a refresh instead of falling outside a fixed range.
  1. 19 Start here Excel tables Create and format a table, structured references and total row 8 min
04 Essential formulas and functions (IF, SUMIF and more) 1 of 13 lessons · 8 min IF with AND and OR on the Sales Goal Tracker, four flag columns built from several conditions at once: the pattern for an OTIF flag on every order line, delivered by the promised date and complete, which a pivot then counts and averages by supplier and month.
  1. 33 AND and OR with IF in Excel Flag high-value deals with multiple conditions 8 min
04 Essential formulas and functions (IF, SUMIF and more) 1 of 13 lessons · 6 min TODAY, MONTH and date arithmetic on the same sales table: receipt date minus order date gives each line's lead time in days, the field a pivot averages by supplier or lane once it sits in the source table.
  1. 39 Date and time functions in Excel TODAY, NOW, MONTH and date arithmetic 6 min
07 PivotTables and PivotCharts: data analysis made easy 10 lessons · 33 min The PivotTable section, on a sales table of one row per order that is cleaned first, since trailing spaces and a region spelt two ways would put one region on two rows. Then the first pivot, fields placed in rows, columns and values, Value Field Settings, dates grouped by year, quarter and month, slicers, PivotCharts, report layouts and number formats, Refresh All once rows are added, and a challenge on sales by region, category and month.
  1. 57 PivotTables 101 in Excel What a PivotTable does and the sales dataset 5 min
  2. 58 Preparing data for PivotTables Clean data with TRIM, PROPER, find and replace 5 min
  3. 59 Create your first PivotTable in Excel Insert a PivotTable from a sales table 1 min
  4. 60 PivotTable fields in Excel Rows, values, columns and Value Field Settings 2 min
  5. 61 PivotTable summaries in Excel Sales by product category and grouping by date 4 min
  6. 62 Slicers in Excel Filter PivotTables with clickable buttons 3 min
  7. 63 PivotCharts in Excel Create interactive charts from a PivotTable 5 min
  8. 64 PivotTable design Tab Report layouts, PivotTable styles and number formats 5 min
  9. 65 Refresh a PivotTable in Excel Update pivots when source data changes 2 min
  10. 66 Excel Ninja Challenge PivotTable sales by region, category and monthly trend 1 min
11 MarketPulse campaign intelligence dashboard 2 of 10 lessons · 10 min MarketPulse's back end: six labelled pivots set one beside another on a Pivots sheet, each copied from the last and rebuilt in the field list, then the campaign rates, clicks over impressions among them, worked out from the summary pivot's totals with IFERROR. Fill rate and OTIF percentage come from pivot totals in just the same way.
  1. 108 Marketing PivotTables in Excel Build the MarketPulse pivot back end 6 min
  2. 109 CTR, conversion rate and ROI in Excel Marketing KPI formulas with IFERROR 4 min
11 MarketPulse campaign intelligence dashboard 1 of 10 lessons · 4 min Slicers linked by Report Connections to all the pivots at once, a single click refiltering the workbook, with the lesson testing what one missed connection does. Supplier and site slicers serve a weekly review exactly as the channel and campaign slicers serve MarketPulse.
  1. 113 Slicers for an Excel dashboard Interactive filtering in MarketPulse 4 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 1 of 10 lessons · 8 min FinanceGuard's pivot workspace, made for budget against actual spending: the model's figures pasted as plain values and turned into a table, then pivots by month, by department and by category, plus a grid of departments against months showing variance percentage. With planned and shipped quantities in place of budget and actual, the same grid shows which sites drift from plan in which months.
  1. 120 PivotTables for budget vs actual The FinanceGuard pivot workspace 8 min
15 SalesFusion: advanced data tools and a Power Query modelling system 3 of 21 lessons · 21 min The SalesFusion data model: tables joined by relationships and laid out in Diagram View, DAX measures for total sales, margin percent and percent of total, and a PivotTable report drawn from the model, the route for orders, receipts and stock kept as separate tables. Relating the tables and writing the measures, Lesson 169 and Lesson 170, happen in Power Pivot, which runs in Excel for Windows.
  1. 169 Power Pivot Data Model in Excel Relationships and Diagram View 6 min
  2. 170 DAX measures in Power Pivot Total sales, margin percent and percent of total 10 min
  3. 171 PivotTable report from the Data Model Format the SalesFusion report in Excel 5 min

Instructors

Who teaches it.

Virginia Thorn smiling at the camera, dark hair tied back, wearing a navy top.

Instructor, Excel with AI

Virginia Thorn

Emmy Award winner. Teaches Excel with AI at Coding Liquids.

Questions

Asked before starting.

Which pivot tables does a supply chain analyst build most, from late lines by supplier to stock by site, and which lessons build each one?

Five come round every week, late or OTIF lines per supplier each month, volume by site or lane, stock by category and warehouse, lead time averaged by supplier, and plan against actual by month, and The Complete Excel Course with AI Integration from Coding Liquids builds the skill behind each in industry-standard projects shaped by talks with people from many different industries. Fields go into rows, columns and values in Lesson 60, dates group by year, quarter and month in Lesson 61, and slicers filter by site in Lesson 62. The flag a pivot counts comes from IF with AND (Lesson 33), and the plan-against-actual matrix from FinanceGuard (Lesson 120). Here you have the 20 lessons that cover all five for your weekly pack, 1 hour 38 minutes of lessons, each built on a practice file with the finished workbook beside it.

Can a pivot table report OTIF and fill rate by supplier, or does it only add things up?

Yes, both: the pivot counts and averages an OTIF flag column, and fill rate comes from its totals, with The Complete Excel Course with AI Integration teaching each piece. A pivot sums, counts and averages what the source holds, so the OTIF test belongs in the table: IF with AND marks each line 1 when it arrived on time and complete, 0 when not (Lesson 33). Summed, the flags count OTIF lines; averaged through Value Field Settings (Lesson 60), they give the OTIF rate for each supplier directly. Fill rate is a ratio of two totals, delivered over ordered, and MarketPulse shows how to work such a ratio out from a summary pivot with IFERROR (Lesson 109), just as click-through rate is clicks over impressions. In a data model, a DAX measure keeps that ratio right on every row of the report and in the grand total (Lesson 170).

Can a pivot show average lead time by supplier and lane, not just totals?

Yes: Value Field Settings turns the Sum of a lead-time column into an Average, and The Complete Excel Course with AI Integration teaches that box in Lesson 60. The lead time itself comes from date arithmetic, receipt date minus order date, in Lesson 39. Drop supplier into Rows and lane into Columns and every cell shows that pair's average; nest lanes under suppliers instead and each supplier collapses and expands like the regions and states of the lesson. Add the order date to Rows and Excel groups it by year, quarter and month by itself (Lesson 61), so the trend in lead time sits beside the averages. Minimum and Maximum live in the same box, for the quickest and slowest delivery each supplier managed in the period, and the lesson tries Minimum on its own sales figures.

The pivot's grand total does not match the extract's own total: what usually causes that, and do the lessons fix it?

Four faults cause most mismatches, and The Complete Excel Course with AI Integration deals with each of them. An empty row can make a pivot think the data ends early, leaving everything below it out of the totals; Lesson 58 deletes it before the first pivot is built and turns the data into a table. Rows pasted below a fixed range never reach the pivot at all, which the table of Lesson 19 prevents by growing as rows arrive. A pivot that has not been refreshed still shows the old figures, so Lesson 65 ends on Refresh All. And a slicer or the Filters area left on one site quietly narrows the total (Lesson 62). The same clean-up lesson trims stray spaces and settles second spellings, so each site sits on a single row and the grand total ties back to the extract.

Next week's extract will have more rows: will my pivots pick them up?

Yes, through two habits The Complete Excel Course with AI Integration teaches together. Keep the extract in an Excel table, built in Lesson 19, and new rows become part of the source by themselves, where a fixed range would leave them out. Then refresh, because PivotTables do not update on their own: Lesson 65 pastes a new row into the table, shows that the pivots have not moved, and brings them up to date with Refresh, then with Refresh All, which updates every pivot the workbook holds in one go. A stale pivot tells last week's story under this week's heading, so Refresh All becomes the last step before the pack goes out, and the slicers and PivotCharts built on those pivots follow it.

In the weekly supply review, people ask for one site, then another: how do the pivots keep up without being rebuilt?

With slicers, clickable buttons that filter a pivot while the room watches, which The Complete Excel Course with AI Integration teaches in Lesson 62: a state is picked, then a region, and the totals by category move each time while the source data stays untouched. Lesson 113 takes it further for a workbook of many pivots: Report Connections ties one slicer to every PivotTable, so a single click on a site refilters the lot, and the lesson shows how one missed connection leaves a pivot on the old selection while the rest update. Ctrl+click picks several sites at once, and the Clear Filter icon returns to the whole network. The question about one site is answered in the meeting itself, not in an email the next morning.

Can a pivot set planned against actual quantities by site and month for the S&OP review?

Yes, and FinanceGuard, a project made for budget against actual spending, lays out exactly that kind of pivot workspace in The Complete Excel Course with AI Integration. In Lesson 120, the model's figures are pasted as plain values and made into a table, and five pivots are built from it: totals, by month, by department, by category, and a grid of departments against months, showing variance percentage, that reads like a heat map. Put planned and shipped quantities where the budget and actual figures sit, and sites where the departments are, and that grid shows at a glance which sites drift from plan in which months. Because the pivots read a pasted copy of the values, a revised plan is pasted in again before Refresh All. The comparison every S&OP meeting opens with is built here, ready to filter by site.

Thousands of SKUs make the pivot too long to read: how do the lessons keep a big report usable?

With nesting, filters and a layout chosen for reading, all of which The Complete Excel Course with AI Integration teaches. Fields stacked in Rows nest, so SKUs sit under their category and collapse until someone needs them, as states collapse under regions in Lesson 60; keep the long field in Rows rather than Columns and the sheet stays readable. Lesson 64 works the Design tab: subtotals on or off, grand totals dropped when they distract from a comparison, a choice of Compact or Outline form, bands on alternate rows, and a custom number format that shows large values in millions with a small m. The Filters area and slicers narrow the report to one site or category (Lesson 62). The lesson's warning fits a busy pack: one drag into the wrong box confidently summarises the wrong thing.

If I ask Copilot for late lines by supplier and month in one go, will it build the pivot correctly?

It can build it, and The Complete Excel Course with AI Integration shows how to make sure it builds the right one. Lesson 92 has Copilot build a pivot of revenue for each region and month straight from a prompt, without a field dragged, then sort it highest first. Lesson 110 found the catch: a prompt asking for three pivots at once returned only one, so each request went in alone and every result was checked against the pivots built by hand. That is the habit for a supply chain pack: one pivot per prompt, the table and the fields named, and the AI's totals held against a figure you already trust, such as the extract's own line count. The Copilot lessons assume a Microsoft 365 that includes it, and they can simply be watched without one.

Orders, receipts and stock arrive as separate extracts: can one pivot report from all three?

Yes, from a data model, which The Complete Excel Course with AI Integration builds in SalesFusion, a project made from a folder of sales files. Lesson 169 relates the tables in Power Pivot and shows them in Diagram View, Lesson 170 writes DAX measures for total sales, margin percent and percent of total, and Lesson 171 builds a PivotTable report from the model. The same relationships let an item table link your orders, receipts and stock on SKU, so one pivot answers questions across all three with no lookup columns filled down to carry fields over. A measure such as margin percent is worked out afresh at every level of the report, which is how a fill-rate measure stays right by supplier, by site and in the grand total. Power Pivot, where the relating and measuring happen, runs in Excel for Windows.

The lessons use sales orders: will a pivot built on them prepare me for purchase orders and receipts?

Yes, because the shape is the same, and The Complete Excel Course with AI Integration chose order-level data for its PivotTable section. Lesson 57 walks the columns: an order ID and date, region, state and city, channel and segment, product category and name, units sold, the per-unit figure, cost and gross profit, with month and quarter columns ready-made. Read it as who ordered what, where, how many and for how much, and you are looking at a purchase order extract with supplier in place of salesperson and site in place of city. Every move the lessons make, from grouping dates to filtering by region, works the same on your lines. The practice files come with the course, a raw starter and a cleaned one, and a finished workbook for checking your own.

Where should the pivots live in a weekly pack, so the raw extract, the summaries and the charts stay apart?

On sheets of their own, the arrangement The Complete Excel Course with AI Integration builds twice. In the PivotTable section the sales data keeps its own sheet, the pivots sit on a renamed dashboard_data sheet that serves as the back end (Lesson 61), and the PivotCharts move to a Dashboard Charts sheet, because the data engine and the visuals belong apart (Lesson 63). MarketPulse does the same at scale: six pivots labelled A to F on one Pivots sheet, separated by coloured columns so each has room to grow (Lesson 108). For a weekly pack that means the new extract is pasted over the old one on its sheet, Refresh All updates the back end, and the summary pages never need touching. Anyone inheriting the file can see where each number comes from.

Before I trust myself with the real extract, is there a pivot exercise I solve without the video?

Yes: the PivotTable section of The Complete Excel Course with AI Integration closes with a Ninja Challenge in Lesson 66. Its problem file holds a sales data sheet and three tasks: total sales by region, region broken down by product category, and a monthly trend. You build the pivots yourself, then compare them with the solution file. The lesson draws a clear line on AI: use it to understand the problem or explore the questions, never to generate the answer, because that would skip the learning. Those three tasks are a supply chain pack in miniature, volume by site, site by product family and the month-by-month trend, so finishing them is a fair sign you are ready for Monday's extract.

I have never built a pivot table, and our extract has dozens of columns: where do I start?

Start with the question, not the columns, which is how The Complete Excel Course with AI Integration opens its PivotTable section. Lesson 57 reads the order dataset column by column so you know what each field can answer before anything is built. Lesson 59 inserts the first PivotTable from the table in a minute, and Lesson 60 drags just a region and a sales figure into place, then a second field under the first: a pivot only uses the fields you give it, so a wide extract is no obstacle. If tables are new too, Lesson 19 comes first on this page for exactly that reason. Choose the plan with instructor support and you can send a question about your extract through the inbox under any lesson and get the instructor's answer in writing.

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.