The Complete Excel Course with AI Integration

Pivot tables for mechanical & electrical engineers

A test campaign leaves thousands of rows behind it, and the review wants averages by condition, failures by cause and totals by assembly by Friday. The Complete Excel Course with AI Integration teaches mechanical and electrical engineers to answer each of them in a PivotTable on industry-standard projects, and this page picks out the lessons: preparing the log, fields and summary types, date grouping, slicers, PivotCharts, refresh, Copilot and the 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:

  • Prepare a test log or logger export for a PivotTable: stray spaces and second spellings cleaned out with TRIM, PROPER and Find and Replace, empty rows removed and the data made an Excel table.
  • Summarise readings by test condition, with conditions in Rows, channels in Columns and Value Field Settings switched from Sum to Average, Max or Min.
  • Roll a bill of materials or an equipment list up by part, assembly or supplier, with nested Rows that expand from an assembly to its parts and collapse back.
  • Count failures or commissioning faults by code with the commonest first, and group a dated log by month or quarter by dragging the date field into Rows.
  • Filter every summary by rig, product variant or site with slicers, and turn a pivot into a PivotChart that follows the filter and shows the trend at a glance.
  • Refresh every pivot in the workbook at once when the next shift's data arrives, and lay several labelled pivots out on one sheet as the back end of a monthly report.
  • Build a pivot from a prompt with Copilot and prove it against your own totals, and pivot a test log and a unit register together in a data model on Excel for Windows.

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 walks the whole route a test log takes to a report: raw rows cleaned, a table, fields dragged into place, dates grouped, slicers, PivotCharts on their own sheet, a styled layout and a refresh, ending in a challenge you solve before opening the solution file.

  • Project 08

    MarketPulse

    One screen that shows which campaigns earn back their spend.

    Built for marketers, its Pivots sheet of six labelled PivotTables is the model for a test report's back end: one pivot per question, each copied from the last and rebuilt in the field list, with Copilot's pivots checked against the ones made by hand.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built for finance teams, its pivot workspace adds the matrix view an engineer wants for faults by rig and month: a department by month grid of variance percentage beside total, month, department and category pivots, all reading a pasted table of values.

  • Project 12

    SalesFusion

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

    Built as a sales reporting system, it shows a pivot reading several related tables at once: a Power Pivot data model with relationships and DAX measures, then a formatted PivotTable report drawn from it, on Excel for Windows.

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 18 of them, 1 h 27 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 already write formulas and keep your logs in Excel: the PivotTable section runs from there in the order a report is built. Never made an Excel table? Take Lesson 19 first, since every pivot on this path reads one. New to Excel itself? Begin at Lesson 1. Already pivoting with ease? Go to Lesson 108 for the back end of labelled pivots, then the data model from Lesson 169, which needs Excel for Windows.

18 of 186 lessons · 1 h 27 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 1 of 9 lessons · 8 min Excel tables, the source every PivotTable on this path reads: a table grows to take in each new row, so the next shift's readings join the source by themselves and a refresh picks them up. The lesson builds one from an employee list; a logger export behaves the same way.
  1. 19 Excel tables Create and format a table, structured references and total row 8 min
07 PivotTables and PivotCharts: data analysis made easy 10 lessons · 33 min The PivotTable section from end to end on order-level sales data: what a PivotTable does, cleaning the source with TRIM, PROPER and Find and Replace, the first pivot, Rows, Columns, Values and Value Field Settings, grouping by date, slicers, PivotCharts, the Design tab and Refresh All, then a challenge by region, category and month. Read each order as a test record and each region as a rig, and the section becomes test reporting.
  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: the fast route to a first summary of a log, with the lesson's remedy when Copilot replies with instructions instead of acting.
  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 Six PivotTables on one Pivots sheet, each copied from the last and rebuilt for its own question: the back end a monthly test or maintenance report needs, one pivot for each view the review asks for.
  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's pivots set against the hand-built ones: three requests in one prompt return a single pivot, so each request is sent again alone and every figure is checked against known totals, the check that keeps an AI-made failure summary 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 pivot workspace: a model pasted as values into a table, then five pivots on one sheet, among them a matrix of variance percentage by department and month, the layout for faults or downtime by rig and month at a glance.
  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 A Power Pivot data model with relationships drawn in Diagram View, DAX measures for total sales, margin percent and percent of total, and a formatted PivotTable report drawn from the model: the way to pivot a test log and a unit register together without a lookup column. Power Pivot needs Excel for Windows, and these lessons are built on it.
  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 course teaches mechanical and electrical engineers to pivot test results by condition and failures by cause, instead of filtering the log by hand?

