The Complete Excel Course with AI Integration

Excel data cleaning for financial controllers

For financial controllers whose pack is only as sound as the extracts behind it: trial balances, subledgers and budget files from several systems, with stray spaces, text where figures belong and dates that will not read. The Complete Excel Course with AI Integration cleans that kind of data on the worksheet and in Power Query, and this page picks out the lessons in close order: quick fixes, completeness checks, repeatable queries, control totals and Copilot.

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:

  • Clear stray spaces, misspellings and stray symbols out of an extract with TRIM, Paste Special values and a Find and Replace limited to one column, so a cost centre never splits across two lines.
  • Prove an extract is complete before it feeds the pack, with COUNT set against COUNTA to expose numbers held as text, COUNTA set against the rows to expose blanks, and COUNTA with UNIQUE for a distinct count.
  • Split a crowded column with Text to Columns or Flash Fill, and fix capitals with UPPER, LOWER and PROPER, pasted back as plain values.
  • Find repeated references with the Duplicate Values rule and remove whole duplicate rows with Remove Duplicates, choosing which record stays.
  • Build a Power Query routine that trims and cases codes, strips symbols and NA from amounts and sets true number and date types, replayed on every refresh.
  • Total a cleaned period by month and region with a Group By query that also counts its rows, the control total you tie back to the system.
  • Point one folder query at every entity's extract, so each file is cleaned by the same steps and a new file joins at the next refresh.
  • Ask Copilot for a cleaning plan and a standardised column, then judge each change against the extract before anything reaches a total.

Projects

What you will build.

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

  • Project 12

    SalesFusion

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

    A sales project built from CSV exports with money symbols, NA, numbers written as words and unreadable dates, cleaned by saved steps you can read back in Applied Steps, proved with a Group By control total and applied to every file in a folder.

  • Project 05

    SalesPlusPerformance

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

    A sales PivotTable report whose data is cleaned before any summary: a region that would appear twice and an empty row that would cut the data short, both put right before the first PivotTable is built.

  • Project 14

    Agentic AI in Excel

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

    Copilot's cleaning suggestions, a cleaning plan on request and a standardised column offered for insertion, each a starting point a controller reviews before an extract moves on.

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

    The messy staff list behind the worksheet clean-up: stray spaces, misspellings, stray symbols, repeated IDs and crowded columns, the same faults a ledger or supplier extract brings, fixed with TRIM, Find and Replace, Remove Duplicates and Text to Columns.

Lessons

The lessons that matter, in course order.

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

Where to start

Lesson 22 Cleaning data in Excel

Start at Lesson 22 if Excel is part of your day: the worksheet clean-up there is the quickest win on this page, and the completeness checks and text lessons follow. Already cleaning on the sheet with TRIM and Find and Replace? Go to Lesson 154, where Power Query turns those fixes into steps that repeat every close. If tables are new, take Lesson 19 first, and if Excel itself is new, begin at Lesson 1.

26 of 186 lessons · 2 h 26 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 4 of 9 lessons · 28 min The worksheet clean-up on a raw sheet of staff records: TRIM with Paste Special values, Find and Replace narrowed to one column, duplicates found and removed by row, then Flash Fill and Text to Columns for crowded columns, the toolkit for an extract you will see once.
  1. 22 Start here Cleaning data in Excel TRIM, Paste Special values and Find and Replace 13 min
  2. 23 Remove duplicates in Excel Find and delete duplicate rows in an employee list 6 min
  3. 24 Flash Fill in Excel Split first and last names automatically 3 min
  4. 25 Text to Columns in Excel Split data by delimiter into separate columns 6 min
04 Essential formulas and functions (IF, SUMIF and more) 2 of 13 lessons · 11 min COUNT against COUNTA and against the row count, and COUNTA with UNIQUE: the completeness checks that expose a blank or a number held as text before an extract's totals are trusted.
  1. 34 SUM, COUNT and COUNTA in Excel SUM with FILTER and counting numbers with COUNT 7 min
  2. 35 SUM, COUNT and COUNTA in Excel COUNTA, unique counts and completeness checks 4 min
