The Complete Excel Course with AI Integration
Pivot tables for researchers
Long before the statistics, a study needs its descriptive tables: who was recruited where and when, how each arm compares, which themes came up in which group. The Complete Excel Course with AI Integration builds those summaries with PivotTables on industry-standard projects, and the path below follows the method from a clean source table to a refreshed set of summaries: fields and cross-tabs, date grouping, slicers, PivotCharts, layout, rates from totals, and Copilot's version held against yours.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Ready a study table for PivotTables: one row per observation, a single header row, no blank rows, and every site or condition written one way with Find and Replace, TRIM and PROPER.
- Cross-tabulate one variable against another, condition by site or arm by wave, with one field down the side and another across the top, sites nested inside regions and a grand total on each edge.
- Group a date column by year, quarter and month to follow recruitment or data collection over time, and drill down to single days.
- Narrow every summary to one site, arm or wave at a click with slicers, while the source table stays exactly as entered.
- Turn a summary into a column or line PivotChart that follows the same slicers, for a progress report or a first look at the data.
- Set subtotals, grand totals, report layout, banded rows and number formats so a summary reads cleanly in a report to a supervisor or a steering group.
- Keep summaries current with a table source and Refresh All, and calculate rates such as retention or response from PivotTable totals with IFERROR.
- Ask Copilot for a PivotTable in one precise prompt and hold every total it returns against a PivotTable you built yourself.
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.
The course's PivotTable project, built on a table with one row per order, the same shape as one row per observation: you clean it, summarise it by group and by month, narrow it with slicers, chart it and refresh it as new rows land.
-
Project 08
MarketPulse
One screen that shows which campaigns earn back their spend.
A marketing project in the course whose back end is a sheet of labelled PivotTables, one per question, with rates worked out beneath their totals: the model for a study's set of running summary tables.
-
Project 14
Agentic AI in Excel
AI finds and fixes the formula; you check it before it counts.
Built as the course's tour of AI tools on real tasks, it is where a single well-specified request gets Copilot to build a PivotTable, and you hold its totals against your own before any figure is used.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 15 of them, 1 h 2 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 study data already sits in an Excel table: the section explains what a PivotTable is for before the source is cleaned and the first one goes in. Data still in a plain range? Lesson 19 turns it into a table first, which is also what lets new cases reach a refreshed summary. Built PivotTables before? Move on to slicers at Lesson 62 and then to the set of summaries from Lesson 108. If Excel itself is unfamiliar, the course's opening lessons from Lesson 1 lay the groundwork.
15 of 186 lessons · 1 h 2 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) The Excel table that every PivotTable here reads from: a range turned into a formatted table with structured references and a total row, so a participant added at the bottom joins the source and reaches each summary at the next refresh. Its practice records come from an employee database.
- 19 Excel tables Create and format a table, structured references and total row 8 min
07 PivotTables and PivotCharts: data analysis made easy The PivotTable method from raw rows to a refreshed report, on a table of sales orders: what a PivotTable is for, a source cleaned so an extra space or a variant spelling cannot split one value in two, the first PivotTable inserted, fields placed in Rows, Columns and Values, dates grouped by period, slicers, PivotCharts, design and number formats, refreshing, and a challenge to solve unaided.
- 57 Start here PivotTables 101 in Excel What a PivotTable does and the sales dataset 5 min
- 58 Preparing data for PivotTables Clean data with TRIM, PROPER, find and replace 5 min
- 59 Create your first PivotTable in Excel Insert a PivotTable from a sales table 1 min
- 60 PivotTable fields in Excel Rows, values, columns and Value Field Settings 2 min
- 61 PivotTable summaries in Excel Sales by product category and grouping by date 4 min
- 62 Slicers in Excel Filter PivotTables with clickable buttons 3 min
- 63 PivotCharts in Excel Create interactive charts from a PivotTable 5 min
- 64 PivotTable design Tab Report layouts, PivotTable styles and number formats 5 min
- 65 Refresh a PivotTable in Excel Update pivots when source data changes 2 min
- 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) Copilot building a PivotTable from a single prompt that states what to total, how to split it, which table to read and where the result belongs, so a request for completed follow-ups by arm and month comes back right first time.
- 92 PivotTables with Copilot Build an Excel PivotTable from a prompt 5 min
11 MarketPulse campaign intelligence dashboard A set of summaries for one report: PivotTables copied side by side and rebuilt for each question, rates calculated beneath their totals with IFERROR, and Copilot's PivotTables compared with the hand-built ones total by total. The data is a table of marketing campaigns.
- 108 Marketing PivotTables in Excel Build the MarketPulse pivot back end 6 min
- 109 CTR, conversion rate and ROI in Excel Marketing KPI formulas with IFERROR 4 min
- 110 PivotTables with Copilot Generate and verify marketing pivots in Excel 6 min
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
How much of a study's descriptive work can pivot tables do before the statistics software opens, and where do researchers learn them?
Most of it, and The Complete Excel Course with AI Integration from Coding Liquids builds the whole method into hands-on lessons. A PivotTable cross-tabulates one variable by another, totals every group, gathers dates into months and quarters and narrows to one site or arm with a slicer, all without a formula and without changing a cell of your data. The course teaches it on SalesPlusPerformance, whose table of orders, designed like every project after talking with people from many different industries, has the same shape as a study's one row per observation. The source is cleaned first so that an extra space or a variant spelling cannot split one site into two rows (Lesson 58); then fields are placed, dates grouped, slicers added, charts drawn and the summary refreshed (Lesson 60 to Lesson 65). The 15 lessons on this path take 1 hour 2 minutes. Inference stays with your statistics package, and the descriptive groundwork is done in Excel.
Can a PivotTable cross-tabulate my data, say condition by site, the way a contingency table does?
Yes: one field in Rows and another in Columns gives exactly that grid, with a figure in every cell and grand totals along both edges. The Complete Excel Course with AI Integration builds it in Lesson 60, regions down the side and sales channels across the top, then nests states under their regions, which in a study becomes sites within countries or classes within schools, each level collapsible. The values are totals by default, so a count of participants comes from a column holding a 1 on every row, or from the count Excel offers in Value Field Settings. Lesson 64 then sets the grid out for reading: subtotals where they help, grand totals switched off when they distract from a comparison, outline layout and banded rows. The test statistics for the table belong to your statistics software; the table itself, checked and readable, takes moments to build.
I code interview transcripts as 1 or 0 for each theme: can a PivotTable tally the themes by participant group?
Yes, with nothing more than the default setting: a PivotTable sums whatever sits in Values, so a theme column of 1 and 0 sums to the number of transcripts in which that theme appears. The Complete Excel Course with AI Integration teaches every move this needs on its sales data. Lesson 60 places a field in Values and shows Sum as the default calculation; Lesson 61 sets two value fields side by side, the way several theme columns would stand next to each other; and slicers (Lesson 62) narrow the tally to one site or one interview round at a click. Put participant type in Rows and each theme in Values, and the frequency table of your coding frame appears group by group. Keep the coding as one row per transcript and one column per theme, and every later batch of transcripts is tallied by a refresh (Lesson 65).
Can a PivotTable give my supervisor a monthly table of recruitment by site that updates as participants join?
Yes: sites in Rows, the enrolment date grouped into months, and a refresh whenever new participants are entered. The Complete Excel Course with AI Integration teaches each part. Lesson 61 drops a date field into Rows, where Excel groups it by year, quarter and month without being asked, and removing the year and quarter levels leaves a plain month-by-month view, or single days when you need them. A week-by-week view needs a week column in your data, since the grouping runs by year, quarter, month and day. Lesson 63 draws the monthly series as a line PivotChart with its axis titles, your recruitment curve in a click. Because the source is an Excel table, a newly entered participant joins it at once, and Refresh All (Lesson 65) brings every summary up to date. Lesson 64 finishes the table in a layout and style fit to paste into the progress report.
Can slicers show the same summary for one site, one arm or one wave at a time?
Yes: a slicer is a set of clickable buttons, one for each value, and a click narrows the summary to that value while the data stays exactly as entered. The Complete Excel Course with AI Integration adds slicers in Lesson 62, filtering a summary to one state, then to one region, then back to all, with the source rows untouched throughout. Lesson 63 shows a slicer driving a PivotChart as well, and checks that chart, PivotTable and source data agree, a habit worth keeping whenever a figure is headed for a report. For a study, put site, arm and wave on slicers and a single summary answers question after question in turn: how recruitment looks at the third site, how the intervention arm compares in the second wave. The set of summaries built from Lesson 108 shows how far one source stretches when every PivotTable reads the same table.
Can a PivotTable show the mean, the minimum or a count for each group instead of a total?
Yes: Value Field Settings decides how each value is summarised, and The Complete Excel Course with AI Integration opens it in Lesson 60. Sum is the default; the lesson switches it to Minimum to show the smallest value in each group, then switches back, and the same box in Excel offers Average, Count, Max and other summaries for any field. So a mean outcome per arm, the lowest score per site or the number of records per wave is one change of setting away, and two value fields can sit side by side, one as a total and one as a mean, the way Lesson 61 places two value fields next to each other. Lesson 64 then gives each value a number format of its own, whole numbers for counts and percentages where a value is a share. Tests and models remain the statistics package's work; the descriptive layer is yours in Excel.
Can I report rates such as retention or response straight from PivotTable totals?
Yes: a rate is one total divided by another, and The Complete Excel Course with AI Integration builds such formulas beside a PivotTable in Lesson 109. There the summary PivotTable holds impressions, clicks, conversions and spend, and formulas beneath it turn those totals into CTR, conversion rate and ROI, each wrapped in IFERROR so a zero total shows 0 instead of an error, each formatted as a percentage. In a study the totals are participants enrolled, retained and responding, and the same pattern gives retention, response and completion rates that move with every refresh of the PivotTable. Lock a shared denominator with F4, as the lesson does, before the formula is copied. The MarketPulse back end of Lesson 108 keeps all of these figures on one sheet of labelled PivotTables, the natural home for a study's running numbers.
My report needs many summary tables: do I build every PivotTable from scratch?
Copy a finished PivotTable and rebuild the copy, which is how The Complete Excel Course with AI Integration assembles a whole set in Lesson 108. The first summary is built from the campaign table; each next one is copied beside the last, past a coloured separator column, and rearranged in the Field List, so the source never has to be selected again. Six labelled PivotTables result, one per question: an overall summary, then breakdowns by channel, by month and by campaign. A study's report has the same anatomy, recruitment by site, completion by arm, responses by wave, each a copy with different fields. Labels above each PivotTable keep the sheet readable for whoever opens it next, and because every copy reads the same table, one Refresh All (Lesson 65) updates the lot. The figures for a steering group or an annual report to the ethics committee then come from one sheet you can vouch for.
If I ask Copilot for a PivotTable of completed follow-ups by arm and site, how do I know its numbers are right?
By holding its totals against a PivotTable you built yourself, the check The Complete Excel Course with AI Integration makes in Lesson 110. There Copilot is asked for three PivotTables in one prompt and returns only one; asked again one request at a time, each result is compared with the hand-built version, total by total, before it is kept. Lesson 92 shows the prompt that gets a right result first time: say what to build, how to lay it out, which table to read and where the result belongs, so the request reads as completed follow-ups by arm in rows and site in columns, from the study table, on a new sheet. Because the PivotTable lessons have taught you to build the same thing by hand, you read Copilot's layout at a glance and spot a field in the wrong box, the slip that Lesson 64 warns will summarise the wrong thing with total confidence.
I will run the analysis in SPSS or R: are PivotTables still worth learning?
Yes, because they do the work that comes before and around the analysis, faster than any script. The Complete Excel Course with AI Integration puts them to exactly that kind of use: a first look at a new dataset, totals by group that show whether the numbers make sense, a cross-tab that reveals an empty cell of the design, a monthly table for a supervisor. The cleaning lesson (Lesson 58) also shows a PivotTable acting as a check, since a trailing space or a variant spelling makes one region appear twice and so exposes a coding problem before any export. Slicers (Lesson 62) let you explore subgroups in seconds while you decide which models to run. And when the results come back, a PivotTable of the same data confirms that the n in each group matches the output. Inference stays in your statistics software; the speed and the checking happen in Excel.
How hard are PivotTables to pick up, and what do I need in place first?
Easier than most of Excel, because a PivotTable is built by dragging field names into boxes rather than by typing formulas. The Complete Excel Course with AI Integration gives PivotTables a section of their own, among the shortest in the course, and its lessons are brief: inserting the first PivotTable from a table is one of the shortest lessons of all (Lesson 59), and placing fields follows straight after (Lesson 60). The one thing to have in place first is a clean source in an Excel table, which Lesson 19 builds and Lesson 58 cleans. The section ends with a Ninja Challenge (Lesson 66) of three tasks to solve on your own, totals by region, region by category and a monthly trend, with a solution file to compare against. The challenge asks you to keep AI out of the solving, so the skill you leave with is genuinely yours.
My study's sites are on separate sheets: can one PivotTable summarise them all?
Stack the sheets into one table and a single PivotTable covers every site; The Complete Excel Course with AI Integration teaches the stacking two ways. A PivotTable reads one source, so for a handful of sheets the simplest route is one table with a site column, the rows of each site pasted beneath the last. For sites that send files, Power Query appends the files' tables into one (Lesson 165) and gathers a whole folder of site files at once (Lesson 166), taking in a new site's rows at the next refresh; Power Query can also read tables already in the workbook, which is general Excel rather than a lesson. For tables that relate rather than stack, participants and their visits for instance, a data model in Power Pivot joins them so one PivotTable reads both (Lesson 169), a part of the course that needs Excel for Windows. With one table and a site column, every summary on this page applies.
Can a PivotTable summarise by age band or score band rather than by every single value?
Yes: make the band a column of its own, place it in Rows, and every summary falls into your categories. The Complete Excel Course with AI Integration builds such band columns with nested IF and IFS (Lesson 31, Lesson 32), tested in order with a catch-all at the end, and the PivotTable lessons place any column in Rows (Lesson 60). The band column brings a second benefit: your cut-offs are written in a formula anyone can read, rather than tucked away in a grouping setting, which matters when a reviewer asks how the groups were formed. Dates need no such column, since Excel groups them by year, quarter and month for you (Lesson 61). Excel can also group numbers inside a PivotTable, though no lesson covers it; the formula route keeps the bands identical across every table, chart and export you make from the data.
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.
The same course
For another job, skill, goal, level, topic or comparison.
The course for this job
More skills for this job
- Excel formulas for researchers
- Lookups for researchers
- Charts for researchers
- Dashboards for researchers
- Conditional formatting for researchers
- Data cleaning for researchers
- Data validation for researchers
- Excel tables for researchers
- Text functions for researchers
- Date functions for researchers
- Dynamic arrays for researchers
- Power Query for researchers
- Power Pivot and DAX for researchers
- Copilot in Excel for researchers
- ChatGPT for Excel for researchers
- Claude in Excel for researchers