The Complete Excel Course with AI Integration

Pivot tables for production managers

A month of shift records holds the answer to every question the plant manager asks, if someone can total it fast enough. The Complete Excel Course with AI Integration teaches PivotTables on SalesPlusPerformance, an industry-standard project, and this page picks out what a production manager needs, in the order a report is built: clean the records, pivot them, group by month, slice by line and shift, chart, refresh, then plan against actual and a sheet of pivots.

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:

  • Total output, scrap and downtime by line, shift and product in a PivotTable, with each field placed in Rows, Columns or Values.
  • Clean shift records before they are pivoted, with Find and Replace, TRIM and PROPER, so a line or a defect reason never appears twice.
  • Group a year of dates into quarters and months, and drill from a bad month down to the single days behind it.
  • Filter the morning's PivotTable by line, shift or supervisor with slicers, and chart it with PivotCharts that follow the same filters.
  • Keep every PivotTable current as each day's records join the table, with Refresh and Refresh All.
  • Show average cycle time beside total output with Value Field Settings, and lay the report out in Outline Form with subtotals and number formats.
  • Set plan beside output by line and month in one PivotTable, with attainment worked out under the totals.
  • Run a back-end sheet of several PivotTables for one report, and check a PivotTable Copilot builds from a prompt against totals you trust.

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 the core PivotTable skills of this page are learnt: a raw file cleaned, then PivotTables, PivotCharts and slicers on one table that refreshes. Swap orders for shift records and the same build answers output by line, scrap by product and stoppages by month.

  • Project 08

    MarketPulse

    One screen that shows which campaigns earn back their spend.

    A marketing dashboard whose Pivots sheet shows how a set of PivotTables works as the engine behind one report, each copied from the last and rebuilt for its own question: the pattern for output, scrap and downtime pivots sharing a single back-end sheet.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built for budget against actual, its pivot workspace sets budget beside actual, adds views by month, department and category, and works percentages out under the totals, the layout a plan against output review by line and week calls for.

  • Project 14

    Agentic AI in Excel

    AI finds and fixes the formula; you check it before it counts.

    The course's AI project, where Copilot turns one prompt into a PivotTable of revenue by region and month and sorts it on request; knowing how a PivotTable is put together by hand is what lets you trust or correct the one it returns.

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

Where to start

Lesson 57 PivotTables 101 in Excel

Begin at Lesson 57 if your shift records already sit in rows under headers: the PivotTable lessons run in the order a report is built, from cleaning to Refresh All. Never made an Excel table? The clean-up in Lesson 58 ends by making one, and Lesson 1 is there if Excel itself is new. Already pivoting with confidence? Go to Lesson 64 for layouts and number formats, then to Lesson 108, where a whole report's PivotTables share one sheet.

14 of 186 lessons · 57 min

07 PivotTables and PivotCharts: data analysis made easy 10 lessons · 33 min Every PivotTable move a shift report needs, practised on order-level sales data: the clean-up that stops one entry appearing twice, a PivotTable inserted from a table, fields arranged in Rows, Columns and Values, the summary changed in Value Field Settings, dates grouped by quarter and month, slicers, PivotCharts, Outline Form with subtotals, Refresh All and a three-part challenge.
  1. 57 Start here 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
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) 1 of 17 lessons · 5 min A prompt in place of dragging fields: Copilot returns revenue by region and month as a PivotTable, and sorts the regions when asked precisely. It needs Copilot in your Microsoft 365, and the hand-built lessons above are how you check its work.
  1. 92 PivotTables with Copilot Build an Excel PivotTable from a prompt 5 min
11 MarketPulse campaign intelligence dashboard 1 of 10 lessons · 6 min A back-end sheet for a whole report: six PivotTables side by side, each started as a copy of the last so the source is picked once, then given its own fields and a label. On a plant file the same sheet carries output, scrap and downtime pivots for a dashboard to read.
  1. 108 Marketing PivotTables in Excel Build the MarketPulse pivot back end 6 min
11 MarketPulse campaign intelligence dashboard 1 of 10 lessons · 6 min One prompt for three pivots brings back a single one; asking for each separately fixes it, and every Copilot pivot is held against totals already built by hand, so AI saves time without slipping a wrong figure into the review. The lesson works on campaign data.
  1. 110 PivotTables with Copilot Generate and verify marketing pivots in Excel 6 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 1 of 10 lessons · 8 min Budget and actual summed side by side, utilisation and percent variance calculated under the pivot, copies for month, department and category, and a grid of departments against months that reads like a heat map. The pivots read a pasted copy of the model's values.
  1. 120 PivotTables for budget vs actual The FinanceGuard pivot workspace 8 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.

Are PivotTables the fastest way for a production manager to summarise a month of shift records?