05 Text functions and data validation (enhancing data quality) 6 of 7 lessons · 30 min Text put right by formula: TRIM, UPPER, LOWER and PROPER, then FIND, SEARCH and SUBSTITUTE, a comma split with Text to Columns, a drop-down that stops one department being typed two ways, and a seven-task challenge on a messier list.
  1. 42 TRIM, UPPER, LOWER and PROPER in Excel Clean messy text and fix capitalisation 6 min
  2. 43 FIND, SEARCH and SUBSTITUTE in Excel Locate and replace text with formulas 5 min
  3. 44 Text to Columns wizard in Excel Split a column by a comma delimiter 4 min
  4. 45 Data validation in Excel Create drop-down lists for consistent data entry 4 min
  5. 46 Ninja Challenge: problem Clean messy data with text functions and validation 4 min
  6. 47 Ninja Challenge: solution PROPER, Text to Columns and drop-down lists 7 min
07 PivotTables and PivotCharts: data analysis made easy 1 of 10 lessons · 5 min Preparing data for PivotTables: messy text, a stray space or a second spelling, that makes one region appear twice, cleaned with Find and Replace, TRIM and PROPER, and an empty row removed before the table is built.
  1. 58 Preparing data for PivotTables Clean data with TRIM, PROPER, find and replace 5 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) 1 of 17 lessons · 6 min Preparing data for Copilot: clear headers, no merged cells, one type of data per column and real dates, the standard every extract should meet before analysis begins.
  1. 89 Prepare data for Copilot in Excel Tables, headers and clean structure 6 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) 2 of 17 lessons · 11 min Copilot on messy data: its cleaning suggestions when a messy file opens, spellings and spaces made consistent on request, a written cleaning plan, and outliers found once you define them.
  1. 96 Find outliers with Copilot in Excel Discounts, negative profit, suspect rows 7 min
  2. 97 Clean messy data with Copilot in Excel AI prompts plus Excel functions 4 min
15 SalesFusion: advanced data tools and a Power Query modelling system 9 of 21 lessons · 48 min Power Query from import to load: the ETL idea, a CSV brought in through Get Data, columns removed and renamed with every step recorded, text trimmed and cased, symbols and NA stripped from amounts, true number and date types, business columns and duplicate removal, a Group By control total, and Close and Load as a connection.
  1. 154 Introduction to Power Query in Excel The ETL workflow explained 5 min
  2. 155 Import a CSV with Power Query Get data from text and transform data 2 min
  3. 156 Clean columns in Power Query Remove and rename columns for modelling 5 min
  4. 157 Clean text in Power Query Trim, clean, replace values and fix text case 6 min
  5. 158 Data types in Power Query Fix date, whole number, decimal and text types 7 min
  6. 159 Date columns in Power Query Add year, month and year-month fields for reports 7 min
  7. 160 Business logic in Power Query Custom and conditional columns for profitability 6 min
  8. 161 Group By in Power Query Summarise sales by month and region to validate data 5 min
  9. 162 Close and Load in Power Query Connection only, table or Data Model 5 min
15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 9 min From Folder: one query that stacks every file in a folder and cleans each with the same steps, with a column naming the file each row came from, so every entity's extract is cleaned by one refresh.
  1. 166 From Folder in Power Query Combine every sales file in a folder automatically 9 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.

How do financial controllers keep messy system extracts out of the monthly pack, and which Excel cleaning skills does it take?

Two sets of skills, and The Complete Excel Course with AI Integration from Coding Liquids teaches both: quick fixes on the worksheet for the file you see once, and a Power Query routine for the extract that comes back every close. The worksheet half clears stray spaces with TRIM, swaps bad spellings with Find and Replace (Lesson 22), removes repeated rows (Lesson 23) and proves completeness with COUNT and COUNTA (Lesson 35). The query half, on SalesFusion, an industry-standard project designed after talking with people from many different industries, records each clean-up as a step that replays on the next file (Lesson 157, Lesson 158) and totals the result for tie-out (Lesson 161). This page picks out 26 lessons, 2 hours 26 minutes in all, each tied to the extract it fixes. The data is the course's own, staff records and sales exports, and every step works the same on a trial balance or a subledger listing.

What does an unclean extract actually do to the figures a controller signs off?

It changes them quietly, which is why The Complete Excel Course with AI Integration treats cleaning as the first step of every report. A stray space or a second spelling makes one region appear twice in a PivotTable, splitting its total across two lines, and an empty row can make the PivotTable stop short of the data (Lesson 58). An amount held as text is skipped by SUM and SUMIFS with no error at all; COUNT ignores it too, which is exactly how Lesson 34 turns COUNT into a test. In Power Query a text column cannot be summed, so a report built on one looks fine and calculates wrong (Lesson 158). A repeated row counts twice (Lesson 23), and a code with one extra letter breaks a lookup (Lesson 70). None of these shows on the face of a pack. Each becomes a question from a director that you would rather have answered before the meeting.

