The Complete Excel Course with AI Integration

Pivot tables for merchandise planners

Monday's trade review asks the same questions in new combinations: which categories moved, which stores lag, how this month compares. The Complete Excel Course with AI Integration teaches PivotTables on order-level sales data inside industry-standard projects, and this page picks the lessons a planner needs: clean source data, rows, columns and values, date grouping, slicers, PivotCharts, report design, Refresh All, ratios from pivot totals and plan against actual.

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:

  • Build the trading review's PivotTables from a clean sales table: category against channel or store, with units, sales and cost as values.
  • Nest department, class and style in Rows so the review drills from the top of the hierarchy down to a single style.
  • Group order dates into months and quarters, and switch the review between monthly and quarterly views by removing a level.
  • Work a category's margin rate and sell-through from the pivot's own totals with IFERROR, rather than adding up line percentages.
  • Clear the stray spaces and second spellings that make one store appear twice, before the first PivotTable is built.
  • Filter every PivotTable in the review by store, channel or category with slicers wired through Report Connections.
  • Bring a new week's rows into every pivot with Refresh All, and set plan against actual by category and month in a pivot workspace.
  • Ask Copilot for a PivotTable from a prompt and check its totals against a hand-built one before it reaches the meeting.

Projects

What you will build.

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

  • Project 05

    SalesPlusPerformance

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

    An order-level sales report in the course, it hands a planner the layouts of a category review: category against channel with net sales and cost side by side, regions drilling down to cities, monthly trends from grouped dates, and a refresh that brings in the new rows.

  • Project 08

    MarketPulse

    One screen that shows which campaigns earn back their spend.

    A campaign dashboard in the course, its Pivots sheet shows a planner how a report's back end is laid out: labelled PivotTables built by copying one beside the next, ratios worked from their totals with IFERROR, and slicers wired to every one of them.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built as a finance team's budget vs actual report, its pivot workspace gives a planner plan against actual in five views at once: totals, month, department, category and a department-by-month grid of percent variance, read from a pasted copy of the model's values.

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 16 of them, 1 h 6 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 you keep sales data in a table and total it with formulas: the PivotTable lessons open there on SalesPlus's order data and run in the order a review is built. New to Excel? The window and the first formulas come first at Lesson 1, with tables from Lesson 19, before this path begins. Already building PivotTables? Skip ahead to Lesson 62 for slicers and PivotCharts, then Lesson 108 for a back end of pivots with the ratios worked under them.

16 of 186 lessons · 1 h 6 min

07 PivotTables and PivotCharts: data analysis made easy 10 lessons · 33 min The PivotTable section, on SalesPlus order data: what a PivotTable answers, the clean-up that stops one value appearing twice, a first PivotTable from a table, rows, columns and values with Value Field Settings, category summaries and dates grouped into years, quarters and months, slicers, PivotCharts, report layouts and number formats, Refresh All, and a challenge of sales by region, category and month. Order data is what a planner reads every week, so each layout carries straight over to the review.
  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 PivotTable built by Copilot from a plain-language prompt, for the quick question raised in a meeting, with the result read before it is trusted. Trying it yourself takes a Microsoft 365 that includes Copilot.
  1. 92 PivotTables with Copilot Build an Excel PivotTable from a prompt 5 min
11 MarketPulse campaign intelligence dashboard 3 of 10 lessons · 16 min MarketPulse's pivot back end: PivotTables copied one beside the next on a Pivots sheet, ratios worked under the summary pivot from its totals with IFERROR, and pivots generated by Copilot, then checked against the hand-built ones. The data is campaigns; the method suits a back end of category, store and week pivots just as well.
  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
  3. 110 PivotTables with Copilot Generate and verify marketing pivots in Excel 6 min
11 MarketPulse campaign intelligence dashboard 1 of 10 lessons · 4 min Slicers connected through Report Connections to every PivotTable on the sheet, so one click on a channel refilters the lot, with Ctrl+click for several items and Clear Filter to reset the view.
  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: the budget vs actual model pasted as values into a table, then five PivotTables on one sheet, among them a department-by-month grid of percent variance. The pivots read that pasted copy, so a new month's figures go in by pasting the model's values again.
  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.

Pivot tables for merchandise planners: which layouts should I master for the weekly trade review?

The Complete Excel Course with AI Integration from Coding Liquids teaches the layouts a trade review stands on, using order-level sales data, and this page gathers them as 16 lessons covering 1 hour 6 minutes. Category down the side with units, sales and cost as values, and a store or channel field across the top (Lesson 60); a hierarchy nested in Rows that drills from region to city, the same shape a department, class and style hierarchy takes (Lesson 61); dates grouped into months and quarters for the trend; slicers that refilter everything at a click (Lesson 62); and PivotCharts that move with them (Lesson 63). SalesPlusPerformance, MarketPulse and FinanceGuard, industry-standard projects designed after talking with people from many different industries, each add a layer: the review itself, a back end of pivots with ratios worked under them, and plan against actual. The lessons work on sales orders, the same kind of rows a planning system exports.

