The Complete Excel Course with AI Integration

Sort and filter Excel tables for government officers

Registers of cases, applicants and payments grow every week, and in a plain range a sort can scramble rows, a total can miss new entries and a filter can hide records unnoticed. The Complete Excel Course with AI Integration teaches the remedy on industry-standard projects, and this page picks out its lessons: Excel tables, multi-level sorts, every kind of filter, frozen headings, clean printouts, named tables for a budget model and formula views that stay current.

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 case or applicant register into an Excel table that takes in new rows, keeps its banding and carries a Total row at its foot.
  • Sort a register by district and then by date or amount in one multi-level sort that keeps every row whole.
  • Filter a register by status, office or amount band with check boxes, text, number and Contains filters, and clear them before the file is shared.
  • Name each table in a workbook, such as allocations and spending, so formulas refer to it by name and a reviewer can follow them.
  • Print one district's filtered cases on a single page or as a PDF, with orientation, margins and scaling set for an official copy.
  • Build sorted and filtered copies of a register with SORT, SORTBY and FILTER that update themselves as the source changes, in a modern Excel.
  • Prepare a register as a table with clean headers and real dates so Copilot can read it, sort it and list rows on request.

Projects

What you will build.

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

  • Project 06

    PeopleInsight HR workbook

    Employee data joined across sheets with one formula.

    Built for HR data, its named tables feed UNIQUE, FILTER, SORT and SORTBY, which spill sorted and filtered copies of a list that refresh by themselves while the original stays exactly as it was entered.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built as a budget against actual model, it opens by making two named tables, one of budget lines and one of spending, the layout that lets every later formula in the model call on a table by name instead of a fixed block of cells.

  • Project 14

    Agentic AI in Excel

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

    The course's AI project starts by shaping its data into a clean table with clear headings, the structure Copilot needs before it can sort a list, describe its columns or pick out the rows a request asks for.

Tap or pinch to zoom in, drag to move around. Click or scroll to zoom in, drag to move around.

  • Project 02

    Dunder Michael Paper Company employee database

    Built as an employee database, it is where every table, sort and filter skill on this page is learnt: the list becomes a styled table with a Total row, sorted by one key and by several, filtered by text, number and partial match, frozen at the header and printed on one page.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 14 of them, 1 h 26 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 19 Excel tables

Start at Lesson 19 if you enter data in Excel already: the table, the sorts and the filters come first, on an employee list, and the whole of Managing data in Excel is free by email with its practice files, so the core of this page can be learnt before you buy. New to Excel? Begin at Lesson 1. Sorting and filtering every day already? Skip ahead to Lesson 75 for views kept up by formulas, or to Lesson 116 to see tables named for a budget model.

Get the free section by email

14 of 186 lessons · 1 h 26 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 9 lessons · 1 h 1 min The whole section, on an employee database that handles much like a register: a styled table with structured references and a Total row, single and multi-level sorts, check box, text, number and Contains filters, then the clean-up, the removal of repeated IDs, names split into columns, headings frozen in view and a print set-up that fits the list on one page.
  1. 19 Start here Excel tables Create and format a table, structured references and total row 8 min
  2. 20 Sorting data in Excel Single and multi-level sort on an employee database 6 min
  3. 21 Filtering data in Excel AutoFilter, text and number filters on employee data 10 min
  4. 22 Cleaning data in Excel TRIM, Paste Special values and Find and Replace 13 min
  5. 23 Remove duplicates in Excel Find and delete duplicate rows in an employee list 6 min
  6. 24 Flash Fill in Excel Split first and last names automatically 3 min
  7. 25 Text to Columns in Excel Split data by delimiter into separate columns 6 min
  8. 26 Freeze panes in Excel Lock header rows and columns while scrolling 3 min
  9. 27 Printing in Excel Print area, page orientation, scaling and page layout 6 min