Yes: a PivotTable totals thousands of shift records by line, shift, product and month in the time it takes to drag a few fields, and The Complete Excel Course with AI Integration from Coding Liquids teaches it on SalesPlusPerformance, an industry-standard project designed after talking with people from many different industries. You clean a raw file first (Lesson 58), build the PivotTable from a table (Lesson 59), arrange its fields (Lesson 60), group the dates (Lesson 61), add slicers and PivotCharts, and refresh it when new rows arrive (Lesson 65). The projects then show where pivots go next: a sheet of them behind a dashboard, plan against actual, and one built by Copilot from a prompt. Together the 14 lessons on this page come to 57 minutes, on order-level sales data whose every move carries straight over to a log of shifts.

Which PivotTable layouts answer what a production meeting asks?

Four layouts cover most of it, and The Complete Excel Course with AI Integration teaches the field moves behind each one. Output by line and shift: line in Rows with shift nested beneath it, dates across Columns, units in Values. Scrap hotspots: product and defect reason in Rows, line in Columns, scrap quantity in Values. Downtime: machine and stoppage code in Rows, months in Columns, time lost in Values. Open orders: part in Rows, due date grouped by month in Columns, open quantity in Values. Lesson 60 places fields in Rows, Columns and Values and nests one field under another, region over state in the lesson, and Lesson 61 groups dates by quarter and month. The challenge at Lesson 66 asks for three reports of the same shapes, a total by one field, two fields together and a monthly trend, before it shows the answers.

A line I know is one line comes out as two rows of the PivotTable: what causes it?

Because the text behind it differs by a stray space or a second spelling, and The Complete Excel Course with AI Integration gives that problem a lesson of its own before any PivotTable is built. In Lesson 58 the raw file carries a trailing space after a state's name, city names to capitalise and an empty row; the lesson fixes the text with Find and Replace, then TRIM and PROPER in a helper column pasted back as values, so the clean text stays without the formulas. Messy text of that kind makes one entry appear twice in a PivotTable, and on a shift log it splits Line 3 from Line 3 with a space after it, or Changeover from Change over. The empty row matters too: it can make a PivotTable think the records end early. Capitals alone do no harm, since a PivotTable reads them as one value. Drop-down lists for line and reason (Lesson 45) stop the problem at entry.

Our system adds a day of records every morning: how does the PivotTable keep up?

It reads from an Excel table, and The Complete Excel Course with AI Integration shows why that one choice keeps a daily report current. Lesson 58 ends by turning the cleaned records into a table, and Lesson 65 adds a row beneath it: the row joins the table by itself, the PivotTable stays as it was until it is refreshed, and Refresh All then brings every PivotTable in the workbook up to date at once. On a plant file that means pasting yesterday's records under the log each morning and pressing one button, with no PivotTable rebuilt and no range retyped. Without the table, the lesson warns, the PivotTables would have to be redone. When the records arrive as a new file each day rather than as rows, SalesFusion's From Folder query (Lesson 166) stacks every file in a folder into one table that the same Refresh All updates.

Can a PivotTable show average cycle time as well as total output?

Yes: the summary a PivotTable shows for each field is chosen in Value Field Settings, and The Complete Excel Course with AI Integration teaches it in Lesson 60. Sum is the default, which suits units produced and time lost; the lesson switches a field to Minimum to show how the calculation changes, and Average sits in the same list, which is what cycle time needs. Drag the cycle time field into Values beside output, set it to Average, and one PivotTable shows each line's total units and typical cycle time together, nested by shift or product as you choose. Count, Max and Min in that list answer other questions: how many runs a product had, and its slowest and fastest cycle. Lesson 64 then sets each value's number format, so cycle times and totals read the way your plant writes them.

Can I see scrap by product and defect reason, with the lines across the top?

Yes: product and defect reason go in Rows, line in Columns and scrap quantity in Values, and The Complete Excel Course with AI Integration teaches each of those moves. Lesson 60 nests one field under another in Rows and adds a field across Columns, so every product opens into its defect reasons and every line gets a column of its own, with grand totals along both edges. A scrap rate needs scrap divided by output, and the FinanceGuard pivot workspace (Lesson 120) shows the method: ratios worked out under the PivotTable from its totals, not typed into it. Lesson 64 switches the layout to Outline Form, which suits nested rows on paper, and adds subtotals where you want them. Where a ratio has to live inside the PivotTable itself, SalesFusion teaches DAX measures such as margin percent (Lesson 170), which need Excel for Windows.

Can a PivotTable follow downtime month by month and open up the days of a bad month?

Yes: drop the date into Rows and Excel groups it by itself, and The Complete Excel Course with AI Integration teaches what to do next in Lesson 61. The dates fold into years, quarters and months, and the expand buttons drill from a year down to quarters, months and single days, so a month with heavy downtime opens straight into the days that caused it. Removing a level switches the view: take quarters away for a plain monthly trend, or go down to days for the week of a breakdown. Put machine or stoppage cause in Rows above the dates and each gets its own month-by-month history. Lesson 63 turns the monthly view into a line PivotChart that the meeting reads at a glance. If your export already carries a week column, it works like the ready-made month and quarter columns of the course's dataset (Lesson 57).

Can supervisors filter the PivotTable by line or shift in the stand-up without breaking anything?