Department, class and style down the side, weeks across the top: can a PivotTable follow our product hierarchy?

Yes: stacking fields in Rows builds exactly that hierarchy, and The Complete Excel Course with AI Integration shows it working. In Lesson 60, Region goes into Rows with State beneath it, so each state groups under its region and the regions collapse or expand with a click, while Sales Channel goes into Columns to split every figure across the top. Lesson 61 adds City under the regions and drills into one of them. Put Department, Class and Style into Rows in that order and the review opens at department level, with any class opened down to its styles while the meeting watches. A week column from your system goes into Columns in the same way the channel does. Value Field Settings decides how each number is worked out, Sum by default, and the lesson shows how to change it, so the review always says what its figures are.

Our sales file carries an order date, not a month: can the PivotTable group it into months and quarters for the trend?

Yes, by itself, and The Complete Excel Course with AI Integration shows the grouping and how to change it. In Lesson 61, Order Date goes into Rows and Excel groups it into years, quarters and months at once; the expand buttons drill down to single days, and removing the Years field, then Quarters, leaves a clean month-by-month view. Put a level back and the review is quarterly again. Lesson 63 then trims a date pivot to months and draws it as a line PivotChart titled for monthly trends, the shape of a season-to-date review. Retail weeks follow a calendar of their own: where your system exports a week number or a week-ending column, place that field in Rows or Columns as it stands, and the pivot totals by it directly. A PivotTable needs room to grow as dates expand, and the lesson moves one pivot lower so it never runs into the next.

Will a PivotTable give me a category's true margin rate, rather than adding up the margin percentages of its lines?

Yes, by working the rate from totals, which The Complete Excel Course with AI Integration teaches in more than one way. Lesson 61 sets Net Sales and Total Cost side by side for every product category, so each category's sales and cost are already summed, and the margin rate is the difference over sales, worked from those totals. Lesson 109 shows where such a formula lives: under the summary pivot, dividing one pivot total by another and wrapped in IFERROR so an empty category shows zero instead of an error. Linking to a pivot cell can produce a GETPIVOTDATA formula, and Lesson 112 shows the setting that gives a plain cell reference instead. Sell-through works the same way, units sold over units received, both summed by the pivot. In SalesFusion a DAX measure for margin percentage recalculates for every filter and slicer (Lesson 170); the Power Pivot lessons need Excel for Windows.

One of our stores shows up twice in the PivotTable: what causes that, and is the fix taught?

Yes, and The Complete Excel Course with AI Integration deals with it before the first PivotTable is even built. Messy text is the cause: a stray space after a name or a second spelling of it makes one store, region or category appear twice, and Lesson 58 cleans raw sales data of exactly that with Find and Replace, TRIM and PROPER. TRIM goes in a helper column to strip the hidden spaces, Find and Replace sets one spelling across the column, PROPER gives the city names tidy capitals so the report reads cleanly, and Paste Special values keeps the cleaned text while dropping the formulas. The lesson also deletes an empty row, since a blank row can make a PivotTable think the data ends early, then turns the range into a table. Capitals alone never split a PivotTable, which reads a name the same in any mix of cases, so the hunt is for spaces and spellings.

Will the PivotTables pick up this week's sales when I paste them under last week's rows?

Yes, with one click, and The Complete Excel Course with AI Integration shows why the click is needed. In Lesson 65, a new row pasted under the sales data joins the table by itself, because the data sits in an Excel table, yet the PivotTables on the next sheet still show the old totals. PivotTables never update on their own: a right-click and Refresh updates one, and Refresh All on the PivotTable Analyze tab updates every pivot in the workbook at once. Without a table, the source range would stop at last week's final row and each pivot would need its range changed by hand. Lesson 63 adds the check worth making every Monday: after the refresh, filter one store and confirm that the chart, the pivot and the data agree. A stale pivot tells last week's story under this week's heading.

Can one click filter the whole trade review by store, channel or category?

Yes: slicers do it, and The Complete Excel Course with AI Integration wires them to every pivot in the report. Lesson 62 brings in slicers, clickable buttons that filter a PivotTable at a touch: one state, then one region, then back to all, with the data underneath untouched. One missed connection leaves a table unchanged while the rest move, so Lesson 113 uses Report Connections to tick every PivotTable on the sheet; after that, one click on a channel refilters every table and chart together. Ctrl+click picks several items at once, the way a planner sets two stores or a group of categories side by side, and the Clear Filter icon resets the view. Store, channel, category, season or buyer: any column of the sales table can become a slicer, so the meeting asks its questions and the review answers them without a second report being prepared.

Can a PivotTable set this month's actual sales against the plan for each category?

