The Complete Excel Course with AI Integration

Excel data cleaning for credit controllers

Every ledger export arrives with the same faults: a customer under two spellings, invoices listed twice, amounts and due dates stored as text, a code and a name sharing one cell. Each one quietly breaks an ageing formula or a lookup. The Complete Excel Course with AI Integration fixes them on industry-standard projects, and this page picks out the clean-up lessons in the order a ledger needs them: worksheet fixes, proof checks, text functions, Copilot and Power Query.

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:

  • Strip stray spaces from customer names and references with TRIM in a helper column, pasted back as values, so one customer never splits into two lines of an aged debt report.
  • Bring every customer and status to one spelling with Find and Replace, confined to the column it should touch, and to one style of capitals with PROPER, UPPER or LOWER.
  • Find lines exported twice with a Duplicate Values highlight, then remove true repeats while keeping a part payment that shares its invoice number.
  • Split an account code from a customer name with Text to Columns at a delimiter, or with Flash Fill from one typed example.
  • Prove that a column of balances or due dates holds real numbers by setting COUNT against COUNTA, before any ageing formula reads it.
  • Clear blank rows, stray totals and second spellings out of a ledger before it feeds a PivotTable, so no debt is counted twice or left out.
  • Turn the weekly aged debt export into a Power Query that trims codes, strips symbols and NA entries, sets true numbers and dates, drops duplicate rows and totals the result for a control check at every refresh.
  • Have Copilot settle inconsistent names and spaces from a prompt, and review every change before the figures are used.

Projects

What you will build.

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

  • Project 05

    SalesPlusPerformance

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

    Built on order-level sales data, it cleans its raw orders before any report: regions re-spelt, hidden spaces trimmed, cities given capitals and an empty row and column deleted, the routine that stops a customer appearing twice in a debtors PivotTable.

  • Project 12

    SalesFusion

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

    Built as a sales reporting system on CSV files, its raw files are awkward on purpose, with symbols inside amounts, NA in place of figures, codes in two cases and impossible dates, so the queries you write against them are ready for whatever the receivables export throws at you.

  • Project 14

    Agentic AI in Excel

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

    In the course's AI project, Copilot offers to remove extra spaces and settle each inconsistent spelling of a name, drafts a cleaning plan on request and inserts a cleaned column: quick work on a customer list, provided you look over every change it proposes.

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

    An employee list by design, its raw sheets carry the faults a customer file carries: stray spaces, second spellings, repeated IDs, untidy capitals and full names in one cell. Cleaning them with TRIM, Find and Replace, Remove Duplicates, Flash Fill and Text to Columns, then taking on a challenge with a messier list, is a rehearsal for the receivables master file.

  • Project 03

    Sales Goal Tracker

    Built on a sales table, its summary block counts one column twice, with COUNT for numbers and COUNTA for anything filled in, the quickest proof that a column of balances or due dates hides no text in disguise.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 21 of them, 1 h 55 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 you already handle exports in Excel: it cleans a messy sheet by hand, and every later lesson builds on it. New to Excel? Begin at Lesson 1, and take tables at Lesson 19 on the way. If TRIM and Find and Replace are second nature already, go to Lesson 34 for the COUNT check, then to Lesson 155, where the weekly clean-up becomes a Power Query.

