The Complete Excel Course with AI Integration

Pivot tables for healthcare administrators

A healthcare administrator is asked the same questions every month in new shapes: attendances by clinic, admissions by ward, overtime by unit, spend by department. The Complete Excel Course with AI Integration answers them with PivotTables, and this page picks out the lessons that make one export serve every follow-up: a clean source, fields and date grouping, slicers, PivotCharts, Refresh All, pivot back ends 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:

  • Prepare an activity, admissions or roster export for a PivotTable: one spelling per ward, no stray spaces or blank rows, held in an Excel table that takes in new rows.
  • Summarise appointments, admissions or bed days by clinic, ward and month in a PivotTable, choosing a sum, a count or an average in Value Field Settings.
  • Group admission and appointment dates into years, quarters and months, and drill from a site down to its wards or clinics.
  • Narrow a report to one site, specialty or clinician with slicers, and chart the monthly trend as a PivotChart that follows them.
  • Refresh every PivotTable in the workbook with Refresh All when the next month's export is pasted in, with no table rebuilt.
  • Run a sheet of PivotTables by clinic, clinician and month from one export, and work out did-not-attend or occupancy rates from their totals with IFERROR.
  • Set a directorate's budget against actual spending in PivotTables by month, department and cost heading, with a department-by-month matrix.
  • Relate an activity table to its lookup tables in a data model and count each patient once with a DISTINCTCOUNT measure, in 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.

    Every pivot skill a monthly activity return needs, practised on order-level rows: cleaning the source, grouping dates into months and quarters, slicing by place, charting the trend and refreshing when the next month's rows arrive.

  • Project 08

    MarketPulse

    One screen that shows which campaigns earn back their spend.

    A back end of six PivotTables copied from one another and rebuilt, the layout for clinic, clinician and month views of one export, with rates worked out under the summary and Copilot's pivots checked against yours.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Five PivotTables over a values copy of the model, from totals to a department-by-month matrix: the views a directorate's spending review asks for, laid out on one sheet.

  • Project 12

    SalesFusion

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

    PivotTables that read related tables at once through a data model, so activity, clinic and clinician lists meet without a lookup column, and a measure counts each record once.

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 20 of them, 1 h 41 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 exports already sit in Excel tables: SalesPlusPerformance takes you from raw rows to a refreshed report in order. Never made a table? Lesson 19 comes first. Opening Excel for the first time? Start from Lesson 1 instead. Building pivots already? Move on to Lesson 108 for a back end of several PivotTables, then to the data model at Lesson 169, which uses the SalesFusion queries begun at Lesson 153 and needs Excel for Windows.

20 of 186 lessons · 1 h 41 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 1 of 9 lessons · 8 min The source every pivot should read: an Excel table, with a total row, structured references and new rows joining it on their own, so the next month's export is picked up at the next refresh.
  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 PivotTables from the ground up on SalesPlusPerformance: the order data explained, the source cleaned, fields placed in rows, columns and values, dates grouped into years, quarters and months, slicers, PivotCharts, layouts and styles, Refresh All, and a challenge to finish. Orders stand in for appointments and admissions, which pivot in the same way.
  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 from one precise Copilot prompt, totals by region and month sorted on request, with a vague follow-up shown returning advice where action was wanted.
  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 A pivot back end for a dashboard: six PivotTables copied from one another and rebuilt for different questions, rates worked out from their totals with IFERROR, and Copilot's pivots checked total by total against the hand-built ones.
  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
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 1 of 10 lessons · 8 min FinanceGuard's pivot workspace: a values copy of the budget model held as a table, then views by month, department and category, budget use and percent variance, and a department-by-month matrix.
  1. 120 PivotTables for budget vs actual The FinanceGuard pivot workspace 8 min
15 SalesFusion: advanced data tools and a Power Query modelling system 4 of 21 lessons · 31 min PivotTables on a data model: a sales table related to product and region tables in Power Pivot, DAX measures including a distinct count, a tabular report and four PivotTables under shared slicers. Power Pivot needs Excel for Windows, and these lessons read the SalesFusion queries built earlier in the project.
  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.

Leadership asks a new question of the clinic figures every week: can pivot tables keep up, and where do healthcare administrators learn them?

Yes: a PivotTable answers the follow-up by moving a field, not by writing new formulas, 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. Attendances by clinic become attendances by clinician and month with two drags; a site slicer narrows the whole report to one hospital; Refresh All brings in the next month's rows. The core is SalesPlusPerformance, order-level data that summarises exactly as an activity export does, followed by the pivot back ends of MarketPulse and FinanceGuard and PivotTables on a Power Pivot data model. This page picks out the 20 lessons, 1 hour 41 minutes in all, with starter and finished workbooks for every build, and a Ninja Challenge that has you produce three PivotTables unaided before you trust them with real figures.

Which hospital and clinic reports can a PivotTable build from a single export?