Yes, and the FinanceGuard project in The Complete Excel Course with AI Integration builds a whole sheet of pivots for it. Lesson 120 pastes the budget vs actual model into a fresh table as values, then builds five PivotTables on one sheet: total budget against actual and variance, budget and actual by month, percent variance by department, variance by category, and a department-by-month grid of percent variance that reads like a heat map. Read department as category and budget as plan, and that grid shows at a glance which categories ran away from plan in which months. The pivots read the pasted copy, so a new month goes in by pasting the model's values again and refreshing. The model behind it, SUMIFS beside a list of keys with variance and percent variance, comes from the lessons before (Lesson 117, Lesson 118), and slicers and PivotCharts turn the sheet into a dashboard later in the project.

Our planning system has its own reports: what does a PivotTable add for the weekly trading review?

Speed on the question nobody planned for, and The Complete Excel Course with AI Integration builds that skill on order-level sales data. A system report answers the questions it was set up to answer; the trade meeting asks new ones every week, such as which category leads in one region, or how one channel did for one class last month. Lesson 57 frames the PivotTable as the tool that answers questions like these at once, and the lessons after it show the moves: drag a field, nest a level, group the dates, add a slicer. A PivotTable also sits beside your own columns, a grade from a formula or a flag added this morning, which a fixed system report never sees, and it runs inside Excel, where the rest of your planning sheet already lives. Lesson 66 sets review-style tasks to prove the skill: sales by region, region with category, and a monthly trend.

Could Copilot build the category-by-month PivotTable from a prompt before Monday's meeting, and what would I still check?

Yes, and The Complete Excel Course with AI Integration teaches the prompt and the check together. Lesson 92 has Copilot build a PivotTable from a plain-language request on a prepared table. Lesson 110 then makes the point every planner should hear before relying on it: a single prompt asking for three pivots returned only one, and one request per prompt brought back all three; each Copilot pivot was then held against a hand-built one with known totals before it was kept. Lesson 99 adds a checklist for any AI result: the right data selected, the time frame lined up across the dates, every chart wired to its source. So the prompt saves the building time and your own PivotTable skill does the checking, which is why the course teaches both. Running Copilot yourself takes a Microsoft 365 that includes it; watching the lessons takes nothing extra.

What should the pivot report look like when it goes to the buying team, and does the course cover that finish?

Yes: Lesson 64 in The Complete Excel Course with AI Integration is about exactly that finish, and it makes the point that layout decides what a reader sees. The Design tab places subtotals at the top, the bottom or nowhere, switches grand totals on for a full roll-up and off for a comparison, where they distract, and moves between Compact and Outline Form, the second giving each field its own column. Banded rows and a PivotTable style make a long category list easy to follow, and a custom number format shows large figures in millions with a short suffix, so nobody counts commas in a meeting. Lesson 114 applies the same idea in thousands. A warning from that lesson deserves a place on every planner's desk: a field dropped in the wrong box confidently summarises the wrong thing, so read the layout before the report leaves your hands.

Could the Monday trade review run on my own PivotTables by next week?

Yes, because the core of it is short. The Complete Excel Course with AI Integration teaches the PivotTable section from Lesson 57 to Lesson 66, a compact run you can finish in an evening or two, and the review's backbone stands by its end: clean source data, the first pivot, rows, columns and values, grouped dates, slicers, PivotCharts, design and Refresh All. The practice files come with it, a raw starter, a cleaned starter and the complete report, so a step that goes wrong can be compared with a working version. The Ninja Challenge then asks for sales by region, by region with category, and a monthly trend, with a solution file to check against. The rest of the path, 1 hour 6 minutes in all, adds the pivot back end, Copilot and plan against actual, and it can follow once the basic review is already running.

I already total everything with SUMIFS: is it worth learning PivotTables for the review?

Yes: SUMIFS and a PivotTable answer different kinds of question, and The Complete Excel Course with AI Integration puts each where it fits. SUMIFS (Lesson 37) gives a fixed answer in a fixed cell, ideal for a planning sheet whose layout must stay put week after week. A PivotTable gives a layout that changes with the question: drag a field from Rows to Columns and the whole report turns, add a slicer and it filters, remove a date level and the trend switches from months to quarters, none of it rewritten. For the meeting, where the next question is never known in advance, that flexibility wins; for the open-to-buy sheet, SUMIFS keeps its place. MarketPulse uses the two together, pivots as the engine and formulas worked from their totals (Lesson 109), the pattern most planning workbooks settle into.

Our stores each send their own sales file: can one PivotTable report on all of them?

Yes: stack the files into one table first, and The Complete Excel Course with AI Integration teaches the stacking. A PivotTable reads a single source, so the work is getting every store's rows into it. Power Query does that from a folder in Lesson 166: every file in the folder is combined into one table, each row keeping the name of the file it arrived in, so you still see which store sent it, and a new file saved into the folder joins at the next refresh. One PivotTable on that table then reports every store, and Refresh All updates the query and the pivots together. Where the files are years of history rather than stores, Lesson 165 appends them instead. Copying each store's sheet into one by hand is the chore this replaces, along with its mistakes. For related tables of stores and products, the Power Pivot lessons build a data model, which needs Excel for Windows (Lesson 169).

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.