Which clean-ups belong on the worksheet, and which should become a Power Query routine run every close?

The rule of thumb in The Complete Excel Course with AI Integration is simple: if the file will come back, clean it in a query. Worksheet tools suit the one-off: TRIM in a helper column pasted back as values, Find and Replace narrowed to one column so a stray dash goes without taking every other dash with it (Lesson 22), Flash Fill and Text to Columns for a split (Lesson 24, Lesson 25). They change the file in front of you, and next month's extract arrives with the same faults. Power Query records each change as a named step in Applied Steps (Lesson 156), reads the export without overwriting it, and replays every step on the next file at a refresh, the ETL idea set out in Lesson 154. For a controller the deciding point is the audit trail: a query shows what was done, in order, to every period's data, while edits on a sheet leave no record of themselves.

Each entity's extract arrives with stray columns, unnamed headers and blank rows: what puts the structure right?

A short run of steps that The Complete Excel Course with AI Integration teaches on both sides of Excel. On the worksheet, Lesson 58 deletes the empty row and column that would make a PivotTable stop early, then turns the cleaned range into a table, whose headers and filters travel with the data. In Power Query, the import records Promoted Headers for you, and Lesson 156 removes the temporary columns at the far right, renames every header and names each step so the routine reads like a checklist. When a lookup file arrives with Column1 to Column3 in place of names, Use First Row as Headers fixes it (Lesson 163). Lesson 89 adds the standard to aim for before any analysis: clear headers, no merged cells, one type of data per column and real dates. An entity extract that meets it can be stacked, totalled and refreshed; one that does not will fight every formula you put on it.

Figures stored as text drop out of totals without an error message: how would I catch them?

With a count first and a fix after, and The Complete Excel Course with AI Integration teaches both. COUNT counts only cells that hold numbers and COUNTA counts anything that is not empty, so the two set side by side on an amount column should agree; when COUNT comes out lower, a number held as text is hiding there, and when both come out below the number of rows, so is a blank (Lesson 34, Lesson 35). The same pair, as Lesson 35 shows, also catches a range that took its header in by mistake. Finding the cause comes next: a stray symbol, a comma or a dash typed into the figures, which Find and Replace clears on the worksheet (Lesson 22). For an extract that returns monthly, Power Query strips the money symbol, commas, NA and hyphens from every amount column (Lesson 157) and then sets each one to a true decimal type (Lesson 158), so the fault cannot creep back at the next close.

Our system exports some dates as text, so the period columns come out blank or wrong: is that covered?

Yes, from the first symptom to the lasting repair. The Complete Excel Course with AI Integration shows the symptoms early: a date column that sorts strangely is usually holding dates Excel reads as text (Lesson 20), and Lesson 74 meets a date Excel cannot read until it is typed day first. Power Query does the repair. Lesson 159 clears placeholders such as n/a and not a date, removes an impossible date that would break the conversion, sets the column to a date type and turns any remaining failures into nulls you can see, then adds year, month name, month number, month start and year-month columns, so periods sort in calendar order rather than alphabetically. Lesson 161 shows where unreadable dates end up, as a group of null months, which is your cue to go back to the extract. For a controller, a transaction that lands in no period is as wrong as one in the wrong period.

Cost centre names and account descriptions arrive with stray spaces and odd capitals: which lessons put them right?

Formulas on the worksheet first, then a Power Query step for the export that returns, all in The Complete Excel Course with AI Integration. Lesson 22 runs TRIM in a helper column, pastes the result back over the original as values and deletes the helper, the pattern that leaves a cleaned column free of formulas. Lesson 42 adds UPPER, LOWER and PROPER, nesting TRIM and PROPER in one formula for a column with both faults. Lesson 43 brings FIND, SEARCH and SUBSTITUTE, which changes a word across a whole column by formula instead of a risky manual replace. In Power Query, Lesson 157 trims, cleans and fixes case as steps that rerun on every export, which matters because Power Query treats North and NORTH as two different values. TRIM has a limit the course points out: it leaves line breaks and non-breaking spaces where they are. Once the names match, every cost centre totals on one line of the pack.

When extracts are stacked for the pack, what stops the same line being counted twice?