Most of a monthly pack, and The Complete Excel Course with AI Integration teaches every move it takes. Attendances and missed appointments by clinic and month come from rows, columns and values (Lesson 60), with Value Field Settings choosing a count or a sum. Admissions by ward and quarter come from date grouping (Lesson 61), which also drills a site down to its wards. Overtime hours by unit and shift come from the same moves on a roster export, and spending by department and month, with variance beside it, is the FinanceGuard workspace (Lesson 120). Lesson 64 then lays the result out for a management pack: outline form, subtotals and grand totals only where they help, banded rows, a style and large figures shown in millions. The lessons summarise sales orders, campaigns and budgets; an activity or roster export holds one row per event in the same way.

Our activity export has blank rows and wards typed in two ways: what has to happen before the pivot?

A short clean-up, and The Complete Excel Course with AI Integration gives it a lesson of its own before the first PivotTable is built. Lesson 58 shows the faults that spoil a summary: a stray space or a second spelling makes one region appear twice, so one ward would split into two rows with two totals, and an empty row can make a PivotTable treat the data as ending early. TRIM clears the spaces, PROPER evens out the names, Find and Replace fixes a repeated misspelling, and Paste Special values keeps the clean text without the formulas behind it. The data then becomes an Excel table, the source Lesson 19 builds, so rows added later belong to it. A few minutes of that preparation spares you the awkward moment when a ward manager asks why their ward is listed twice with half its activity in each row.

Can a PivotTable show admissions by month and quarter when the export only has dates?

Yes, and Excel does the grouping for you, which The Complete Excel Course with AI Integration shows in Lesson 61. Put the admission date in Rows and the PivotTable gathers it into years, quarters and months by itself; the expand buttons drill from a year down to its months, and removing the Years or Quarters level switches the whole report between quarterly, monthly and daily views. The same lesson nests fields, so a site drills into its wards. Value Field Settings (Lesson 60) decides how each figure is calculated, Sum by default, with Count, Average and Minimum among the choices, so bed days can be totalled and lengths of stay averaged in one report. Lesson 63 then turns the monthly view into a line PivotChart of the trend, given a title and axis titles fit for a board paper.

Can a PivotTable count each patient once when they attend several times?

Yes, through a data model, and The Complete Excel Course with AI Integration builds the measure that does it. An ordinary PivotTable counts rows, so five visits by one person count five times. In Lesson 170 a DAX measure with DISTINCTCOUNT counts each order once even though an order has a row for every product, and a patient or staff number counts once in exactly the same way, however many visits or shifts it has. The measure lives in a Power Pivot data model (Lesson 169), recalculates for every slicer, and feeds the PivotTables of Lesson 172. Power Pivot needs Excel for Windows; on a Mac, COUNTA wrapped round UNIQUE (Lesson 35) gives the same distinct count as a formula. Either way, the report can say how many people were seen as well as how many appointments took place.

Can each manager filter the report to their own site or specialty without touching the data?

Yes, with slicers, and The Complete Excel Course with AI Integration builds them in Lesson 62. Fields dragged into the Filters area appear above the PivotTable, and slicers turn the choice into buttons: one click shows a single state's figures, another returns to all, and the source data is never changed. In a hospital report the buttons are sites, specialties, wards or clinicians, so a manager sees their own figures and then the whole organisation's without asking for a second version. Lesson 63 puts the result into a PivotChart on its own sheet that follows the same slicers, keeping the data engine on one sheet and the visuals on another. The lesson also gives the rule that edits to the data reach slicer, table and chart only after a refresh, worth knowing before a manager asks why a figure has not moved.

A new month of activity gets pasted into the workbook: do the PivotTables have to be built again?

No, they need one click, and The Complete Excel Course with AI Integration makes that click a habit in Lesson 65. The lesson adds a row to the sales table, shows that the PivotTables have not changed, then refreshes one from the right-click menu and every one in the workbook at once with Refresh All. The reason it works is the source: data held in an Excel table (Lesson 19) takes in new rows by itself, so the PivotTables read them at the next refresh, while a plain range would leave them out until each PivotTable was rebuilt. A PivotTable that is never refreshed tells last month's story with total confidence, the exact risk of a monthly activity return. FinanceGuard's PivotTables read a pasted copy of the model's values, so after a budget change the values are pasted again before the refresh.

Can one workbook hold separate PivotTables by clinic, by clinician and by month, all from the same export?

Yes, and that layout is how The Complete Excel Course with AI Integration builds the engine of a dashboard. In Lesson 108 MarketPulse gets a sheet of six PivotTables: the first is built from the data, and each of the others is copied beside the last, past a coloured separator column, and rebuilt in the Field List for a new question, channel, month or campaign, so the raw data is selected only once. Each is labelled, and the sheet becomes the engine of the report. For a healthcare office the same sheet holds attendances by clinic, by clinician and by month, a summary for the board and a short list of clinics at risk of missing a target. SalesPlusPerformance starts the habit earlier: Lesson 61 places new PivotTables on its dashboard_data sheet with room left for each one to grow.

