The Complete Excel Course with AI Integration

Pivot tables for procurement officers

Spend questions arrive without warning: which supplier took the most last quarter, which category keeps growing, how one department stands against its budget. A PivotTable answers each from the purchase order export in seconds. The Complete Excel Course with AI Integration teaches PivotTables on industry-standard projects, and this page picks out what a buyer uses: clean source data, rows and values, date grouping, slicers, refresh, a budget workspace and a data model.

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 a purchase order export into an Excel table a PivotTable can trust: one spelling per supplier, no stray spaces and no blank rows breaking it up.
  • Answer spend questions by placing supplier, category and department in rows and columns and spend in values, with suppliers nested under their categories to drill in and out.
  • Switch a value from the default sum in Value Field Settings, so one PivotTable gives spend, a count of orders and a typical lead time side by side.
  • Group order dates into years, quarters and months to see seasonal buying, and draw the monthly trend as a line PivotChart.
  • Filter spend by region, category or department at a click with slicers, and connect one slicer to every PivotTable on a sheet through Report Connections.
  • Lay out a spend report for management with subtotals, report layouts, styles and large figures shown in millions, then refresh it when next month's lines arrive.
  • Set spend against budget by month, department and category in a PivotTable workspace, with variance percentage and budget use worked out beside the totals.
  • Get a spend PivotTable from Copilot with a single precise prompt, and test its totals against your own before any figure goes out.

Projects

What you will build.

The course has 14 industry-standard projects. These five matter most here.

  • Project 05

    SalesPlusPerformance

    A sales question answered in seconds, straight from the order data.

    Its order-level table has the shape of a purchase export: an ID per order, a date, a region, a category, a product, units and amounts. Every step of a spend analysis is practised on it, from the clean-up to slicers and Refresh All, so the same moves answer supplier and category questions on your own lines.

  • Project 08

    MarketPulse

    One screen that shows which campaigns earn back their spend.

    A back end of PivotTables on one sheet, each answering a single question and labelled so the sheet stays readable, built by hand and again with Copilot, then tied to a timeline and slicers. A procurement version puts suppliers where its campaigns stand and categories where its channels stand.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Its PivotTable workspace sets budget beside actual by month, department and category, works out variance percentage and budget use next to the totals, and lays departments against months in one matrix: the view a purchasing team brings to each budget review.

  • Project 12

    SalesFusion

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

    PivotTables drawn from a data model in which an order table is related to product and region lists, so one PivotTable reads all three without a lookup column: the route for order lines, a supplier master and an item catalogue together.

  • Project 14

    Agentic AI in Excel

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

    Copilot turns one precise prompt into a PivotTable of revenue by region and month, sorted highest first, while a vague request returns only advice: the prompting habits that get a spend PivotTable built right on the first try.

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 19 of them, 1 h 33 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 purchase lines already sit in an Excel table, or take Lesson 19 first to learn tables, since a PivotTable on a table picks up new rows. New to Excel? Lesson 1 builds the basics first. The later runs sit inside projects: the Copilot PivotTables use the AI section's order table, MarketPulse's back end reads the campaign data prepared from Lesson 105, and the data model PivotTables use the SalesFusion queries built from Lesson 153, so begin a project at its start if you have not built it.

19 of 186 lessons · 1 h 33 min