08 Advanced Excel functions: lookups, text and arrays 3 of 12 lessons · 15 min Formula views of a table on the PeopleInsight HR workbook: UNIQUE for the distinct values in a column, FILTER with AND and OR conditions, and SORT and SORTBY for copies that re-sort themselves, each spilling beside the table. They need a modern Excel.
  1. 75 UNIQUE function in Excel Extract a distinct list with dynamic arrays 6 min
  2. 76 FILTER function in Excel Dynamic array filtering with AND and OR criteria 5 min
  3. 77 SORT and SORTBY in Excel Sort data dynamically with formulas 4 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) 1 of 17 lessons · 6 min Preparing data for Copilot: a table with clear headers, no merged cells, one data type per column and real dates, then Copilot describing each column and sorting the table by date on request.
  1. 89 Prepare data for Copilot in Excel Tables, headers and clean structure 6 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 1 of 10 lessons · 4 min FinanceGuard's first step: the budget and the actuals each made a table, named in the Table Name box and given one format and one light style, ready for formulas that refer to them by name.
  1. 116 Excel tables for budget and actual data Organise the FinanceGuard datasets 4 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.

From a plain list of cases to an Excel table that sorts, filters and totals by district: how does a government officer get there?

Through The Complete Excel Course with AI Integration from Coding Liquids, which builds every step on a full employee database, part of industry-standard projects designed after talking with people from many different industries, and that database handles much like a case or applicant register. It becomes an Excel table with a style, a Total row and structured references (Lesson 19), is sorted by one key and then several without a row coming apart (Lesson 20), and is filtered by check box, text, number band and partial match (Lesson 21). The section then cleans it, removes repeated IDs, splits names, freezes the headings and prints it on one page. Beyond it, UNIQUE, FILTER and SORT produce views that update themselves (Lesson 75 to Lesson 77), FinanceGuard names its budget and spending tables (Lesson 116), and Copilot works on a table prepared for it (Lesson 89). Give the 14 lessons here 1 hour 26 minutes and your own register gets the same treatment, row for row.

Why make the register an Excel table at all, rather than leaving it a plain range?

Because a table holds itself together as it grows, and The Complete Excel Course with AI Integration shows each gain in Lesson 19. A case typed in the row below joins the table, banding and all; a formula written once fills the whole column; and a total built on the table's column name, rather than a fixed range, keeps counting the new rows (Lesson 34), where a plain range can quietly leave the latest entries out. Sorting inside a table moves whole rows, so no applicant ends up beside another's details, and the headings stay put at the top. The Total row adds a sum or count at the foot, with one caution from the lesson: untick it before adding cases at the bottom, or the new entry lands inside the summary. The course is candid about the exception too: TaskFlow stays a plain range on purpose (Lesson 80), because structured references can complicate its conditional formatting rules.

How do I sort a register by department, then by amount, without scrambling the rows?

With a multi-level sort, which The Complete Excel Course with AI Integration builds in Lesson 20 on the employee table. The Custom Sort dialog takes a first key, then Add Level brings in a second, so the list falls into groups and, within each, into the order of the next column: the lesson pairs the ID with the name, and the same clicks give district then amount, or scheme then date. Because the data is a table, every row travels whole, so an amount never parts from its case. Single sorts are a click on the column's filter button: A to Z for names, Smallest to Largest for amounts, Oldest to Newest for dates once they are confirmed as real dates. Two habits from the lesson save trouble on a shared file: Excel has no command that clears a sort, so Ctrl+Z is the way back at once, and a reference-number column lets you restore the entry order later by sorting on it.

Can a priority or status column sort as High, Medium, Low instead of alphabetically?

