The Complete Excel Course with AI Integration
Excel data cleaning for BI analysts
Every extract that reaches a BI analyst carries the same faults: stray spaces, labels spelt several ways, repeated keys, figures and dates stored as text, blank rows. The Complete Excel Course with AI Integration teaches you to clear them on the worksheet for a one-off request and in Power Query for the extract that comes back every week, on industry-standard projects, and this page picks out every lesson that does it.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Turn a raw extract into a well-formed Excel table: one header row, no blank rows or empty columns, one kind of value in each column, ready for PivotTables and lookups.
- Clear stray spaces, mixed capitals and misspellings out of dimension labels with TRIM, PROPER, Find and Replace and SUBSTITUTE, so one region never becomes two.
- Expose figures and dates stored as text with a COUNT against COUNTA check, then convert them to true types before a total or a measure reads them.
- Find repeated keys with a Duplicate Values rule and remove them as whole rows, choosing which record stays, before they inflate a fact table or confuse a lookup.
- Standardise variant labels against a mapping table with XLOOKUP, its own not-found answer and IFERROR, instead of a long nested IF.
- Record a clean-up once in Power Query, trimming, cleaning, typing and dating columns, so the same steps run again on every refresh and on every file in a folder.
- Prove a cleaned extract with a Group By query of totals and row counts by month and region before anything is reported.
- Use Copilot to spot inconsistencies and draft a cleaning plan, then check its changes against your own counts.
Projects
What you will build.
The course has 14 industry-standard projects. These five matter most here.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Cleaning as a pipeline: exports with symbols inside the figures, words where numbers belong and impossible dates, fixed by steps that replay at every refresh, mapped to lookup files by a left outer join and proved by a QA query.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
What a PivotTable needs from its source: trailing spaces and second spellings that would show one region twice, cleared with TRIM, PROPER and Find and Replace, and an empty row and column removed before the first pivot is built.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
The lookup half of cleaning: codes matched to names with VLOOKUP and XLOOKUP, a not-found answer of your own and IFERROR's readable message, the same moves a mapping table of variant labels relies on.
-
Project 14
Agentic AI in Excel
AI finds and fixes the formula; you check it before it counts.
A first pass by AI on a messy sales sheet: Copilot's suggestions remove extra spaces and settle each inconsistent spelling, then a cleaning plan and a cleaned column arrive for you to check before anything is replaced.
-
Project 02
Dunder Michael Paper Company employee database
Your worksheet toolkit on one deliberately messy employee list: a raw sheet of stray spaces, misspellings and doubled symbols, repeated IDs, names to split and departments to bring into line, finished with drop-downs that stop the mess returning.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 37 of them, 3 h 30 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 19 Excel tables
Start at Lesson 19: the lessons of Managing data in Excel are free by email and hand you the whole worksheet toolkit before the text formulas and Power Query. New to Excel? Begin at Lesson 1. Comfortable with the worksheet fixes already? Move on to the check for figures held as text at Lesson 34, then to the Power Query pipeline from Lesson 154.
37 of 186 lessons · 3 h 30 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) The whole worksheet toolkit on a raw employee list: a table that grows with its data, sorts and filters that bring oddities to the surface, TRIM, Paste Special values and Find and Replace, duplicate IDs removed, names split by Flash Fill and Text to Columns, frozen headers for scanning a long extract and print settings for a review copy.
- 19 Start here Excel tables Create and format a table, structured references and total row 8 min
- 20 Sorting data in Excel Single and multi-level sort on an employee database 6 min
- 21 Filtering data in Excel AutoFilter, text and number filters on employee data 10 min
- 22 Cleaning data in Excel TRIM, Paste Special values and Find and Replace 13 min
- 23 Remove duplicates in Excel Find and delete duplicate rows in an employee list 6 min
- 24 Flash Fill in Excel Split first and last names automatically 3 min
- 25 Text to Columns in Excel Split data by delimiter into separate columns 6 min
- 26 Freeze panes in Excel Lock header rows and columns while scrolling 3 min
- 27 Printing in Excel Print area, page orientation, scaling and page layout 6 min
04 Essential formulas and functions (IF, SUMIF and more) COUNT against COUNTA, the quickest test of a column that should hold only numbers, with distinct counts and completeness checks that show what an extract is missing before a KPI is built on it.
- 34 SUM, COUNT and COUNTA in Excel SUM with FILTER and counting numbers with COUNT 7 min
- 35 SUM, COUNT and COUNTA in Excel COUNTA, unique counts and completeness checks 4 min
05 Text functions and data validation (enhancing data quality) Text cleaned by formula: CONCAT and TEXTJOIN, TRIM with UPPER, LOWER and PROPER, FIND, SEARCH and SUBSTITUTE, a comma split, a drop-down list that keeps new entries clean, and a challenge on a messy list, solved after you try it.
- 41 CONCAT, the & operator and TEXTJOIN in Excel Combine text from multiple cells 6 min
- 42 TRIM, UPPER, LOWER and PROPER in Excel Clean messy text and fix capitalisation 6 min
- 43 FIND, SEARCH and SUBSTITUTE in Excel Locate and replace text with formulas 5 min
- 44 Text to Columns wizard in Excel Split a column by a comma delimiter 4 min
- 45 Data validation in Excel Create drop-down lists for consistent data entry 4 min
- 46 Ninja Challenge: problem Clean messy data with text functions and validation 4 min
- 47 Ninja Challenge: solution PROPER, Text to Columns and drop-down lists 7 min
07 PivotTables and PivotCharts: data analysis made easy The clean-up a PivotTable source needs: trailing spaces and second spellings removed with TRIM, PROPER and Find and Replace, an empty row and column deleted, and the result made a table.
- 58 Preparing data for PivotTables Clean data with TRIM, PROPER, find and replace 5 min
08 Advanced Excel functions: lookups, text and arrays XLOOKUP with an answer of its own when a code is not found, and IFERROR around VLOOKUP and XLOOKUP: the tools behind a mapping table that turns variant labels into one standard form.
- 69 XLOOKUP in Excel Exact match, if not found and two-way lookup 6 min
- 70 IFERROR in Excel Handle lookup errors in VLOOKUP and XLOOKUP formulas 3 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) A clean structure for an AI tool to read: clear headers, no merged cells, one data type per column and real dates, checked by asking Copilot to describe the table.
- 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) Copilot on a messy sheet: suspect rows found once you define the business rule, extra spaces removed, each inconsistent spelling settled and a cleaning plan drafted, every change checked by you.
- 96 Find outliers with Copilot in Excel Discounts, negative profit, suspect rows 7 min
- 97 Clean messy data with Copilot in Excel AI prompts plus Excel functions 4 min
11 MarketPulse campaign intelligence dashboard A source checked before a dashboard is built on it: Remove Duplicates run across the campaign table and Copilot asked to report inconsistencies in the data.
- 106 Clean and check marketing data in Excel Remove duplicates, Copilot KPI plan 4 min
15 SalesFusion: advanced data tools and a Power Query modelling system The repeatable clean-up: the ETL idea, a CSV brought in through Get Data, columns removed and renamed, text trimmed, cleaned and put in one case, symbols and NA stripped from figures, true data types, date fields, business logic and duplicates handled in the query, a QA query by month and region, connection-only loading and a left outer join to lookup files.
- 154 Introduction to Power Query in Excel The ETL workflow explained 5 min
- 155 Import a CSV with Power Query Get data from text and transform data 2 min
- 156 Clean columns in Power Query Remove and rename columns for modelling 5 min
- 157 Clean text in Power Query Trim, clean, replace values and fix text case 6 min
- 158 Data types in Power Query Fix date, whole number, decimal and text types 7 min
- 159 Date columns in Power Query Add year, month and year-month fields for reports 7 min
- 160 Business logic in Power Query Custom and conditional columns for profitability 6 min
- 161 Group By in Power Query Summarise sales by month and region to validate data 5 min
- 162 Close and Load in Power Query Connection only, table or Data Model 5 min
- 163 Merge queries in Power Query Look up product and region names with a left join 5 min
15 SalesFusion: advanced data tools and a Power Query modelling system A folder of period files combined into one table, each file cleaned by the same steps, with column profiling over the entire data set to show what a new file brings.
- 166 From Folder in Power Query Combine every sales file in a folder automatically 9 min
15 SalesFusion: advanced data tools and a Power Query modelling system Unpivot for the report-shaped export with a column per month, turned into the long table that PivotTables and data models read, still working when a new month column appears.
- 173 Unpivot columns in Power Query Turn wide month columns into a long table 8 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.
What should an Excel data cleaning course give a business intelligence analyst beyond tidying one file?
The Complete Excel Course with AI Integration from Coding Liquids teaches it in two layers, and a BI analyst needs both. The worksheet layer handles the one-off request: TRIM, Find and Replace, Remove Duplicates, Flash Fill and Text to Columns on a raw employee list (Lesson 22 to Lesson 25), text formulas and drop-downs (Lesson 41 onwards), and a COUNT against COUNTA test for figures held as text (Lesson 35). The pipeline layer handles the extract that returns: SalesFusion records every fix in Power Query, from trimming and typing columns to a QA query and a folder of files cleaned on refresh (Lesson 154 onwards). This page gathers 37 lessons, 3 hours 30 minutes in all, on industry-standard projects designed after talking with people from many different industries, each with deliberately messy starting files and a finished version to compare, so your first clean extract is checked against a working answer.
Which faults must be gone from an extract before a PivotTable, a data model or Power BI reads it?
Five things, and The Complete Excel Course with AI Integration teaches each. One header row with clear names and no merged cells, which Lesson 89 checks by asking Copilot to describe the table. No blank rows or empty columns inside the data, because an empty row can make a PivotTable think the data ends early (Lesson 58). One kind of value per column, figures held as numbers and dates as dates (Lesson 158, Lesson 159). One spelling per label, so a region or a product never splits into two groups (Lesson 42, Lesson 58). And one row per key in any table that another table looks up (Lesson 23). Then make it an Excel table, so rows added later join every PivotTable at the next refresh (Lesson 19). An extract that meets all five behaves the same in a PivotTable, a data model or a BI tool, which is exactly why the clean-up is worth doing properly once.
Labels arrive as abbreviations and typos from different systems: should I fix them with formulas, Find and Replace or a mapping table?
All three have a place, and The Complete Excel Course with AI Integration teaches each with a clear use. Find and Replace suits a handful of known variants, fixed once on the sheet, with the column selected first so the change goes nowhere else (Lesson 22). Formulas suit faults with a pattern: TRIM for spaces and PROPER or UPPER for capitals (Lesson 42), SUBSTITUTE for a recurring wrong word (Lesson 43). A mapping table suits the long tail: list every variant beside its standard form and look it up with XLOOKUP, whose own not-found answer (Lesson 69) marks any variant the table does not know yet, or with VLOOKUP wrapped in IFERROR (Lesson 70). The lessons map department and location codes to names, and a table of variant labels works the same way. For an extract that keeps returning, Power Query's merge with a left outer join applies the mapping at every refresh (Lesson 163).
Figures and dates arrive as text from the source system: how do I find them before a total or a measure comes out wrong?
Count them first, then convert them, and The Complete Excel Course with AI Integration teaches both halves. COUNT counts only true numbers while COUNTA counts anything that is not empty, so a column that should be numeric but gives two different answers is hiding something that is not a number (Lesson 34, Lesson 35). Dates give themselves away in a sort: a column that orders strangely is usually holding text (Lesson 20). The fix that lasts is in Power Query: Lesson 157 strips the money symbols, commas and NA entries out of the figures, Lesson 158 sets true number types after replacing quantities written as words, and Lesson 159 clears placeholder text and an impossible date before the column becomes a real date. The stakes show later in the course, when a DAX measure fails on sales held as text and the fix goes back into the query (Lesson 170, which needs Excel for Windows).
Is Power Query the best Excel tool for data cleaning, or do the worksheet fixes still earn their place?
Power Query is the right tool for anything that feeds a recurring report, and the worksheet fixes stay the fastest for a one-off, so The Complete Excel Course with AI Integration teaches both. In Power Query every fix becomes a named step in Applied Steps (Lesson 156), replayed in order on each refresh, and the source file is only read, never edited, so the raw extract stays exactly as the system produced it (Lesson 155). On the worksheet, TRIM in a helper column with Paste Special values over the original, Find and Replace, Remove Duplicates, Flash Fill and Text to Columns clear a file quickly (Lesson 22 to Lesson 25), the right speed for an urgent question from a stakeholder. The choice comes down to one question: will this file come back? If it will, record the clean-up once in a query; if not, fix it in the sheet and move on to the analysis.
Where do I record how nulls, outliers and mapping rules were handled, so stakeholders trust the figures?
In the workbook itself, and The Complete Excel Course with AI Integration gives you three places for it. The first is a notes sheet, the habit Lesson 13 starts when it splits a workbook into a dashboard, the raw transactions and notes that explain them; a short log of each decision there answers most questions before they are asked. The second is Power Query's Applied Steps, where every change is recorded in order and each step can be renamed to say what it does (Lesson 156), so the clean-up documents itself. The third is a check you can show: a reference query that totals sales and counts rows by month and region, biggest first, so a figure that looks too good stands out and the loaded data ties back to its source (Lesson 161). Business rules such as a margin or a high-value flag sit inside the query as well (Lesson 160), so no two reports work them out differently.
Do repeated keys do more damage in a fact table or in a lookup table?
Both, in different ways, and The Complete Excel Course with AI Integration teaches you to find and remove each. In a fact table a repeated row inflates every total built on it, one sale counted twice in each PivotTable and chart. In a lookup table the harm is quieter: a code listed twice means a lookup returns whichever copy it meets first, and a data model will not accept that table as the lookup side of a relationship, where each code must appear once (Lesson 169, which needs Excel for Windows). The worksheet method is in Lesson 23: the Duplicate Values rule shows the repeats, then Remove Duplicates takes whole rows or a table filter lets you choose which record stays. COUNTA wrapped round UNIQUE gives a distinct count to set beside the row count (Lesson 35), and Power Query removes duplicates on the key inside the query, so they never come back (Lesson 160).
Can ChatGPT or Copilot clean an extract well enough to feed a report the business acts on?
They can do the first pass, and The Complete Excel Course with AI Integration shows how far to trust it. Open a messy file with Copilot and cleaning suggestions appear; in Lesson 97 they remove the extra spaces and settle each inconsistent spelling of a region or product once you pick the standard form, then Copilot drafts a cleaning plan and offers a cleaned column to insert. Lesson 96 finds suspect rows, but only after you define what high and low mean. ChatGPT works on an uploaded copy and hands back a changed file, as the AI lessons show with formula columns (Lesson 95), and it plans an analysis well (Lesson 100). For data behind a published figure, the deciding difference is repeatability: an AI answer is a one-off to check every time, while a Power Query step does the same thing on every refresh. Copilot has to be part of your Microsoft 365; the ChatGPT steps work with a free account.
Automated data cleaning in Excel: can next week's extract go through the same steps without me?
Yes, and that is Power Query's whole purpose in The Complete Excel Course with AI Integration. The ETL idea comes first (Lesson 154): extract, transform to one set of rules, load, with the saved steps repeated on every fresh file. SalesFusion then builds the steps you will reuse, from trimmed codes to typed columns and date fields, keeps the working queries as connections and loads only the clean result (Lesson 162). Lesson 166 takes it furthest for a BI analyst: point a query at a folder, set the cleaning on a sample file, and every file in the folder is stacked and cleaned by the same steps, with the next one picked up at a refresh. Column profiling across the entire data set, with column quality and distribution switched on, shows at a glance whether a new file brought new faults. Refresh All does the rest, and the extract you used to fix by hand on a Monday morning arrives clean.
My extract carries blank rows, empty columns and a stray total row: what breaks, and how are they cleared?
Totals and ranges break, and The Complete Excel Course with AI Integration clears each kind. An empty row inside the data can make a PivotTable treat everything below it as missing, which is why Lesson 58 deletes the empty row and column before the table is made. A stray total or summary row does more harm, because it adds itself into every sum: a text filter with Contains finds every row labelled that way (Lesson 21), so it can be deleted before anything is counted. Sorting gathers the blanks of a column at its foot, where they are easy to inspect (Lesson 20). Inside Power Query the same faults become steps: nulls are found through the column filters and kept out of the reporting table (Lesson 160, Lesson 161), and Close and Load sends only the finished table to a sheet. A report-shaped export with a column per month is reshaped by Unpivot (Lesson 173), so every month becomes rows a PivotTable can read.
Are there messy files to practise on, with a worked solution to compare?
Yes, and every one is faulty on purpose. The Complete Excel Course with AI Integration opens the worksheet lessons on a raw employee dataset full of stray spaces, misspellings, mixed case, doubled @ signs and dashes inside the salary figures (Lesson 22), and the completed list is there to check against. The Ninja Challenge of the text and validation lessons gives you seven clean-up tasks on an even rougher list, from casing and split names to rebuilt emails, uniform locations and one ID format, then works through them after you have had your go (Lesson 46, Lesson 47). The PivotTable lessons supply a raw and a cleaned workbook (Lesson 58), the AI lessons a sales sheet broken deliberately (Lesson 97), and SalesFusion a set of CSV exports with symbols inside figures, quantities spelt out in words and dates no calendar holds. Work through all of them before touching a live extract; the course page also has free lessons to watch first.
Once an extract is clean, what does a BI analyst build on it in this course?
Every layer of an Excel BI report, which is the reason the cleaning comes first in The Complete Excel Course with AI Integration. A clean sales table becomes PivotTables with slicers and PivotCharts that refresh when the data changes (SalesPlusPerformance, from Lesson 57). Clean codes join across sheets with XLOOKUP and INDEX with MATCH (the PeopleInsight HR workbook, from Lesson 67). A checked campaign table becomes MarketPulse, a dashboard of KPI cards, PivotCharts, a timeline and slicers (Lesson 105 onwards). And SalesFusion's clean queries load into a Power Pivot data model with relationships and DAX measures behind an interactive dashboard, lessons that need Excel for Windows (Lesson 169 onwards). Each of those industry-standard builds fails in a recognisable way on dirty data, a region split in two or a total short by the rows held as text, so cleaning well is what makes every later layer trustworthy.
How soon does this pay off on a real extract, and does any of it need Windows?
Early: the worksheet toolkit at the start of the path cleans a raw list long before the Power Query lessons add the version that repeats itself. The whole path takes 3 hours 30 minutes. Nothing on it needs Windows: the requirements of The Complete Excel Course with AI Integration name Windows only for Power Pivot and Power Automate, and neither has a lesson on this page, so the cleaning runs in Excel on Windows or a Mac, with the keyboard shortcuts shown the Windows way. Windows enters only after cleaning, when SalesFusion builds its data model in Power Pivot. Lifetime access keeps every lesson ready for the next unfamiliar extract, and the Certificate of Completion you earn at the end carries a verification link an employer can check. With the instructor support plan, a question about your own messy export goes to the instructor and comes back answered in writing, which no free tutorial offers.
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 BI analysts
- Lookups for BI analysts
- PivotTables for BI analysts
- Excel charts for BI analysts
- Excel dashboards for BI analysts
- Conditional formatting for BI analysts
- Data validation for BI analysts
- Excel tables for BI analysts
- Text functions for BI analysts
- Date functions for BI analysts
- Dynamic arrays for BI analysts
- Power Query for BI analysts
- Power Pivot and DAX for BI analysts
- Macros and VBA for BI analysts
- Power Automate for BI analysts
- Copilot in Excel for BI analysts
- ChatGPT for Excel for BI analysts
- Claude in Excel for BI analysts