The Complete Excel Course with AI Integration
Excel data cleaning for accountants
No export arrives ready to report on: a space after an account code, one supplier spelt three ways, invoice lines repeated, amounts held as text, and every SUMIFS, lookup and PivotTable built on it is quietly wrong. The Complete Excel Course with AI Integration teaches the whole clean-up on industry-standard projects, and this page picks out its lessons in working order: find the faults, fix them with TRIM, Find and Replace, Remove Duplicates and Text to Columns, then let Power Query and Copilot repeat it.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Strip leading, trailing and doubled spaces out of account codes, supplier names and descriptions with TRIM, and paste the results back as values so SUMIFS and lookups match every row again.
- Bring every department, cost centre and customer name to one spelling and one case with Find and Replace, PROPER, UPPER and SUBSTITUTE, with Replace All held to the column you selected.
- Catch repeated invoice or journal lines with the Duplicate Values highlight and Remove Duplicates, and decide which copy of a record goes before a total counts it twice.
- Split a crowded column, a code with its description or a full name in one cell, into clean columns with Text to Columns and Flash Fill, without overwriting the figures beside it.
- Sort and filter a ledger listing in an Excel table until every odd spelling, blank and text-formatted date is in view, before a figure built on it is trusted.
- Prove a clean-up with COUNT, COUNTA and a table's Total row: the same row count and the same total before and after, unless you meant to remove something.
- Record the clean-up once in Power Query, with trimmed codes, replaced symbols and true number and date types, and replay it on next month's export at a refresh.
- Hand a long, messy listing to Copilot for a first pass on extra spaces and mismatched spellings, then test what it changed against a short checklist.
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.
Shows what dirty text does to a report and how to prevent it: a region typed with a trailing space or under a second spelling appears twice in a PivotTable until TRIM, PROPER and Find and Replace put it right, just as one account would split into two lines of a summary.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
The clean-up made permanent: exports with symbols inside the amounts, NA where a figure belongs and dates that will not read as dates are put right by Power Query steps recorded once and replayed on every file that follows.
-
Project 14
Agentic AI in Excel
AI finds and fixes the formula; you check it before it counts.
Copilot set to work on a sheet that is messy on purpose: it offers to remove extra spaces, settles each mismatched spelling on one form and drafts a cleaning plan, and a short checklist tests what it changed before you rely on it.
-
Project 02
Dunder Michael Paper Company employee database
The practice ground for every hand tool on this page: a raw sheet with stray spaces, misspellings, doubled symbols and repeated IDs, cleaned step by step into a table you can sort, filter and total. The records are employees; the faults are the ones a ledger export arrives with.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 25 of them, 2 h 23 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 cleaning lessons open there on a raw list, and that whole section, Managing data in Excel, is free by email from the course page with its practice files, so your first clean-up costs nothing. New to Excel? Begin at Lesson 1 and the course brings you here in order. Already quick with TRIM, Find and Replace and Remove Duplicates? Go to Lesson 155, where Power Query records the clean-up once and replays it on every export after.
25 of 186 lessons · 2 h 23 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) Where the clean-up starts, on a raw list with every common fault. The list becomes an Excel table, sorting and filtering bring odd spellings, blanks and text dates into view, and the fixes follow: TRIM in a helper column, Paste Special values, Find and Replace held to one column, duplicate IDs highlighted and removed, names and emails split with Flash Fill and Text to Columns. Frozen headers and a one-page print set-up finish the job, so the cleaned listing can be reviewed line by line and handed over. The lessons use employee records; a ledger or supplier listing carries the same faults.
- 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) Counting as a control. COUNT counts the cells that hold real numbers and COUNTA every filled cell, so an amount that Excel is holding as text shows as a gap between the two, and a blank as a gap between either count and the number of rows, before any total is trusted, and UNIQUE inside COUNTA says how many distinct values a column really holds. The lessons count sales rows; run the same checks on a listing before and after you clean 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) Cleaning by formula, and stopping the mess at its source: TRIM with UPPER, LOWER and PROPER for spaces and capitals, FIND and SEARCH to locate text inside a cell, SUBSTITUTE to swap it, and the Text to Columns wizard to split a column at its comma. A drop-down list then admits only approved entries, and a Ninja Challenge hands you a messier list with seven tasks and a worked solution, the nearest thing to a real export on a deadline.
- 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 Cleaning for analysis: the checks to run on a listing before a PivotTable reads it. Mixed capitals are put right with Find and Replace, trailing spaces with TRIM, names with PROPER, an empty row and column are deleted, and the range becomes a table. The lesson uses sales orders, where one region typed two ways shows as two lines of the summary; an account or cost centre does the same.
- 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 the same job. It lists the rows that break a rule you set and shows why a vague request for unusual values needs your definition first; then it cleans a sheet that is messy on purpose, removing extra spaces, settling each inconsistent spelling on one form and drafting a cleaning plan. Useful as a first pass on a long listing, with you checking what it changed.
- 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
15 SalesFusion: advanced data tools and a Power Query modelling system The clean-up that repeats itself. Power Query brings a CSV in through Get Data and records each fix as a step: surplus columns removed and headers renamed, codes trimmed and set to capitals, money symbols, commas and NA cleared from the amounts with Replace Values, every column given its true type, and placeholder or impossible dates replaced before the column becomes real dates with year and month fields beside it. Next month's file gets the same treatment at a refresh.
- 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
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 does an accountant need to know about data cleaning in Excel?
Three things: how to find the faults in an export, which tool fixes each one, and how to stop repeating the job every month. The Complete Excel Course with AI Integration from Coding Liquids teaches all three on industry-standard projects, each designed after talking with people from many different industries. You sort and filter a raw list until its stray spaces, mixed spellings and repeated IDs are in plain view, fix them with TRIM, Find and Replace, Remove Duplicates, Flash Fill and Text to Columns, then record the same clean-up in Power Query so the next export is cleaned at a refresh. This page picks out the 25 lessons that carry that work, 2 hours 23 minutes in all, and ties each to the listings an accountant handles: ledger detail, bank lines, supplier and customer lists. Every stage comes with a messy file to clean and a finished one to check against.
My lookups and SUMIFS miss rows that look identical: is that a data cleaning problem?
Almost always, and it is the first fault these lessons fix. A code with a space after it is a different code to Excel, so SUMIFS leaves its rows out of the total and a lookup finds nothing, while the two cells look the same on screen. In The Complete Excel Course with AI Integration, Lesson 22 writes TRIM in a helper column beside the faulty one, then pastes the results back as values with Paste Special, so the clean text no longer depends on a formula. Lesson 42 repeats the method on job titles and emails and nests TRIM with PROPER to settle the capitals too. The lookup lessons add the control: XLOOKUP gives its own answer when a code is not found (Lesson 69), and IFERROR makes any lookup that fails say NOT MATCHED (Lesson 70), so a code that still fails says so in words instead of leaving a silent gap in a reconciliation.
One supplier appears under three spellings in my listing: which tools put that right?
Three, each for a different size of problem, and a fourth that stops it happening again. In The Complete Excel Course with AI Integration, Find and Replace changes every known variant in one pass (Lesson 22), with Find All to show what will change first and one warning demonstrated on screen: Replace All works across the whole sheet unless a column is selected, and the lesson strips every dash from a sheet to prove it. PROPER, UPPER and LOWER settle capitals by formula (Lesson 42), and SUBSTITUTE swaps one piece of text for another in a new column, leaving the original beside it to compare (Lesson 43). On a long listing, Copilot offers each mismatched spelling with the forms to choose from (Lesson 97). Then Lesson 45 closes the door: a drop-down list that accepts only the approved names.
Can Excel catch duplicate invoice or journal lines before they are counted twice?
Yes, in two moves: see them, then decide. The Complete Excel Course with AI Integration starts with the Duplicate Values rule in conditional formatting, which colours every repeated ID in a list the moment it is applied (Lesson 23). Remove Duplicates then does the deleting, and the lesson shows the choice that matters to anyone handling financial records: Continue with the current selection takes values out of one column only, which is why it is undone at once, while Expand the selection removes whole rows, judged on the column you tick. A third method turns the list into a table, filters it to the repeated IDs and lets you pick which copy goes, the right way when two lines differ in a detail you must read first. The lesson's rule for an ID holds for an invoice number: one record, one number.
Why will a column of amounts not add up, or a date column not sort, after an export?
Because Excel is holding them as text, and these lessons teach you to recognise it on sight. A date column that sorts in a strange order is the usual sign of text dates, and Lesson 20 checks that its dates are real dates before sorting them oldest to newest. For amounts, The Complete Excel Course with AI Integration uses COUNT as the test: it counts only the cells that hold numbers, so a figure stored as text shows up as a shortfall against the number of rows (Lesson 35). On an export that returns every month, Power Query settles it for good: money symbols, commas and NA are cleared out of the amount columns, each one becomes a decimal number, and placeholders and impossible dates are replaced before the column is typed as dates (Lesson 157 to Lesson 159). From then on a total is a total.
Can I split a code, a reference or a name out of one crowded column?
Yes, and the course gives you a tool for each kind of crowding. Where a separator divides the parts, Text to Columns cuts at it: The Complete Excel Course with AI Integration splits names at the space and emails at the @ sign (Lesson 25), then a combined location at its comma (Lesson 44), and warns you to insert an empty column first so the split never overwrites the figures beside it. Where the parts follow a pattern, Flash Fill copies it from one typed example (Lesson 24). Where a code packs several facts into fixed positions, LEFT, RIGHT and MID lift each one out by formula (Lesson 73), and TEXTSPLIT breaks a key at its separator inside the FinanceGuard model (Lesson 117). The newer REGEX functions are not taught; these tools handle the account codes, references and descriptions an export crowds into one cell.
My exports are full of blanks, NA and error values: does the course deal with those?
Yes, each in the place it does harm. Blanks first: in The Complete Excel Course with AI Integration, COUNTA counts every filled cell and COUNT only the numeric ones, so a column that should be complete shows its gaps when COUNTA falls short of the number of rows (Lesson 35), and Copilot will list the rows with missing values on request (Lesson 89). Error values next: IFERROR replaces a raw error with a message you choose while the calculation stays in place (Lesson 12), which keeps one bad row from spoiling a whole schedule. Placeholders last: Power Query turns NA into a true empty value and tells a genuine error apart from a cell that merely holds the word error (Lesson 157). In FormatWizard a macro then walks every row of a sheet and writes what is missing, in words, in a flag column of its own (Lesson 148).
What has to be clean before I build a PivotTable on a ledger listing?
Three things, and Lesson 58 fixes each before the first PivotTable is inserted. Spelling and case: a region typed in capitals on some rows appears as a second line of the summary, exactly as one account typed two ways would, so Find and Replace and PROPER bring every label to one form. Hidden spaces: TRIM in a helper column removes the trailing space that splits a category in two. Gaps: an empty row can make a PivotTable believe the data ends early, so empty rows and columns are deleted and the range becomes an Excel table. The Complete Excel Course with AI Integration then shows why the table matters: a new row joins it by itself, and Refresh All brings every PivotTable up to date (Lesson 65). The lessons use sales orders; a ledger listing summarises the same way.
How do I prove nothing was lost or changed by mistake while I cleaned?
By counting and totalling before you start and again when you finish. The Complete Excel Course with AI Integration hands you the controls: a table's Total row sums a column and takes in new rows (Lesson 19), and COUNT and COUNTA give the number of numeric and filled cells (Lesson 34 and Lesson 35). Both figures should come through a clean-up unchanged unless you meant to remove rows. The methods protect the data as well: TRIM is written in a helper column, so the original stays in view until you paste over it, filters hide rows without deleting them, and Undo steps back from a Replace All that went too far. In Power Query the record is permanent: every change is a named step in Applied Steps (Lesson 156), and a Group By query totals the cleaned rows and counts them (Lesson 161).
When is it worth moving a clean-up from the worksheet into Power Query?
The second time the same export lands on your desk. A one-off file is quickest cleaned on the worksheet, and those tools stay useful for good. A file that returns every month is different: in The Complete Excel Course with AI Integration, Lesson 155 brings a CSV in through Get Data and picks Transform Data over Load, the decision that turns a copy and paste into a pipeline. From there each fix is a recorded step: columns removed and renamed (Lesson 156), codes trimmed and set to capitals, symbols and placeholders replaced (Lesson 157), every column given its true type (Lesson 158) and bad dates cleared (Lesson 159). Next month the steps run again at a refresh. Having cleaned by hand first, you will know every one of them on sight, and the course carries on from there to merges, appends and a whole folder of files.
Can Copilot clean my data for me, and can I rely on what it changes?
It does the first pass, and the course teaches you to check it. With Copilot switched on, opening a messy sheet brings up cleaning suggestions, and The Complete Excel Course with AI Integration works through them in Lesson 97: extra spaces removed in one click, each inconsistent spelling settled on the form you pick, then a cleaning plan covering text fields, casing and missing values. Lesson 96 asks for suspect rows and shows the catch: asked for unusually high or low values, Copilot guesses unless you define the rule, so the judgement stays with the accountant. Then comes the test, a short checklist in Lesson 99: the right data selected, the time frame consistent, every figure looked at honestly. You need no AI account to learn from these lessons: watch Copilot do the work first, and decide afterwards whether your own desk needs it.
The practice data is employee records and sales orders: will the methods carry over to my ledgers?
Yes, because a cleaning tool reads characters, not meaning: TRIM removes the space after an account code exactly as it removes one after a department name. In The Complete Excel Course with AI Integration the hand tools are practised on an employee list that arrives with stray spaces, misspellings, doubled symbols and repeated IDs, the clean-up before a PivotTable on sales orders, and the Power Query steps on sales exports with symbols inside the amounts. The lessons use those records; a ledger, a bank listing or a supplier list is cleaned the same way. Each stage comes as a raw file to clean and a finished one to compare with, and the Ninja Challenge sets seven cleaning tasks on a messier list, with a solution lesson that works through every one (Lesson 46 and Lesson 47). The first export you clean after that can be your own.
Month end is days away: how quickly do these lessons pay off?
Faster than the path takes to finish. It runs to 25 lessons, 2 hours 23 minutes, and the fixes an accountant needs most come first: by Lesson 22 you have TRIM, Paste Special values and Find and Replace, and by Lesson 25 duplicates, Flash Fill and Text to Columns, each ready for a live export the same day. The Complete Excel Course with AI Integration repays a second time when the Power Query lessons turn that routine into steps that rerun themselves, which is where the time at every later month end is won back. With lifetime access the lessons stay yours to return to whenever a system change sends a new layout, and the Certificate of Completion you earn at the end of the course carries a verification link an employer can check.
Can I follow this if I know only basic Excel, and does any of it need Windows?
Yes to the first, and no to the second. The cleaning lessons assume only that you can enter data and write a simple formula: Lesson 19 starts by turning a list into a table, and every tool after it is a button on the Data or Home tab or a short function such as TRIM. If Excel itself is new, The Complete Excel Course with AI Integration begins at Lesson 1 and reaches this point in order. Windows is asked for by Power Pivot and Power Automate alone, as the course's requirements say, and this page lists no lesson on either: the worksheet tools and Power Query's Get Data belong to Excel on Windows and on a Mac. On the instructor support plan, a question about your own listing goes to the instructor in writing, under the lesson it concerns, for two months from the day you switch the plan on.
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 accountants
- Lookups for accountants
- PivotTables for accountants
- Charts for accountants
- Dashboards for accountants
- Conditional formatting for accountants
- Data validation for accountants
- Excel tables for accountants
- Text functions for accountants
- Date functions for accountants
- Dynamic arrays for accountants
- Power Query for accountants
- Power Pivot and DAX for accountants
- Macros and VBA for accountants
- Power Automate for accountants
- Copilot for accountants
- ChatGPT for accountants
- Claude in Excel for accountants
Data cleaning for other jobs
- Data cleaning for bookkeepers
- Data cleaning for FP&A analysts
- Data cleaning for auditors
- Data cleaning for payroll administrators
- Data cleaning for banking professionals
- Data cleaning for management accountants
- Data cleaning for controllers
- Data cleaning for credit controllers
- Data cleaning for every job