The Complete Excel Course with AI Integration from Coding Liquids teaches it in a PivotTable section of its own and in later projects that put pivots to work, every one of them industry standard and designed after talking with people from many different industries. The PivotTable lessons start from a raw table of rows, clean it and build the summaries a test or maintenance review asks for: totals and averages by category, counts, figures by month and by quarter, slicers that narrow everything to one region, and PivotCharts that redraw as you click. The rows are sales orders, and the mechanics transfer directly: a test condition takes the place of a product category, a rig or a site the place of a region. This page picks out the 18 lessons that carry a test log, a failure record or a bill of materials to a finished summary, 1 hour 27 minutes in all, Copilot's pivots and a data model on Excel for Windows included.

Can a PivotTable show the average, highest and lowest reading for each test condition?

Yes, through Value Field Settings, which Lesson 60 of The Complete Excel Course with AI Integration opens on its first pivot. A field dropped into Values is summed by default; the lesson switches that sum to Minimum, and the same list holds Average, Max and Count, so one pivot can show the mean, the peak and the floor of a reading side by side when the field goes into Values three times and each copy is set its own way. Rows take the test condition or operating mode and Columns take the channel or sensor, just as the lesson places regions in Rows and sales channels in Columns. The result is a grid of averages by condition and channel that would take a block of formulas to write and seconds to build, and it rebuilds the moment you drag in a different field.

Can a pivot table roll a bill of materials up into total quantities per part across every sub-assembly?

Yes, and it is one of the quickest wins the PivotTable lessons of The Complete Excel Course with AI Integration hand an engineer. Put the part number in Rows and the quantity in Values, and every occurrence of a part across every sub-assembly adds into one line; Lesson 61 builds exactly that kind of summary for product categories, with net sales and total cost side by side. Stack a second field under the first, as Lesson 60 stacks states under their regions, and each assembly expands to show its parts and collapses back to a single total. Add the supplier or the material in Columns and the same table shows where the quantities come from. Because the pivot reads the BOM rather than copying it, a revised BOM is one refresh away from a revised roll-up.

Can I count failures by code and see the worst offenders first, the way a Pareto analysis needs?

Yes: count them in a pivot, sort them largest first, then chart them, and The Complete Excel Course with AI Integration has a lesson for each step. Set a field in Values to Count in Value Field Settings (Lesson 60) and a log of failures becomes a table of failure codes with how often each occurred. Copilot sorts a pivot by its totals, highest first, from a single prompt in Lesson 92, and in Lesson 110 it is asked for conversions by channel sorted largest to smallest, with each pivot it returns checked against the ones built by hand. For the picture, Lesson 55 draws a Pareto chart, bars with a cumulative line, which shows the few causes behind most of the trouble. A pivot counted and sorted this way is a strong opening for the root cause discussion at any design review.

Our failure log has the same cause typed several ways: will the pivot count them as one?

Lesson 58 of The Complete Excel Course with AI Integration cleans exactly that kind of log before a single pivot is built. A trailing space or a second spelling makes one value two in a PivotTable, so Overheat, Overheat with a space after it and Over-heat land on separate rows with the count split between them. The lesson finds and replaces the stray forms, runs TRIM in a helper column to strip hidden spaces and PROPER to make names read cleanly, pastes the results back as values, deletes an empty row that would make the pivot think the data ended early, and turns the result into a table. Capitals on their own are not the culprit, since a PivotTable reads FAN and fan as one, but tidy text makes the finished report readable. Drop-down lists from Lesson 45 then stop new variants being typed in.

Can a pivot table show readings by month or quarter when the log is stamped by date?

Yes, and Excel does the grouping for you, as Lesson 61 of The Complete Excel Course with AI Integration shows. Drag a date field into Rows and the PivotTable groups it into years, quarters and months by itself; the expand buttons drill down to single days, and removing a level switches the view between quarterly, monthly and daily. For a maintenance or test log that means faults per month or energy per quarter without a helper column of month formulas. The lessons later put a date filter on a dashboard with a Timeline (Lesson 111), which moves between years, quarters, months and days at a click. The same grouping drives the line PivotChart of Lesson 63, retitled and given axis titles, which shows the monthly trend of a figure in one picture.

My rig adds rows to the log every shift: what keeps the pivot table up to date?

Two habits from The Complete Excel Course with AI Integration: keep the log in a table, and refresh. Lesson 65 pastes a new row under the sales table, where it joins the table by itself, then shows that every PivotTable still tells yesterday's story until it is refreshed, by a right-click on one pivot or with Refresh All for every pivot in the workbook at once. Because the source is a table (Lesson 19), the new rows sit inside the pivot's range the moment they arrive; on a plain range the pivots would have to be pointed at the data again. For a shift log that means one routine: paste or import the new readings, press Refresh All, and every summary, slicer and PivotChart reflects the latest shift before the morning meeting.

Can slicers let a reviewer pick one test rig or product variant without touching the pivot?