21 of 186 lessons · 1 h 55 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 4 of 9 lessons · 28 min Worksheet clean-up on a deliberately messy sheet: TRIM in a helper column pasted back as values, Find and Replace narrowed to one column, Duplicate Values highlighted before Remove Duplicates, Flash Fill splitting names from one example and Text to Columns cutting a field at a delimiter. Every fix a customer master file needs, practised on employee records.
  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 SUM, COUNT and COUNTA, with COUNTA around UNIQUE for a count of distinct entries. Set COUNT beside COUNTA on a column of balances and any difference is a figure stored as text, found before it drops out of an ageing total.
  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 functions and drop-downs for data quality: TRIM, UPPER, LOWER and PROPER, nested and pasted back as values; FIND, SEARCH and SUBSTITUTE to locate and swap text by formula; Text to Columns on a comma; a drop-down list that stops a fault returning; then a seven-task challenge on a messy list, with its solution.
  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 The clean-up before a PivotTable: a region in mixed spellings fixed with Find and Replace, hidden spaces trimmed, names given capitals, an empty row and column deleted and the range made a table, so no customer appears twice in a debtors summary.
  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 · 4 min Copilot cleans a messy sheet: extra spaces removed from its suggestion above the formula bar, each inconsistent spelling settled to one form, a cleaning plan drafted on request and a standardised column offered for insertion. The lessons use sales regions and products; customer names respond the same way.
  1. 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 7 of 21 lessons · 38 min A ledger clean-up that repeats itself: a CSV brought in with Transform Data, columns removed and renamed with every step recorded, codes trimmed and set in capitals, the money symbol, commas and NA stripped from amounts, true number and date types, placeholder dates cleared, duplicates removed on the ID column and a Group By total that ties the result back to the source.
  1. 155 Import a CSV with Power Query Get data from text and transform data 2 min
  2. 156 Clean columns in Power Query Remove and rename columns for modelling 5 min
  3. 157 Clean text in Power Query Trim, clean, replace values and fix text case 6 min
  4. 158 Data types in Power Query Fix date, whole number, decimal and text types 7 min
  5. 159 Date columns in Power Query Add year, month and year-month fields for reports 7 min
  6. 160 Business logic in Power Query Custom and conditional columns for profitability 6 min
  7. 161 Group By in Power Query Summarise sales by month and region to validate data 5 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.

Before I age the ledger, what Excel data cleaning does the export need, and can one course teach all of it?

The Complete Excel Course with AI Integration from Coding Liquids teaches all of it, worksheet fixes first and a self-repeating routine last. A ledger export needs five things before an ageing formula touches it: spaces and spellings made consistent so each customer is one customer, duplicates found and judged, combined fields split, amounts and dates proved to be real numbers, and blank or total rows removed. This page gathers the 21 lessons that handle each, 1 hour 55 minutes in all, from TRIM and Find and Replace in Lesson 22 to a Power Query that repeats the whole clean-up at every refresh from Lesson 155. Every project is industry standard, designed after talking with people from many different industries, with a starter file and a finished one to compare against. The lessons clean employee lists and sales files; a debtors export takes the same steps.

Why does one customer show up twice in my aged debt totals, and which lessons fix it?

Almost always a stray space or a second spelling, and The Complete Excel Course with AI Integration fixes both. To Excel, a customer's name typed with a trailing space and the same name without it are two different texts, so SUMIFS splits the debt between them and a PivotTable lists the customer twice. Lesson 58 shows the fault on sales regions, then clears it with Find and Replace, TRIM and PROPER before a table is built. Lesson 22 and Lesson 42 teach the method in full: TRIM in a helper column, the clean values pasted back over the original with Paste Special, the helper deleted. Find and Replace merges a second spelling into the first, Limited into Ltd for instance, and the lesson's warning matters on a ledger: select the column first, because Replace All otherwise changes every match on the sheet.

Which Excel tool is best for cleaning a ledger export: formulas, Find and Replace or Power Query?

Each has its job, and The Complete Excel Course with AI Integration teaches all three so you can choose by how often the file comes back. A list you tidy once, such as an old customer file, suits the worksheet tools: TRIM and PROPER in a helper column (Lesson 42), Find and Replace for spellings (Lesson 22), Remove Duplicates (Lesson 23) and Text to Columns (Lesson 25). An export that lands every week, the aged debt report or the cash received file, belongs in Power Query: the clean-up is recorded once as steps (Lesson 156) and replayed on each new file at a refresh, so Monday's routine stops being yours. Copilot sits between the two, quick on a file in front of you (Lesson 97). The worksheet lessons come first on this path because they make every Power Query step familiar on sight.

My balances and due dates look fine, yet some rows drop out of every total: how do I find them?