Can I work out did-not-attend or occupancy rates from PivotTable totals?

Yes, beside the PivotTable, and The Complete Excel Course with AI Integration shows more than one way. Lesson 109 writes rate formulas under a summary PivotTable, click-through rate, conversion rate and return on investment, each dividing one total by another inside IFERROR so an empty period shows zero instead of an error, with references locked by F4. A did-not-attend rate is the same build, missed appointments over booked ones, and occupancy is occupied bed days over available ones. FinanceGuard adds two ratios beside its summary PivotTable in Lesson 120, percent variance and budget utilisation. On a data model, Lesson 170 writes ratios as DAX measures with DIVIDE, which gives a blank rather than an error on zero and recalculates for every slicer, though Power Pivot needs Excel for Windows. Whichever way you choose, the rate is worked out once and never retyped.

Our directorate reviews spending against plan each month: what can FinanceGuard's PivotTables show it?

Five views on one sheet, and The Complete Excel Course with AI Integration builds all of them in Lesson 120. The budget model's results are pasted as values into a table, and the PivotTables are built from it: a summary of budget, actual and variance with percent variance and budget utilisation below it, then budget and actual by month, percent variance by department, variance by category, and a matrix of departments against months that reads like a heat map. Light blue separator columns keep the sheet readable, and it is named PIVOTS. A directorate's review asks the same questions of its wards and cost headings: which month went over, which department, which heading. Because the PivotTables read a pasted copy, the values are pasted again when the model changes. Lesson 122 and Lesson 123 turn the PivotTables into charts with slicers, a step beyond this page.

Is a PivotTable better than VLOOKUP for ward reporting, or do I need both?

Both, because they do different jobs, and The Complete Excel Course with AI Integration teaches each where it belongs. VLOOKUP and XLOOKUP (Lesson 68, Lesson 69) work row by row: they bring a detail onto each record, such as the ward name beside a ward code or the grade beside a staff number. A PivotTable works on the whole table at once: it counts and totals those records by ward, month or grade (Lesson 60). The usual order is lookup first and pivot second, so every row carries the fields the summary needs. A data model can skip the lookup column entirely: Lesson 169 relates a sales table to product and region tables in Power Pivot, and its point is that one relationship replaces a VLOOKUP dragged down thousands of rows. Power Pivot needs Excel for Windows, and the lookups run on any Excel.

Could Copilot or ChatGPT produce the monthly clinic pivot instead of me?

They can draft it, and The Complete Excel Course with AI Integration teaches the checks that make the draft safe to send. In Lesson 92 one precise Copilot prompt, naming the measure, the breakdown, the table and where the result goes, builds a PivotTable of revenue by region and month, while a vague follow-up gets back instructions rather than action. Lesson 110 asks Copilot for three PivotTables in one prompt, gets one back, then sends each request on its own and checks every result against the hand-built PivotTables, total by total. ChatGPT plays the planner in Lesson 107, proposing the KPIs and the PivotTable plan for a dashboard. The habit that matters with activity figures is the last one: an AI pivot is right only when its totals match the export's. With clinical activity, give the tool clinic totals rather than patient rows, and only under your organisation's rules.

Are pivot tables still worth learning now that Copilot can make them?

Yes, more than before, and The Complete Excel Course with AI Integration shows why. Copilot makes PivotTables (Lesson 92), so the skill that counts is knowing whether one is right: which field belongs in rows, whether the summary is a sum or a count, whether the dates are grouped, whether it has been refreshed. Every dashboard in the course runs on PivotTables: the six behind MarketPulse, FinanceGuard's workspace, and the data model PivotTables of SalesFusion with slicers across all four (Lesson 172). Nothing in Excel has replaced them; Power Query and the data model feed them bigger and cleaner tables. Lesson 64 warns that one drag into the wrong box summarises the wrong thing with confidence, and only someone who builds PivotTables spots it. That is the difference between a figure you send and a figure you can defend.

How long before I can produce the monthly activity pivots myself?

Less time than most people expect: the PivotTable lessons of The Complete Excel Course with AI Integration are among its shortest, and this whole page takes about 1 hour 41 minutes. The first PivotTable is inserted in a lesson of about a minute (Lesson 59); fields, grouping, slicers, PivotCharts, layout and refresh follow in quick order, and the challenge of Lesson 66 asks for sales by region, region with product category and a monthly trend, built from scratch and checked against a solution file. Swap orders for appointments or admissions and those are the first three tables of an activity pack. Every lesson works from a starter file with the finished workbook to compare, lifetime access keeps the lessons open for the day a new question lands, and the course page has free lessons to watch before you decide.

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.