Yes, through a number the sort can follow, which is how The Complete Excel Course with AI Integration handles priority in TaskFlow. Lesson 84 adds a Priority Score column beside the priority drop-down: a nested IF returns 3 for High, 2 for Medium and 1 otherwise. Sorted largest to smallest (Lesson 20), the score lines up the most urgent work first, and the same column drives an icon set, since icon sets read numbers far better than words. A status column works the same way: score Overdue, Open and Closed, then sort on the score. Excel's Sort dialog also accepts a custom list typed in your own order, a route outside the lessons; the score has the advantage of being visible, filterable and usable in formulas. With the drop-downs of Lesson 81 feeding it, every High in the register is spelt the way the score expects.

Which filters does a register need: by status, by office, by amount band, by part of a reference?

All four, and The Complete Excel Course with AI Integration teaches each in Lesson 21. The check boxes under a column's filter button pick one value or several: one office, then two, or every case marked Active. Text Filters handle an exact match through Equals, and Contains finds part of a cell, which suits a reference that carries a scheme code or a team name inside it, with Or letting one filter catch two patterns at once. Number Filters set a band, such as amounts between two limits, for a review of grants within a given range. Excel offers text or number filters to suit the column, so a figure column held as text gives itself away when only text filters appear. Filters on several columns combine, so open cases, in one district, above a threshold take three clicks. Clear Filter From removes one column's filter, and Ctrl+Shift+L switches the buttons on or off.

Sort and filter are greyed out on our shared register: what usually causes it?

Protection, most often, and The Complete Excel Course with AI Integration covers it in Lesson 86. When a sheet is protected, Excel allows only what was ticked in the Protect Sheet dialog, and the lesson's tracker allows selecting cells and little else, so the sort and filter buttons stay grey until someone with the password unprotects the sheet. Two lookalike problems have lessons of their own. A register where rows seem to be missing usually has a filter left on rather than a fault, and the filter buttons show which column it sits on (Lesson 21). And a spilled formula typed inside a table returns an error rather than a list, which is why the dynamic array lessons place their results outside it (Lesson 75). Knowing the causes turns a frozen register into a quick fix, and it also argues for keeping the password with the officer who owns the file, not in an email chain.

Can the register keep itself in order as new cases arrive?

SORT gives you a copy of the register that keeps itself in order, and The Complete Excel Course with AI Integration teaches it in Lesson 77. A sort from the ribbon or a filter button is a one-off: cases added later sit wherever they were typed until someone sorts again. SORT, by contrast, returns a sorted version of a whole table that re-sorts by itself whenever the data changes, and SORTBY sorts by a column it does not even display, such as the date received behind a list of names and statuses. Wrapped round UNIQUE, SORT gives an alphabetical list of the distinct values in a column, a tidy index of schemes or offices. Copilot can sort the table on request too (Lesson 89), but that is a one-off as well. These dynamic arrays need a modern Excel, and their results sit outside the table, where they have room to spill.

Should each table in the workbook have a name, such as Allocations or Applications?

Yes: named tables make formulas readable and the workbook easier to audit, and The Complete Excel Course with AI Integration names them in the first project that relies on them. Lesson 116 turns FinanceGuard's two ranges into tables and names them BudgetTbl and ActualTbl in the Table Name box on the Table Design tab, so every formula in the model refers to a table by name rather than to a block of cells that could shift. Lesson 71 names the HR tables the same way before INDEX and MATCH use them, and the FILTER lesson (Lesson 76) asks for named tables first. A name also tells a reviewer what each block holds. One warning from Lesson 117 is worth taking to any shared workbook: a formula referring to a table fails if the name is one letter off, so choose names that are short, plain and settled, and leave them alone once formulas depend on them.

Can I print just the filtered cases for one district as a clean copy for the file?

Yes: filter the register, then print, and The Complete Excel Course with AI Integration shows how to make that printout tidy (Lesson 27). Rows hidden by a filter stay off the page, so filtering to one district first (Lesson 21) gives a printout of that district alone. The printing lesson then works through the settings an official copy needs: Print Active Sheets for the current tab, Landscape for a wide register, Narrow margins, the paper size your office uses, and Fit Sheet on One Page when the columns spill across pages. The Printer list includes Microsoft Print to PDF, which turns the same view into a PDF for the case file or an email to a district office. The preview shows the result before any paper is used. For a register signed off each month, the same filter and settings give the same clean page every time, which a reviewer comparing months will appreciate.