Yes: slicers are clickable buttons for exactly that, and Lesson 62 of The Complete Excel Course with AI Integration introduces them. Region, state and city fields go into the Filters area, and the category pivot narrows to one state or one region at a click, then back to all, with the source data untouched. A reviewer who would never edit a PivotTable field will happily click a rig, a variant or a site. On a full report, Lesson 113 connects one slicer to every PivotTable through Report Connections, so a single click refilters every figure and chart, and the lesson shows the fault to watch for: miss one connection and that chart stays put while the rest move. Ctrl+click picks several buttons at once, such as two rigs compared against the rest.

Can the pivot become a chart that shows a trend in the readings at a glance?

Yes: a PivotChart, built in Lesson 63 of The Complete Excel Course with AI Integration. The lesson makes a clustered column PivotChart of net sales by category, moves it onto a sheet of its own so the data engine and the visuals stay apart, and filters it with a slicer to check that chart, PivotTable and source all agree. It then trims a date pivot to months and makes a line PivotChart titled Monthly Net Sales Trends, with axis titles, the same build that turns a monthly log of failures, energy or run time into a trend line a review reads at once. Because a PivotChart belongs to its pivot, it follows every slicer and filter, and it takes in new rows at the next refresh without being redrawn.

Could Copilot build the failure summary from my test log, and how would I know it got it right?

Copilot builds it, and The Complete Excel Course with AI Integration teaches the checking that makes it safe to use. In Lesson 92 a single prompt produces a PivotTable of revenue by region and month on a new sheet without a field dragged, then a second prompt sorts the regions highest first; when Copilot answers with instructions instead of acting, a more specific request gets the action. Lesson 110 shows the failure mode that matters: three pivots asked for in one prompt came back as one, so each request is sent again on its own and every result is set against the totals of the pivots built by hand. For a test log that means naming the field to count, the field to group by and where the result goes, then checking the total number of failures against the log before anyone relies on the breakdown.

Can one pivot table read the test results and the unit register together, without lookup columns?

Yes, through a data model, which The Complete Excel Course with AI Integration builds in its SalesFusion project. Lesson 169 loads a cleaned sales table and its product and region lookups into the data model and draws the relationships in Diagram View, one code to many rows. Lesson 170 writes DAX measures for total sales, margin percent and percent of total, plus a distinct count that counts each order once though it has a row per product, and Lesson 171 builds a report that sets a category from the product table against measures from the sales table. Make your test results the main table and the unit register a lookup related on the serial number, and a pivot shows failures by unit type or build batch with no XLOOKUP column added to the log. Of the tools on this page, the course's requirements name Windows for Power Pivot alone.

What does a pivot back end look like when a monthly engineering report needs several views?

A sheet of labelled pivots, one per question, which The Complete Excel Course with AI Integration builds twice. In MarketPulse, Lesson 108 puts six PivotTables on one Pivots sheet, separated by coloured columns, each copied from the last and rebuilt in the field list for its own question, so the raw data is selected only once. In FinanceGuard, Lesson 120 pastes the model into a table of values and builds five pivots on a sheet named PIVOTS, among them a matrix of variance percentage by department and month that reads like a heat map. Translate the questions and the structure holds: failures by code, faults by rig and month, mean readings by condition, units by status. Charts and cards on the report sheet then draw from that back end, and nothing on the front ever touches the raw log.

With Copilot able to build PivotTables from a prompt, are they still worth learning by hand for test reporting?

More than ever, because you can only check what you could have built yourself, and The Complete Excel Course with AI Integration teaches both routes. A pivot built by hand in Lesson 59 and Lesson 60 is the yardstick: you know which field sits in Rows, how Values are summarised and why a total is what it is. Copilot then saves the dragging, and Lesson 110 sets its pivots beside the hand-built ones to prove them. PivotTables are also the engine of everything bigger in the course: the dashboards of MarketPulse and FinanceGuard, and the data model of SalesFusion, where one pivot reads several related tables. For an engineer who must stand behind a reported failure rate, the hand-built skill is what makes the AI's version trustworthy.

A test campaign's raw log has to be reported next week: how much of the path comes first?

The PivotTable section itself, from Lesson 57 to Lesson 66, one of the shortest sections in The Complete Excel Course with AI Integration, which takes a raw table all the way to a refreshed, styled summary with slicers and PivotCharts. Take Lesson 19 first if your log is not yet a table. That is enough to report averages by condition, failures by code and trends by month. The rest of the path, 1 hour 27 minutes in all, adds the back end of labelled pivots, Copilot and the data model, worth taking once the report is out. The finished SalesPlusPerformance workbook comes with the course, so every pivot you build can be set against a working answer, and the challenge at the end of the section tests region, category and month before you meet your own log.

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.