07 PivotTables and PivotCharts: data analysis made easy 10 lessons · 33 min The whole PivotTable section, on SalesPlusPerformance's order data: the dataset read column by column, messy text cleaned with Find and Replace, TRIM and PROPER, a first PivotTable, fields placed in rows, columns and values, dates grouped, slicers, PivotCharts, layouts and styles, Refresh All and a Ninja Challenge. Sales orders stand where your purchase lines will; every click carries over.
  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 Copilot builds a PivotTable of revenue by region and month from one prompt and sorts it highest first on a precise follow-up, while a vague request returns instructions instead of a result.
  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 Several PivotTables on one sheet, each copied from the last and rebuilt for its own question, then labelled: how a spend workbook answers by supplier, by category and by month at once without selecting the raw data again.
  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 Copilot asked for three PivotTables in one prompt returns one; each request sent alone, its totals are checked against the PivotTables built by hand, the habit that keeps an AI-built spend figure honest.
  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 The FinanceGuard PivotTable workspace: a values copy of the budget model as its source, totals with variance percentage and budget use beside them, views by month, department and category, and a matrix of departments by months.
  1. 120 PivotTables for budget vs actual The FinanceGuard pivot workspace 8 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 1 of 10 lessons · 4 min Month, department and category slicers inserted from a PivotChart and connected through Report Connections to every PivotTable, so one click moves every figure on the sheet.
  1. 123 Slicers and PivotCharts in Excel Interactive FinanceGuard budget dashboard 4 min
15 SalesFusion: advanced data tools and a Power Query modelling system 4 of 21 lessons · 31 min PivotTables on a data model: sales, product and region tables related in Power Pivot's Diagram View, DAX measures for total sales, margin and percent of total, a report laid out by category, then PivotTables by region, month and top products under shared slicers. Power Pivot needs 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
  4. 172 Interactive Excel dashboard Data model PivotTables, slicers and styling 10 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.

Can a pivot table show a procurement officer where the money goes, by supplier, category and month, from one PO export?

Yes, in seconds, and The Complete Excel Course with AI Integration from Coding Liquids teaches it on industry-standard projects designed after talking with people from many different industries. Its PivotTable section works on SalesPlusPerformance, an order-level table with an ID per order, a date, a region, a category, a product, units and amounts, the same shape as a purchase order export. You drag supplier into rows, month into columns and spend into values (Lesson 60), let Excel group the order dates (Lesson 61) and narrow the view with slicers (Lesson 62). The lessons use sales orders; your supplier and category columns take the places of their region and product columns. This page lines up 19 lessons, 1 hour 33 minutes in all, from preparing the export to a budget workspace and PivotTables built on a data model, each with a practice file and a finished file to compare.

Which spend questions can a PivotTable answer before a supplier negotiation?

The ones a negotiation turns on, and The Complete Excel Course with AI Integration teaches the moves behind each. How much has gone to this supplier, in total and by category? Supplier in rows, category in columns, spend in values (Lesson 60). Is the spend rising or falling? Order dates grouped into quarters and months (Lesson 61), with a line PivotChart of the monthly trend (Lesson 63). Who are our largest suppliers? Copilot sorts a PivotTable highest first from a precise prompt (Lesson 92), and the SalesFusion report adds a top products view on a data model (Lesson 172). How does one region or site compare? A slicer narrows every figure to it at a click (Lesson 62). Walk in with those answers and the conversation moves from what the supplier says you bought to what your own data shows, which is the strongest position a buyer can hold.

What has to be fixed in a PO export before a PivotTable can be trusted with it?

As one clean Excel table, and The Complete Excel Course with AI Integration gives that preparation a lesson of its own. In Lesson 58, messy text is the enemy: a stray space after a name or a second spelling of it makes one region show up twice in the PivotTable, so the lesson fixes spellings with Find and Replace, strips spaces with TRIM in a helper column, puts names right with PROPER, pastes the clean values back and deletes an empty row that would make the PivotTable think the data ends early. The range then becomes an Excel table, so new rows join it. On a purchase export the same faults split a supplier into two lines and understate both. Where some lines are billed in foreign money, convert them first with an XLOOKUP against a table of exchange rates (Lesson 69, outside this path), so every figure the PivotTable adds is on one basis.

Can a PivotTable count purchase orders and average lead times as well as totalling spend?