Is a filter safe on a shared register, or can it lose records?

A filter only hides rows and never deletes them, which The Complete Excel Course with AI Integration makes plain in Lesson 21, so nothing is lost by filtering. The risk lies elsewhere: a colleague opens a register with a filter still on and believes cases are missing. The lesson's rule of thumb is that a sheet looking suspiciously empty usually has a filter on, and the button of the filtered column shows where; Clear Filter From brings the rows back. Deleting is a separate, deliberate act, and Lesson 23 uses it on purpose: filter the table to the repeated IDs, then delete the rows you choose, which removes only the rows on show. That same behaviour is why a filter should be cleared before anyone deletes rows for some other reason. Clear every filter before the register is saved and shared, and the next officer sees the complete record.

Dates in our register sort in the wrong order: what is going on?

Some of those dates are being read as text, and The Complete Excel Course with AI Integration shows how to tell and how to put it right. In Lesson 20, the hire dates are confirmed as real dates with the Short Date format before the Oldest to Newest sort, because a column that sorts strangely is the classic sign of text posing as dates: text sorts character by character, so the order follows the first digits rather than the calendar. The clean-up lesson (Lesson 22) applies Short Date at the very start for the same reason. Real dates sort properly, group by year and month in the filter list and feed the date formulas later in the course. One quick test comes from the date lessons: Excel stores a real date as a number, so an entry that looks unchanged after its format is switched to Number is text.

Could Copilot sort the register, or list the cases that meet a condition, if I just ask?

Copilot does both on a register kept as a clean table, and The Complete Excel Course with AI Integration shows the request and the check. Lesson 89 prepares the data the way Copilot needs it: clear headers, no merged cells, one kind of data per column and real dates, then asks Copilot to describe each column, which confirms it has read the table correctly. Copilot's App Skills then sorts the table by date, oldest first, and applies it, and a request for rows with missing values lists them before the change is undone. Lesson 96 asks for every row above a threshold and pushes for the full list when the first answer is cut short. The habit to bring to a register is the one in Lesson 99: confirm the exact data selected and read the result before acting on it. Following along needs Copilot in your Microsoft 365; without it, the filter buttons and the sort dialog do the same work by hand.

What has to change in an old register before it can become a proper table?

Four things, each taught in The Complete Excel Course with AI Integration. A single header row, with a clear name in every column and no merged cells, which Lesson 89 names as the shape Copilot and every other tool expects. No empty rows or columns cutting through the data: Lesson 58 deletes them, because a gap makes Excel think the data ends early. One kind of entry per column, with dates as real dates and figures as numbers, cleaned with TRIM, Find and Replace and Paste Special values (Lesson 22). And one row per case, with repeated IDs found and removed (Lesson 23). Then Insert, Table takes the range with its headers recognised (Lesson 19), and Freeze Top Row keeps those headings in view as you scroll the rest (Lesson 26). An afternoon of this turns an inherited sheet into a register that sorts and filters without surprises.

Does the Total row change when I filter the register down to one district?

Yes, and that makes it one of the handiest features of the table lesson in The Complete Excel Course with AI Integration (Lesson 19). The Total row adds a sum, a count or an average at the foot of a column, and it counts only the rows on show, so filtering to one district (Lesson 21) turns the grand total into that district's total, while clearing the filter brings the full figure back. That gives a quick answer to a question in a meeting: filter, read the foot, clear. For a figure per district laid side by side, every district at once, the course moves on to SUMIFS and COUNTIFS (Lesson 37) and to PivotTables from Lesson 57, which suit a monthly return better. The lesson's caution still stands: switch the Total row off before adding cases at the bottom, then on again, so new rows never land inside the summary.

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.