Yes: slicers filter a PivotTable at a click and leave the records untouched, and The Complete Excel Course with AI Integration teaches them in Lesson 62. A supervisor taps a line, a shift or a name and the PivotTable shows only that, then clears it back to everything; nothing in the log changes, so there is nothing to break. A PivotChart built from the same PivotTable follows the slicer too (Lesson 63), and the lesson checks that chart, PivotTable and records agree. One point the lessons stress: new records reach the PivotTable only when it is refreshed, so press Refresh All before the meeting starts (Lesson 65). To make one slicer drive every PivotTable on a dashboard, MarketPulse connects them with Report Connections (Lesson 113), a step that belongs to the dashboard rather than to this page.

Do I need a lookup or a PivotTable for the shift report?

Both, because they do different jobs, and The Complete Excel Course with AI Integration teaches each. A lookup works row by row: it brings one value onto each record, such as the standard rate or the planned quantity for that product, by matching a code (Lesson 69). A PivotTable works on the whole set: it adds those rows up by line, shift, product or month (Lesson 60). So a shift report usually runs a lookup first, to put the standard beside each run, and a PivotTable second, to total output, standard hours and scrap by line. A simple test decides which you need: one figure per record means a lookup, one figure per group means a PivotTable. The course's order data shows the second half plainly, every order a row of figures and the PivotTables summing them by region, category and month.

Can one PivotTable set plan against output by line?

Yes: put plan and output in the same table and one PivotTable sets them side by side, and The Complete Excel Course with AI Integration shows both halves of the method. Lesson 61 places two measures in Values at once, net sales and total cost by category in the lesson, so planned and actual units by line land in neighbouring columns. FinanceGuard's pivot workspace (Lesson 120) is the full version: budget and actual summed side by side and by month, variance views by department and category, percent variance and utilisation worked out under the totals, and a grid of departments against months. On a plant file, plan takes the budget's place and output the actual's, and the layout carries over whole. If the plan lives on a separate sheet, a lookup brings each record's planned quantity onto the log first (Lesson 69), and the PivotTable does the rest.

Can one sheet hold the output, scrap and downtime PivotTables for a whole report?

Yes, and The Complete Excel Course with AI Integration builds exactly that kind of sheet in MarketPulse. In Lesson 108 the first PivotTable comes from the table, and each one after it starts as a copy placed beside the last, so the source is chosen once, before it receives its own fields and a label: six in all, from an overall summary to a monthly trend, with a coloured column between neighbours to keep the sheet readable. For a production report that means output, scrap, downtime and open orders on one back-end sheet, with charts and headline figures on another, the split Lesson 63 recommends: the data engine on one sheet, the visuals on the next. Lesson 64 finishes each PivotTable with a layout, banded rows, a style and number formats, so the back end reads as clearly as the front.

If Copilot can build the downtime PivotTable from a sentence, why learn to build it by hand?

Because Copilot builds PivotTables rather than replacing them, and its draft is only as good as your check of it: The Complete Excel Course with AI Integration shows both sides. In Lesson 92 a single prompt returns a PivotTable of revenue by region and month, and a precise follow-up sorts it, while a vaguer request returns only instructions. In MarketPulse (Lesson 110), one prompt asking for three PivotTables brings back one, so each is requested separately and checked against totals built by hand. For a monthly production review that is the working pattern: let Copilot draft the downtime-by-cause pivot, then check its fields and totals against one you could build yourself. Trying it needs Copilot in your Microsoft 365, while every PivotTable lesson outside the AI ones runs in Excel alone.

Our shift log will reach tens of thousands of rows a year: will a PivotTable cope?

Comfortably, for a single plant's log, and The Complete Excel Course with AI Integration shows the next step for the day it outgrows one sheet. An Excel worksheet holds over a million rows, as Lesson 5 shows by jumping to the last cell, and a PivotTable summarises its table whatever the length; the course's own dataset runs past a thousand orders. A year of shift records at a few hundred rows a day fits several times over. When the records come from several files or several sites, SalesFusion takes over: Power Query combines a folder of files into one table (Lesson 166), and PivotTables read related tables from the Data Model (Lesson 171), whose Power Pivot lessons need Excel for Windows. The PivotTable skills on this page carry over unchanged to that larger setting.

I have never built a PivotTable: do I need advanced formulas first?

You can start without them: a PivotTable is built by dragging fields, not by writing formulas, and The Complete Excel Course with AI Integration opens the topic with what a PivotTable is for (Lesson 57). The only formulas on this page are TRIM and PROPER in the clean-up lesson, each short and explained as it is typed (Lesson 58). Everything else is the Insert menu, the field list, Value Field Settings and the Design tab. If Excel itself is new, begin at Lesson 1, where the window, workbooks and a first spreadsheet come first, and the course reaches PivotTables after the everyday formulas. Practice files come with the project, a raw starter, a cleaned starter and the finished workbook, so every step can be compared. Finish the whole course and its Certificate of Completion arrives by email with a link an employer can verify.

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.