Set COUNT against COUNTA, the check The Complete Excel Course with AI Integration teaches in Lesson 34 and Lesson 35. COUNT counts only cells holding true numbers and ignores text, while COUNTA counts every filled cell, so on a column of balances or due dates the two should agree; any gap is a figure Excel reads as text, skipped by SUM, SUMIFS and every ageing formula without a warning. The lesson calls COUNT a validation step before any KPI, which is exactly its use on a ledger before the ageing runs. A due date held as text also explains a #VALUE! error, which Lesson 12 traces to the data type of the cell a formula reads. For an export that arrives that way every week, Power Query sets each column's data type inside the query (Lesson 158), and the fix repeats on every refresh.

How do I take out lines exported twice without deleting genuine part payments?

By deciding which columns define a duplicate, a choice The Complete Excel Course with AI Integration makes visible in Lesson 23. Remove Duplicates asks which columns to compare. The lesson ticks only the ID column, the right test for a list where one ID means one person. On a ledger the same test would treat a part payment as a repeat of its invoice, so compare invoice number, date and amount together, and only lines identical in all of them go. Before removing anything, the Duplicate Values highlight from the same lesson shows every repeat in colour, and the filter method lets you tick the suspects and delete only the rows you have judged. For an export known to send some lines twice, Power Query removes duplicates on an ID column at every refresh (Lesson 160), so the check never depends on someone remembering it.

Can Excel split a column that holds the account code and the customer name together?

Yes, and in credit control the split pays off at once, because the account code is what lookups and SUMIFS should match on while names drift. The Complete Excel Course with AI Integration gives you three routes, chosen by the shape of the data. When every row uses the same separator, Text to Columns divides the column at it into fresh columns you name: Lesson 44 cuts at a comma, and Lesson 25 at a space and at the @ of an email. When the rows are less regular, Flash Fill learns from the first code you type (Lesson 24). When the export is replaced every week and the split must redo itself, formulas take over: FIND gives the position of the separator (Lesson 43), and LEFT, RIGHT and MID lift a set number of characters out of a code such as DAL-SAL-0001 (Lesson 73). Compare the first rows of any split with the original before trusting it.

The export has blank rows and subtotal lines between customers: what has to go before I build a PivotTable?

Both, and The Complete Excel Course with AI Integration explains why in Lesson 58: an empty row can make a PivotTable think the data ends early, so the lesson deletes the empty row and column before the range becomes a table. Subtotal and total lines do more damage on a ledger, because a PivotTable or a SUMIFS counts them as if they were invoices and a customer's debt comes out doubled. A Text Filter with Contains, taught in Lesson 21, finds every line whose name holds Total in seconds, so each can be checked and removed. Then the clean range becomes an Excel table (Lesson 19), which takes in the next rows by itself. One extra check is worth the moment it takes: the export's own grand total, noted before the clean-up, should equal the sum of the clean balances afterwards.

Can Copilot tidy the customer names in a ledger export, and can I trust what it changes?

It can, and The Complete Excel Course with AI Integration pairs the tidying with the review that makes it safe. In Lesson 97 Copilot offers to remove extra spaces from a messy sheet, then settles each inconsistent spelling once you pick or type the form to keep, drafts a cleaning plan covering spaces, casing and missing values, and inserts a standardised column. The lesson's point fits receivables exactly: to Excel, one name written three ways is three different customers. Trust comes from review, which Lesson 99, outside this path, turns into a short checklist for any Copilot result. ChatGPT earns its place earlier, as an analysis planner (Lesson 100). Copilot has to be part of your Microsoft 365; with or without it, the worksheet and Power Query lessons here give you a clean-up you control completely.

Is there messy practice data, or do I learn on my own ledger straight away?

Both are possible, and The Complete Excel Course with AI Integration gives you the practice first. Lesson 46 sets a challenge of seven clean-up tasks on a deliberately messy staff list: names in mixed capitals, full names to split, emails to rebuild with CONCAT and LOWER, one place written in short and in full, a drop-down to add and IDs such as EM-01 and EM-002 to bring into one format. You try them alone, then Lesson 47 solves each one. Every project also comes with a starter file and a finished file, and the SalesFusion CSVs are faulty on purpose, so you meet the problems a receivables export hides before your own file is on the line. The mixed IDs are worth extra attention: customer account codes drift into two formats in exactly that way.