Yes: one setting changes what a value field calculates, and The Complete Excel Course with AI Integration teaches it early. In Lesson 60, Value Field Settings switches a field from its default sum to another summary and back, so the same PivotTable can carry spend summed, orders counted and lead times averaged in neighbouring columns, each with its own heading. Put a status field in rows, such as open, received or cancelled, and you see how many orders sit at each stage and what they are worth. Lesson 64 then formats the values for reading, as percentages or in millions with a custom format, and sets subtotals and grand totals on or off. The lessons summarise net sales and costs by region and category; purchase order numbers, spend and lead-time columns sit in the same places of the field list, and the PivotTable does not care which business the rows came from.

How do I see spend by month or quarter to spot seasonal buying?

Put the order date in rows and let Excel group it, the step The Complete Excel Course with AI Integration shows in Lesson 61. The dates fall into years and quarters by themselves, the expand buttons drill from years to quarters, months and days, and removing the Years and Quarters fields leaves a plain monthly view. Lesson 63 turns that monthly view into a line PivotChart, titled and labelled, because a line shows change over time where columns compare categories. For a buyer, that chart is the first evidence of seasonality: the months when a category's spend climbs are the months to place forward orders or agree volume terms before demand peaks. Add category as a slicer and each category's own pattern appears at a click. The lessons chart monthly net sales on order data; monthly spend on purchase lines draws the same line from the same steps.

Can I drill from a category down to the suppliers inside it?

Yes: stack the two fields in rows and the PivotTable nests one inside the other, a move The Complete Excel Course with AI Integration teaches with location data. In Lesson 60, state is dragged under region in rows, so states group beneath their region and each region collapses or expands with a click, and Lesson 61 adds city under region the same way and expands one region to show its cities. Put category above supplier and you have the procurement version: every category's total at a glance, opened to show which suppliers make it up when a figure looks wrong. Add sales channel or, in your case, department to columns and the grid splits each supplier's spend across the buying teams. Lesson 64 then chooses how the nested report reads, in compact, outline or tabular form, with subtotals at the top, at the bottom or not at all.

Can slicers let a budget holder filter spend by department or category without touching the data?

Yes, and that is what they are for: The Complete Excel Course with AI Integration introduces them in Lesson 62, where state, city and region become clickable buttons that narrow a PivotTable to one choice while the source data stays untouched. FinanceGuard takes slicers further (Lesson 123): month, department and category slicers inserted from a PivotChart are connected through Report Connections to every PivotTable on the sheet, so one click moves every figure together, and set in two columns so every option stays visible. The lesson's warning applies to any spend report you share: a new slicer is tied only to the chart it came from until its connections are set. Hand a budget holder that sheet and they answer their own questions about their department's spend, without a request to you and without a chance to change a single line of the export.

Can a PivotTable track spend against each category's budget?

Yes, and FinanceGuard in The Complete Excel Course with AI Integration gives that workspace a whole lesson. Lesson 120 begins by pasting the budget model onto a fresh sheet as plain values and making it a table, since formulas are fragile underneath a PivotTable. The first PivotTable sums budget, actual and variance, and two figures are worked out beneath it: variance percentage, and budget utilisation, the share of the budget already used. Copies follow for each month, each department and each category, and a final one crosses departments with months into a grid of variance percentages that reads like a heat map. Categories and departments are exactly how purchasing budgets are held. Because the PivotTables read a values copy, a revised model reaches them only when that copy is pasted again and refreshed, so make it a step of the monthly close and the whole budget review sits on one sheet.

Next month's purchase lines go under the old ones: will the PivotTable pick them up?

Yes, after a refresh, and The Complete Excel Course with AI Integration shows both halves of that. In Lesson 65, a new row pasted under an Excel table joins the table by itself, but the PivotTables built on it stay exactly as they were until you refresh: right-click a PivotTable and choose Refresh, or use Refresh All on the PivotTable Analyze tab to bring every PivotTable in the workbook up to date at once. The lesson's point is worth taping to a monitor: a PivotTable left unrefreshed tells yesterday's story with full confidence. It also shows why the source must be a table, since a plain range would leave the new rows out and the PivotTables would have to be rebuilt. Paste the month's export under the table, press Refresh All, and the spend report is current before your coffee cools.