A unique reference and a duplicate check on it, which The Complete Excel Course with AI Integration teaches three ways. On the worksheet, the Duplicate Values rule colours every reference that repeats, and Remove Duplicates then clears the copies, with a choice that matters: Continue with the current selection removes values from one column only, while Expand the selection removes whole rows (Lesson 23). Filtering the table instead lets you decide which of two records stays. In Power Query, Lesson 160 removes duplicates on the order ID inside the query, after null checks, so the clean-up repeats itself on every refresh. A stack of period files carries a Source.Name column naming the file each row came from (Lesson 166), which tells you whether a repeated line is a true duplicate or two files overlapping. For a ledger extract, the journal number joined to its entity code makes the same kind of key.

Every entity sends its ledger extract in the same layout: can one set of cleaning steps handle the whole folder?

Yes, and for a controller it is one of the strongest lessons in The Complete Excel Course with AI Integration. Lesson 166 points Power Query at a folder, combines every file in it and opens a Transform Sample File where the cleaning is set once: header renames, Trim, UPPERCASE, Replace Values and data types. Each step then applies to every file in the folder, the ones there today and the ones saved next month, and a Source.Name column records which file each row came from, so an entity stays traceable after the stack. Column quality and column profile, switched to read the whole data set, show at a glance how much of each column is valid, in error or empty. The files must share a layout, as exports from one system normally do. Your close then begins with each entity's file saved to one place and a refresh, with the cleaning already done.

A preparer hands me a cleaned extract: what should I check before it feeds the pack?

Four things, each taught in The Complete Excel Course with AI Integration. Completeness: COUNT and COUNTA on the amount column should agree, and a gap points at blanks or figures held as text (Lesson 35). Totals: a Group By query that sums the data and counts its rows by month and region, biggest first, so a figure that looks too good stands out and the totals can be tied to the system's own report (Lesson 161). Repeats: the Duplicate Values rule on the reference column (Lesson 23). Consistency: the filter list of each text column, where a cost centre spelt two ways shows up as two entries, the way Lesson 158 spots numbers written as words. If the preparer cleaned in Power Query, the Applied Steps list shows every change in order (Lesson 156). A few minutes of these checks costs far less than a correction after the pack has gone to the directors.

Can Copilot draw up a cleaning plan for a messy extract, and which parts should stay with formulas or queries?

Yes, and The Complete Excel Course with AI Integration shows both what it does well and where your own tools take over. In Lesson 97 Copilot removes extra spaces from a messy sheet, offers one form for each inconsistent spelling, writes a cleaning plan covering text fields, redundant spaces, inconsistent casing and missing values, and standardises every text column as a cleaned column you choose to insert. Lesson 96 shows Copilot's cleaning suggestions appearing as soon as a messy file opens, for anyone whose Microsoft 365 includes Copilot, and Lesson 89 prepares data so Copilot reads it correctly. The division for a controller follows from what each leaves behind: Copilot's changes are made once, to one file, and need checking each time, whereas a query's steps are written down and replay unchanged on every period's export. Let the plan decide what needs doing, and let the query do it every close.

Can my team practise on the course's messy files before they touch a live close extract?

Yes: The Complete Excel Course with AI Integration ships its mess on purpose, with a starter and a finished file for each project. The worksheet lessons work on a raw sheet of staff records full of stray spaces, misspellings, mixed capitals and stray symbols (Lesson 22), with repeated IDs to find (Lesson 23). Lesson 46 sets a challenge of seven clean-up tasks on a messier list, from fixing capitals and splitting names to rebuilding emails and bringing IDs into one format, and Lesson 47 solves it step by step. SalesFusion's CSV exports carry money symbols, NA, numbers written as words and unreadable dates (Lesson 157 to Lesson 159). A new team member can make every mistake on those files, compare against the finished version, and arrive at the live trial balance already knowing the routine. It is also a fair way to set one cleaning standard across the whole team.

How much of close week could these lessons win back, and does any of it need Windows?

The worksheet fixes pay back the same day, and the Power Query routine pays back at every close after it. The Complete Excel Course with AI Integration keeps lessons short: TRIM, Find and Replace and the duplicate check take well under an hour together and work on the next extract you open. The Power Query run from Lesson 154 to the folder query in Lesson 166 takes longer to learn, and from then on an entity's extract is cleaned by a refresh rather than by hand. The whole path on this page is about 2 hours 26 minutes. None of it needs Windows: the course's requirements name Windows only for Power Pivot and Power Automate, and neither appears here, so a Mac running Excel from Microsoft 365 handles every lesson. The Copilot lessons need Copilot in your Microsoft 365; everything else needs only Excel. Lifetime access keeps each lesson ready for the next new export.

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.