How do I stop cleaning the same aged debt export by hand every week?

Hand the routine to Power Query, which The Complete Excel Course with AI Integration teaches on SalesFusion from Lesson 155. The export is brought in through Get Data with Transform Data rather than Load, the choice that builds a repeatable pipeline instead of a one-time paste. Each fix after that is a recorded step: columns removed and renamed (Lesson 156), codes trimmed and set in capitals and symbols stripped (Lesson 157), true numbers and dates set (Lesson 158 and Lesson 159), duplicates removed (Lesson 160) and a Group By query totalling the result so it ties back to the system's report (Lesson 161). Next week, save the new export where the old one sat and refresh: every step runs again on the new rows, and the export itself is never altered.

The accounts system writes amounts with the money symbol and commas inside them: can Excel turn them back into numbers?

Yes, on the sheet or in a query, and The Complete Excel Course with AI Integration teaches both. On the sheet, Find and Replace replaces a character with nothing: Lesson 22 uses it to strip unwanted dashes out of a salary column, and it removes a money symbol or a stray comma the same way, with the column selected first so nothing else is touched. In Power Query, Lesson 157 picks several money columns with Ctrl and click and uses Replace Values to strip the money symbol, the commas, NA and hyphens in one pass, and Lesson 158 then sets those columns as decimal numbers. The lesson's warning sums up why it matters: text cannot be summed or averaged, so a report built on it looks fine and calculates wrong, which on a debtors ledger means a total that is quietly short.

Due dates arrive in mixed formats and some just say n/a: will the ageing still work?

Only once they are true dates, and The Complete Excel Course with AI Integration teaches how to make them so. Ageing subtracts the due date from TODAY, so a date held as text breaks the formula or ages the invoice wrongly. On the sheet, Lesson 22 sets Short Date on a date column, and Lesson 20, outside this path, notes that a date column which sorts strangely is often text in disguise. In Power Query, Lesson 159 works through the worst case: Replace Values clears n/a, a not a date placeholder and an impossible date first, because any of them would break the conversion, then the column becomes a date and leftover errors become nulls, each step checked by stepping back through Applied Steps. Your blanks then show up as blanks, ready to be chased with the customer rather than aged as if they were years old.

How long is the clean-up path, and do I need Windows for the Power Query part?

About 1 hour 55 minutes, and no Windows requirement on this page. The Complete Excel Course with AI Integration names Windows only for Power Pivot and Power Automate, and this path stops before the SalesFusion data model where Power Pivot begins. Power Query itself sits on the Data tab under Get Data, so there is nothing to install. The worksheet half comes first and pays back fastest: by the end of Lesson 25 the spaces, spellings, duplicates and combined fields of a ledger export are under control, and the COUNT check follows in minutes. The shortcuts the lessons use are the Windows ones, such as Ctrl+H for Find and Replace, Ctrl+Alt+V for Paste Special and Ctrl+E for Flash Fill. The course page has free lessons to watch first, and lifetime access keeps every clean-up step to hand when a new kind of export appears.

Once the ledger is clean, how do I keep it from getting messy again?

Stop the faults where they are typed, which The Complete Excel Course with AI Integration teaches as the last step of its clean-up section. Lesson 45 puts a drop-down list on a column so only approved entries go in, and explains the reason with an example that applies to every dispute log: Excel treats two names for one thing as two different things, which breaks reports, filters and dashboards. The challenge solution in Lesson 47 ends with four columns behind drop-downs, the state a collections tracker should be in, with statuses, collectors and reason codes chosen from lists instead of typed. For the export itself, prevention means Power Query: once the clean-up is a query, every new file passes through the same steps. Between the two, the ledger you report from stays as clean on its worst day as on the day you fixed it.

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.