The Complete Excel Course with AI Integration
Excel data cleaning for procurement officers
Spend analysis is only as good as the export behind it, and a purchasing system's export rarely arrives clean: one supplier spelt three ways, codes with stray spaces, amounts held as text, a PO pasted in twice. The Complete Excel Course with AI Integration teaches the clean-up on industry-standard projects with deliberately messy files, and this page picks the lessons a buyer needs, from TRIM and Find and Replace to a Power Query pipeline that cleans each new export by itself.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Merge one supplier's variant spellings into a single name with TRIM, PROPER, Find and Replace and SUBSTITUTE, so a PivotTable or a SUMIFS total shows that supplier once.
- Turn the amounts, quantities and dates of an ERP export from text into real numbers and dates, and prove the change with COUNT against COUNTA.
- Remove orders exported twice with Remove Duplicates, ticking the columns that make a line unique so a multi-line PO keeps every genuine line.
- Split a combined supplier code and name, or a crowded description, into clean columns with Text to Columns and Flash Fill.
- Keep fresh variants out of a cleaned list with drop-down lists for supplier, category and cost centre fed from an approved list.
- Record the whole clean-up once in Power Query, trimmed, cased, typed and dated, and replay it on every new export, a folder of monthly files included.
- Check a cleaned file against its source with a Group By query of totals and row counts before a single spend figure is reported.
- Have Copilot propose a clean-up of a messy sheet, then test what it changed against a short checklist before the data moves on.
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.
Power Query on deliberately broken CSV exports: money symbols, commas and NA inside amounts, quantities typed as words, codes in mixed case and unreadable dates, all fixed as recorded steps that run again on next month's file and on each file saved in one folder.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Shows why cleaning comes first: its raw sales sheet carries a stray space and inconsistent text that would make one region appear twice, and Lesson 58 fixes them before the first PivotTable, exactly the order a spend summary by supplier needs.
-
Project 14
Agentic AI in Excel
AI finds and fixes the formula; you check it before it counts.
Copilot tackles a deliberately messy sheet in Lesson 97, removing extra spaces and standardising spellings, and Lesson 99 supplies the checklist a buyer runs before an AI-cleaned supplier name reaches a spend report.
-
Project 02
Dunder Michael Paper Company employee database
Messy on purpose, like a supplier master after years of free typing: a Raw Data sheet of stray spaces, misspellings, mixed case and stray symbols, IDs that repeat, names to split, and a Ninja Challenge that cleans a whole list in seven tasks. The lessons clean employee records; a vendor list takes the same steps.
-
Project 03
Sales Goal Tracker
Home of the completeness checks: COUNT says how many cells in a column hold real numbers and COUNTA how many hold anything, so the gap between them is the number of amounts your export sent as text, and the gap between COUNTA and the number of rows is how many it left empty.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 28 of them, 2 h 42 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 19 Excel tables
Start at Lesson 19 if you can enter data and write a simple formula: the table comes first, then the sorts, filters and fixes that clean a list by hand. New to Excel? Begin at Lesson 1 and return here once the basics are in place. Already confident with TRIM and Find and Replace? Go to Lesson 154 and hand the routine to Power Query.
28 of 186 lessons · 2 h 42 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) The worksheet toolkit: an Excel table that grows with the data, sorts that put near-identical names side by side, filter lists that show every spelling a column holds, TRIM with Paste Special values, Find and Replace narrowed to one column, Duplicate Values and Remove Duplicates, Flash Fill and Text to Columns. The lessons tidy an employee list; a supplier export takes the same treatment.
- 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
04 Essential formulas and functions (IF, SUMIF and more) SUM, COUNT and COUNTA, with a count of unique values and a completeness check: the fast tests that show whether a column of amounts holds numbers or text, how many suppliers a list really has and whether a field came through empty.
- 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 repaired by formula: TRIM nested with PROPER, UPPER and LOWER, FIND, SEARCH and SUBSTITUTE for a wording that must change everywhere, Text to Columns on a comma, a drop-down list that keeps future entries clean, and a Ninja Challenge on a messy list, attempted before its solution.
- 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 Preparing data for PivotTables: a stray space or a second spelling makes one value appear twice in a summary, so the lesson cleans with Find and Replace, TRIM and PROPER, removes an empty row and column, and turns the range into a table. A spend summary by supplier needs the same preparation.
- 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) Copilot on a messy sheet: suspect rows and outliers found on request, then extra spaces removed and inconsistent spellings standardised with prompts plus Excel functions, and a cleaning plan for text fields, casing and missing values.
- 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
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) A short QA checklist for whatever Copilot produced: the exact data selected, the time frame consistent, every result tied to the right source, and a final honest look at every number.
- 99 Check AI output in Excel A quick QA checklist for Copilot results 2 min
15 SalesFusion: advanced data tools and a Power Query modelling system Power Query from import to proof: 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 replaced, true number and date types, year and month fields, duplicates removed inside the query, and a Group By query that totals and counts the rows to validate the result.
- 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
15 SalesFusion: advanced data tools and a Power Query modelling system From Folder: every export saved in one folder combined into a single table and cleaned by the same steps, so a new month's file is picked up and cleaned at the next refresh.
- 166 From Folder in Power Query Combine every sales file in a folder automatically 9 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.
Can a procurement officer learn Excel data cleaning that stops one supplier showing up as three in the spend figures?
Yes, and that is precisely the fault The Complete Excel Course with AI Integration from Coding Liquids trains you to remove, in a path of 28 lessons that takes 2 hours 42 minutes. Three spellings of one supplier are three suppliers to Excel, so every total by vendor understates your biggest relationships and every supplier count overstates the base you manage. The path cleans in the order a buyer needs: trim and re-case names, merge variants with Find and Replace and SUBSTITUTE, convert text amounts and dates, remove duplicate lines, then record the routine in Power Query so next month's export cleans itself. Every step is practised on deliberately messy files from industry-standard projects designed after talking with people from many different industries, each with a starter file and a finished one to compare against. The data is employee lists and sales exports; the faults are the very ones a purchasing export carries.
Why does one supplier take several lines in my spend PivotTable when the names look identical?
Because to Excel they are not identical, and The Complete Excel Course with AI Integration shows you the invisible difference. A trailing space, a doubled space in the middle or a second spelling such as Ltd against Limited makes a separate entry, and a PivotTable dutifully gives each one its own row. Lesson 58 is built around this problem: before its first PivotTable it runs Find and Replace on a column, TRIM in a helper column pasted back as values and PROPER on the names, then deletes an empty row that would make the PivotTable think the data ended early. Capitals on their own do not split a PivotTable, which groups them together; spaces and spellings do. Power Query is stricter and treats capitals as different values as well, which is why Lesson 157 sets one case on every code. Clean first, and spend by supplier finally shows each vendor once, with its true total.
Which cleaning formulas does a buyer actually need, and which jobs are faster without one?
A handful of formulas and three formula-free tools, and The Complete Excel Course with AI Integration teaches each where it fits best. TRIM removes leading, trailing and doubled spaces; PROPER, UPPER and LOWER set one case (Lesson 42); SUBSTITUTE swaps one wording for another and FIND and SEARCH locate text inside a cell (Lesson 43). These formulas work in a helper column whose results are pasted back over the original with Paste Special values, after which the clean text no longer depends on a formula. Find and Replace fixes a spelling across a column in one pass (Lesson 22), Flash Fill copies a pattern you start by hand (Lesson 24), and Text to Columns cuts a field at a delimiter (Lesson 25). A practical split for purchasing files: a formula when the fix must stay visible and be repeated, a tool when it is one pass over this week's file. Both sit on this path.
Category labels drift, such as IT Hardware, Hardware and Computer Kit: how do they become one category before spend is totalled?
By choosing one approved name and mapping every variant to it, and The Complete Excel Course with AI Integration teaches three ways to do that. Find and Replace changes every occurrence of a wording at once (Lesson 22), with the caution the lesson draws from experience: select the column first, because a replacement left to run over the whole sheet removed far more than intended. SUBSTITUTE makes the same swap by formula, so the change is visible and can be repeated (Lesson 43). For a long tail of variants, a small mapping list of variant and standard name, read with XLOOKUP (Lesson 69), relabels every row in one column. Once the categories are clean, a drop-down fed from the approved list (Lesson 45) stops new variants creeping back. The lessons tidy departments and job titles; a category taxonomy takes identical steps, and spend by category finally adds up.
Quantities and amounts arrive as text in the ERP export: how will I spot them, and what fixes them?
COUNT spots them and Power Query fixes them for good, both taught in The Complete Excel Course with AI Integration. COUNT counts only cells holding real numbers and COUNTA every filled cell, so a column of amounts where COUNT falls short of COUNTA is carrying text, and one where COUNTA falls short of the row count is carrying blanks (Lesson 35). That gap is why a SUMIFS total can come out quietly too low. On the worksheet the usual culprits are stray symbols and spaces, cleared with Find and Replace and TRIM (Lesson 22). In Power Query, Lesson 157 strips the money symbol, commas, hyphens and NA from the amount columns, and Lesson 158 gives every column its true type, decimal for amounts and whole number for quantities, after replacing quantities written as words and bringing percentages typed two ways onto one scale. A report on text columns can look right and total wrong; after these lessons the totals are real.
Lead times come out as nonsense because some order dates are text: how does the course fix them?
On the worksheet and in Power Query, and The Complete Excel Course with AI Integration explains the cause before the cure. Lesson 20 gives the first clue: a date column that sorts strangely may hold dates Excel reads as text, so the column is checked and set as real dates before any sort. Lesson 74 adds the second: Excel stores dates as numbers, so an odd result from date arithmetic usually means one of the dates is text, and a date with its day and month the wrong way round is retyped to cure it. For exports that arrive this way every month, Lesson 159 clears placeholders such as n/a and impossible dates, sets the Date type, replaces the errors left behind and adds year, month and year-month columns. Order, promised and delivery dates then sort, filter and subtract properly, so lead times and late deliveries are measured from real dates.
A PO with several lines repeats its number on every row: how do I remove true duplicates without losing real lines?
By telling Excel which columns make a line unique, and The Complete Excel Course with AI Integration shows where that choice is made. In Lesson 23 the Remove Duplicates dialog lists the columns with a tick beside each: tick only the PO number and every multi-line order collapses to one row, which would wreck your spend; tick the PO number with the line number, or with the item and quantity, and only rows that match in every ticked column go. The lesson also sets Continue with the current selection, which edits one column, against Expand the selection, which removes whole rows, and uses the Duplicate Values highlight so you look before deleting anything. In Power Query, Lesson 160 removes duplicates inside the query, so a period exported twice cannot double the spend again. The lesson's IDs belong to employees; on a purchase register the same dialog decides which rows are genuine.
The ERP puts supplier code and name in one cell: can Excel split them?
Yes, two ways, and The Complete Excel Course with AI Integration teaches when each one suits. Text to Columns cuts a field at a delimiter by a strict rule: Lesson 25 splits full names at the space and email addresses at the @ sign, and Lesson 44 splits a city and state at a comma, with Treat consecutive delimiters as one so a doubled separator cannot push data into the wrong column. A code and a name joined by a hyphen or a slash come apart the same way. Flash Fill (Lesson 24) follows a pattern instead: type the first supplier name on its own, press Ctrl+E, and Excel completes the column, which is worth checking in case it has gone off script. Insert an empty column first, as the lessons do, or the split overwrites its neighbour. With code and name apart, the code can drive your lookups and the name a readable report.
What should be done with the raw export before cleaning starts, so nothing is lost?
Keep it exactly as the system produced it, and The Complete Excel Course with AI Integration teaches two ways of working that make that easy. On the worksheet, the TRIM and PROPER fixes in Lesson 42 are made in a helper column first; only once the result is right is it pasted back as values and the helper deleted, and the Excel table of Lesson 19 keeps the list in one block that grows with every paste. In Power Query the source is never edited at all: Lesson 155 connects to the CSV through Transform Data, every change is stored as a named step in Applied Steps (Lesson 156), and clicking a step shows the data as it stood at that moment. That is the trail a category manager or an auditor can follow when asked why a supplier's spend moved after cleaning. Save a copy before any worksheet clean-up; with Power Query the original stays untouched by design.
Every month the ERP sends the same messy file: can the clean-up be recorded once and replayed?
Yes: that is what Power Query does, and The Complete Excel Course with AI Integration builds it step by step. The ETL idea comes first (Lesson 154): extract, transform, load, with the transform recorded once and replayed. Then the SalesFusion export is cleaned the way a purchasing file needs, columns removed and renamed, codes trimmed and set in capitals, symbols and NA stripped, true types and date fields set (Lesson 156 to Lesson 159). From then on, Refresh runs every step again on the new file. Lesson 166 goes further: point a query at a folder and every export saved there is combined and cleaned by the same steps, so a year of monthly files becomes one clean table and the next month joins on refresh. The lessons use sales exports; a purchase export from an ERP system is exactly the kind of file the method handles, and an afternoon of clean-up becomes one click.
Category managers will question the cleaned spend figures: what proof can I show that nothing was dropped?
Control totals and counts, and The Complete Excel Course with AI Integration builds both. On the worksheet, SUM gives the total, COUNT and COUNTA count the numeric and filled cells, and COUNTA wrapped round UNIQUE counts how many distinct suppliers a list really holds (Lesson 34, Lesson 35); set each beside the system's own report before and after cleaning. In Power Query, Lesson 161 makes a reference query that groups the cleaned data by month and region, totals the sales and counts the rows, sorted biggest first so a figure that looks too good stands out. Swap region for supplier or category and the same query becomes your reconciliation: spend and line count per month that should match the system exactly. A clean-up that changes a total has removed something it should not, and this check catches it before the spend report goes to anyone.
Can Copilot tidy a vendor list full of near-duplicate names, and how would I check its work?
It can make a fast first pass, and The Complete Excel Course with AI Integration teaches both the pass and the check. In Lesson 97 Copilot meets a deliberately messy sheet with stray spaces and regions and products spelt several ways: it removes the extra spaces, you pick or type the one form each variant should become, and it offers a cleaned column to insert, along with a cleaning plan covering text fields, casing and missing values. The point it makes holds for every vendor master: to Excel, one name written three ways is three suppliers. Lesson 96 adds a hunt for suspect rows and outliers, and Lesson 99 gives the checklist: the exact data selected, the source named, and a final honest look at every figure. To run these lessons on your own machine, Copilot must be included in your Microsoft 365. When a merge decides who a supplier actually is, you stay the judge and the AI does the typing.
Before I touch our live spend data, are there messy files to practise on?
Yes, files broken on purpose, which is what makes this path worth far more than a help page. The Complete Excel Course with AI Integration hands you a Raw Data sheet of stray spaces, misspellings, mixed case and stray symbols (Lesson 22), an employee list whose IDs repeat (Lesson 23), a Ninja Challenge whose seven tasks clean an entire messy list before you see the solution (Lesson 46, Lesson 47), a raw sales file to prepare for PivotTables (Lesson 58), and the SalesFusion CSVs, with symbols inside amounts, quantities written as words and dates that refuse to read as dates. Each project comes with a starter file and a finished one, so every clean-up can be checked against a working answer. Free lessons on the course page let you judge the teaching before buying. What you practise on here is what a purchasing system sends on a bad day.
Our spend review is next month: how quickly can a buyer with everyday Excel get through this path?
Comfortably in time: the worksheet methods are yours within days, and the whole path is 2 hours 42 minutes. In The Complete Excel Course with AI Integration the first useful fixes come early, tables, sorts and filters to see the mess, then TRIM, Find and Replace and Remove Duplicates, each a short lesson that works on this week's export straight away. The text functions and completeness checks follow, and the Power Query lessons turn the routine into a query that cleans every new file for you. Everyday Excel is all you need, and each project begins from a starter workbook. The course's requirements name Windows only for Power Pivot and Power Automate, and none of their lessons is on this page; the shortcuts shown are the Windows ones. Lifetime access keeps every lesson on hand when a new system sends a new kind of mess, and completing the course earns a Certificate of Completion an employer can verify.
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 procurement officers
- XLOOKUP and VLOOKUP for procurement
- Pivot tables for procurement
- Charts for procurement officers
- Excel dashboards for procurement
- Conditional formatting for procurement
- Data validation for procurement
- Excel tables for procurement
- Text functions for procurement
- Date functions for procurement officers
- Dynamic arrays for procurement officers
- Power Query for procurement officers
- Power Pivot and DAX for procurement
- Macros and VBA for procurement
- Power Automate for procurement
- Copilot in Excel for procurement
- ChatGPT for Excel for procurement
- Claude in Excel for procurement