How do I show each supplier's share of total spend?

The Complete Excel Course with AI Integration teaches two ways, one with a formula and one with a measure. Beside an ordinary PivotTable, a formula divides each supplier's total by the grand total, with the grand total cell locked so the formula fills down (Lesson 10, outside this path), the same move MarketPulse uses to work its rates out of PivotTable totals. On a data model, SalesFusion writes percent of total once as a DAX measure (Lesson 170), so every supplier's share recalculates whenever a slicer changes the view; that route needs Excel for Windows, as Power Pivot does. Show Values As is not taught as a lesson of its own, and the two routes above cover the same need. For a buyer, the share matters more than the sum: a supplier that holds a large share of a category is both your best lever and your largest risk.

Can one PivotTable read order lines, the supplier list and the item catalogue together?

It can once the three are related in a data model, which SalesFusion in The Complete Excel Course with AI Integration builds from scratch. The order lines become the fact table and each list a lookup table, joined in Power Pivot's Diagram View by a shared code, one supplier to many order lines (Lesson 169). From then on no helper column of XLOOKUPs is needed: a PivotTable inserted from the model can put catalogue categories in rows and supplier names in a slicer while it sums the order lines, with DAX measures such as percent of total doing the arithmetic (Lesson 170). The lessons relate sales to product and region tables, then format the report and build PivotTables by region, month and top products under shared slicers (Lesson 171, Lesson 172). Power Pivot runs only in Excel for Windows, while every single-table PivotTable on this page also works on a Mac.

Can ChatGPT or Copilot build PivotTables from our purchase data?

Copilot can, and The Complete Excel Course with AI Integration shows how to make its PivotTables trustworthy. In Lesson 92, one precise prompt naming the figure, its breakdown, the source table and where the result goes produces a PivotTable of revenue by region and month, and a precise follow-up sorts it. In Lesson 110, a prompt asking for three PivotTables returns only one, so each request is sent on its own and every result is checked against the PivotTables built by hand, total by total. ChatGPT works on a copy of the file instead: in Lesson 93, outside this path, the copy it returns opens without its PivotTable until a second request restores it. For spend figures that reach a budget holder, the lesson is plain: let AI build the draft and keep the check in your own hands. To follow along hands-on, Copilot must be included in your Microsoft 365.

Spend analytics platforms exist: are PivotTables still worth a buyer's time?

Yes, because the export still ends up in Excel, and The Complete Excel Course with AI Integration makes the PivotTable your fastest way through it. A platform answers the questions it was configured for; a PivotTable answers the one your director asked a moment ago, from whatever file you have, and takes a minute to rearrange when the next question arrives. Every lesson of the PivotTable section is short, and the skills carry straight into Copilot's PivotTables (Lesson 92) and into PivotTables on a Power Pivot data model, which handle related tables much as larger reporting tools do (Lesson 169, Windows only). Power BI is not taught in the course, though the data model and DAX measures you build here are the same ideas it rests on. Teams that buy spend tools still lean on PivotTables, because nothing else turns an ad hoc question into an answer so quickly.

How quickly could I use PivotTables on our own purchase data?

The same day you start, and The Complete Excel Course with AI Integration keeps the PivotTable lessons short enough to fit around a working week. A first PivotTable appears in Lesson 59, fields are arranged by Lesson 60, and the whole section runs from cleaning the export to slicers, PivotCharts and Refresh All, closing with a Ninja Challenge of sales by region, category and monthly trend that you solve yourself (Lesson 66). Rebuild each step on your own export as you go and the first spend report is done before the section ends. The complete path on this page takes 1 hour 33 minutes, with the budget workspace and the data model PivotTables after the core. SalesPlusPerformance comes with a raw starter, a cleaned starter and a finished file, so every result can be checked. Lifetime access means a PivotTable you forget how to build is one lesson away whenever a question lands.

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.