The Complete Excel Course with AI Integration

Excel data cleaning for credit analysts

A loan tape that totals short, a branch listed twice in the arrears report, an ageing column that will not calculate: in credit work most wrong answers start with dirty data. The Complete Excel Course with AI Integration teaches the clean-up on industry-standard projects, and this page picks out what a credit analyst uses: TRIM and Find and Replace, duplicate checks, splits, consistent text, count checks, Copilot's fixes and Power Query for each monthly extract.

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 and correct spellings in a loan extract's branch, product and borrower columns with TRIM, Find and Replace and Paste Special values, so each branch totals as one.
  • Find a facility ID that appears twice on a loan tape, see both rows and remove the wrong one with Remove Duplicates or a table filter.
  • Split a joined field, such as a code string or a borrower and facility label, with Text to Columns at its delimiter or with Flash Fill by example.
  • Give borrower names and labels one consistent style with PROPER, UPPER and LOWER, and swap unwanted characters by formula with SUBSTITUTE.
  • Prove a column before it feeds a ratio, setting COUNT against COUNTA to expose entries held as text and checking the count of IDs against the rows expected.
  • Turn a monthly loan tape into a Power Query that trims codes, replaces symbols and NA entries, and gives amounts and dates their true types.
  • Check a cleaned extract against the system with a Group By summary: a total and a row count for every month and region.
  • Ask Copilot for a cleaning plan and fixes on a messy borrower list, and accept only the changes you have checked.

Projects

What you will build.

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

  • Project 12

    SalesFusion

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

    The course's Power Query project, whose sales exports arrive with money symbols, NA entries, quantities written as words and dates Excel cannot recognise. The steps that fix one file fix every later one, which is how a monthly loan tape gets cleaned without a cell retyped.

  • Project 05

    SalesPlusPerformance

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

    Built on order-level sales data, it opens with a clean-up before any PivotTable exists: messy region and state names, trailing spaces among them, put right with Find and Replace, TRIM and PROPER (Lesson 58). Clean the loan book that way and every branch and product totals on one line.

  • Project 14

    Agentic AI in Excel

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

    Built to put AI to work in Excel, it includes Copilot fixing stray spaces and inconsistent names on a deliberately messy sheet and drafting a cleaning plan (Lesson 97); on a borrower export the plan becomes a checklist, and each change it offers is reviewed before it is applied.

Tap or pinch to zoom in, drag to move around. Click or scroll to zoom in, drag to move around.

  • Project 02

    Dunder Michael Paper Company employee database

    The course's employee database, cleaned twice over: stray spaces, misspellings, doubled @ signs and repeated IDs first, then a messier list in the Ninja Challenge. Every fault in it turns up in a loan extract as well, in branch names, borrower names and facility IDs.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 20 of them, 1 h 48 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 sort and filter lists in Excel: the clean-up begins there with TRIM and Find and Replace on a deliberately messy sheet. If tables and filters are new, take Lesson 19 to Lesson 21 first, and if you have never used Excel, begin at Lesson 1. Comfortable cleaning on the worksheet already? Go to Lesson 155, where Power Query turns the same fixes into steps that rerun on every monthly extract.

20 of 186 lessons · 1 h 48 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 4 of 9 lessons · 28 min The worksheet clean-up an extract needs first: TRIM in a helper column, values pasted back, Find and Replace confined to one column, duplicate IDs found and removed, then Flash Fill and Text to Columns for joined fields. The lessons clean an employee list; branch names, facility IDs and borrower names on a loan tape take the same treatment.
  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) 1 of 13 lessons · 4 min The count checks that prove a column before it is trusted: COUNTA set against COUNT to expose text where numbers belong, and a distinct count with UNIQUE. The lesson counts a sales table; on a loan tape it confirms how many facilities and borrowers arrived.
  1. 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 cleaned by formula: TRIM nested with PROPER, UPPER and LOWER for one consistent style, FIND, SEARCH and SUBSTITUTE to locate and swap characters, Text to Columns at a comma, a drop-down list so clean values stay clean, and a Ninja Challenge on a messier employee 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 stray space or a second spelling would show one region twice, so Find and Replace, TRIM and PROPER put the text right, an empty row is deleted and the range becomes a table. On the loan book it keeps each branch on one line.
  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 as a cleaning assistant: its fix for extra spaces, one form chosen for each inconsistent name, a cleaning plan and a standardised column to insert. Use it for a first pass on a messy borrower export, then check every change.
  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 The clean-up made repeatable with Power Query: a CSV brought in without being edited, columns removed and renamed, codes trimmed, cleaned and set in upper case, symbols and NA entries replaced, true number and date types, date columns for reporting, duplicates removed on an ID, and a Group By query whose totals and row counts tie the data back to its 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.

Which Excel data cleaning skills does a credit analyst need before a loan tape or a borrower's figures can be trusted?

Six, and The Complete Excel Course with AI Integration from Coding Liquids teaches every one on industry-standard projects designed after talking with people from many different industries. Stray spaces and second spellings come out with TRIM and Find and Replace (Lesson 22); repeated IDs go with Remove Duplicates (Lesson 23); fields packed into one column split with Text to Columns or Flash Fill; names and labels take one style with PROPER, UPPER and SUBSTITUTE (Lesson 42, Lesson 43); COUNT set against COUNTA proves a column holds numbers, not text (Lesson 35); and Power Query records the routine so next month's extract is cleaned by a refresh (Lesson 157). The lessons work on an employee list and sales exports, and a loan tape or a borrower's management accounts carry the same faults. The 20 lessons on this page take 1 hour 48 minutes, less than an afternoon set against every month-end extract that follows.

The core banking extract puts stray spaces and second spellings into branch and product names: can I clean them without retyping?

Yes, in minutes rather than an afternoon of retyping. The Complete Excel Course with AI Integration teaches the worksheet method in Lesson 22: TRIM in a helper column strips the spaces at either end of a value and cuts runs of spaces to one, Paste Special values writes the clean text back, and Find and Replace corrects every misspelling in one sweep, confined to one column by selecting it first so nothing else on the sheet changes. Lesson 58 repeats the routine where it matters most, before a PivotTable. For a branch report the stakes are plain: a branch typed with a trailing space or a second spelling is left out of that branch's SUMIFS total and shows as a branch of its own in a PivotTable. TRIM leaves line breaks behind; the Clean step of Power Query in Lesson 157 removes them with the other characters that never print.

Credit files get audited: can I clean a loan tape and still show exactly what the system sent?

Yes, and The Complete Excel Course with AI Integration teaches two ways to keep the original intact. On the worksheet, the cleaning happens in a helper column beside the raw one (Lesson 22, Lesson 42), so work on a copy of the extract and keep the file as received untouched for the record. Power Query goes further: it reads the extract without ever editing it (Lesson 155), and every change it makes, from a trimmed code to a corrected data type, becomes an entry in Applied Steps (Lesson 156), and selecting an entry shows the table exactly as it looked before the next change. A reviewer who asks why an exposure figure differs from the system report can be shown, step by step, what was removed and why, a trail that retyping by hand never leaves behind.

A facility appears twice on the loan tape: how do I find it and decide which row stays?

Colour first, delete second, and The Complete Excel Course with AI Integration teaches that order in Lesson 23. The Duplicate Values highlight marks every repeated ID; Remove Duplicates then clears them, and the lesson shows the choice that matters: Continue with the current selection empties values from one column only, while Expand the selection removes whole rows. For a loan tape the lesson's third method is the safest: format the range as a table, filter the ID column for the repeated facilities and delete the row you have judged wrong, since the second copy may carry the later balance or the correct limit. A facility counted twice overstates exposure, so this check belongs before any concentration figure is worked out. Inside Power Query, Lesson 160 removes duplicates on an ID column inside the query itself, so every refresh repeats it.

Days past due come out wrong because some dates in the extract are not real dates: can the course fix that?

Yes, on the sheet and at the source, and The Complete Excel Course with AI Integration teaches each. On the worksheet, Lesson 22 sets a column to Short Date, and the warning signs come from Lesson 20 and Lesson 74: a date column that sorts strangely, or a subtraction with an odd result, usually holds dates Excel reads as text. In Power Query, Lesson 159 clears placeholders such as n/a, not a date and an impossible day before converting, replaces conversion errors with nulls and keeps the date without its time, so a day count stays a whole number. It then gives each row its year, its month and a combined year-month field, so the book can be grouped by period. Once every due date is a true date, the count of days overdue worked out from TODAY can be bucketed with confidence.

A borrower's one-off spreadsheet and the monthly loan tape need cleaning in different ways: which tools fit each?

Worksheet tools for a file that arrives a single time, Power Query for the file that returns every month, and The Complete Excel Course with AI Integration teaches both. A borrower's management accounts sent as a spreadsheet are cleaned where they sit: TRIM and Find and Replace (Lesson 22), Text to Columns for a field that arrives joined (Lesson 25), PROPER and SUBSTITUTE by formula (Lesson 42, Lesson 43). The monthly tape is different, because the same faults return with every extract. Lesson 155 brings the CSV into Power Query, Lesson 157 trims, cleans and replaces values, and Lesson 158 gives each column its true type; next month all of it runs again at a refresh, with nobody touching a cell. Windows is needed only for the Power Pivot and Power Automate sections, and none of these cleaning lessons belongs to either.

Our two systems write borrower names in different capitals: will that break my matching?

Your worksheet formulas will read them as one, and The Complete Excel Course with AI Integration shows exactly where capitals do count. XLOOKUP, SUMIFS, COUNTIFS and PivotTables ignore case, so a name in capitals and the same name in title case meet; what breaks a match is a stray space or a second spelling, which TRIM and Find and Replace remove (Lesson 22). Capitals matter in two places the course teaches. Power Query is case-sensitive, so its merges and groupings treat two cases as two values, which is why Lesson 157 sets codes in upper case before anything is joined. And FIND is case-sensitive where SEARCH is not (Lesson 43). For a credit paper the reason to tidy capitals is the reader: PROPER, UPPER and LOWER (Lesson 42) give a borrower list one clean style before it reaches the committee.

Before a portfolio review, can Copilot tidy the branch and product names on a messy loan extract?

Yes, and The Complete Excel Course with AI Integration pairs it with the checks that make it safe. In Lesson 97 Copilot works on a sales sheet that is messy on purpose: it offers to remove the extra spaces, lists each inconsistent name so you pick the one form to keep, drafts a cleaning plan covering text fields, redundant spaces, inconsistent casing and missing values, then hands back a standardised column to insert. Branch and product names on a loan extract pose the same problem. An earlier lesson, Lesson 89, sets out what Copilot needs to read a table correctly: clear headers, no merged cells, one type of data per column and real dates. Each suggestion is yours to accept or refuse, and Lesson 99 supplies the checklist for the final read. Copilot has to come with your Microsoft 365 for you to try it yourself.

Are there messy practice files, so I am not learning on a live loan tape?

Yes, and that matters in credit, where borrower data is confidential. The Complete Excel Course with AI Integration gives each cleaning lesson its own deliberately flawed data: a Raw Data sheet full of stray spaces, misspellings and stray symbols (Lesson 22), a starter employee list for the text and validation lessons, and the SalesFusion CSV files, with money symbols, NA entries, quantities written as words and dates Excel will not accept (Lesson 155). The Ninja Challenge (Lesson 46) then sets seven clean-up tasks on a messier list to try alone before Lesson 47 works through the solution, with a solution file to compare against. Everything is practised on the course's own data, and the method moves to your own extracts once you are sure of it, with no client record ever put at risk.

Which keyboard shortcuts in the course speed up cleaning a long loan extract?

A handful that do most of the work, and The Complete Excel Course with AI Integration uses each on real data. Ctrl+H opens Find and Replace and Ctrl+Alt+V pastes values over the formulas you cleaned with (Lesson 22); Ctrl+E fills a pattern down a column with Flash Fill (Lesson 24); Ctrl+Shift+L switches the filters on so a column's values can be inspected (Lesson 21); and Ctrl+Shift+Down with Ctrl+Shift+Right selects a whole block of data in two strokes before a table or a helper formula (Lesson 58). Ctrl+Z is the safety net throughout, used in Lesson 23 to undo a Remove Duplicates and try another way. The shortcuts shown are the Windows ones, and on an extract of thousands of loans they turn a slow clean-up into a quick one.

How do I prove a cleaned extract still ties to the system before I report on it?

With counts and control totals, and The Complete Excel Course with AI Integration teaches both. On the worksheet, Lesson 35 sets COUNTA against COUNT on the same column: any difference is a cell holding text where a number belongs, and a count of the ID column set against the rows you expect shows whether anything went missing. COUNTA wrapped round UNIQUE counts distinct values, a fast check that the number of borrowers matches what the system reports. In Power Query, Lesson 161 builds a separate QA query, a reference to the cleaned data, that sums the sales and counts the rows for each month and region, sorted biggest first so a figure that looks too good stands out. Set those totals beside the figures the loan system reports and the clean-up is proven before any ratio, bucket or concentration figure is worked out.

Branch, product and account codes arrive packed into one column of the extract: can cleaning split them?

Yes, and The Complete Excel Course with AI Integration teaches three ways, each for a different kind of packing. Text to Columns cuts a field at a delimiter: Lesson 25 splits names at a space and email addresses at the @, and Lesson 44 splits a column at its commas, with Treat consecutive delimiters as one stopping a doubled separator from pushing data into the wrong column. Insert empty columns first, or the split overwrites its neighbours. Flash Fill (Lesson 24) works by example instead: type the part you want for the first row and Ctrl+E completes the column, though its results always need a look. For codes of fixed length with no separator, LEFT, RIGHT and MID take characters by position (Lesson 73), so a branch prefix can be lifted out of every account number at once.

Blank rows, subtotal lines and merged headers sit in our extracts: what must go before the data is analysed?

Anything that is not one row per loan under one row of headers, and The Complete Excel Course with AI Integration shows why each matters. Lesson 58 deletes an empty row and an empty column before a PivotTable is built, because an empty row can make it think the data ends early. Lesson 89 lists what a clean table needs for Copilot to read it, which holds just as well for your own formulas: clear header names, no merged cells, one type of data in each column and real dates. Subtotal lines in the middle of an extract go too, since SUMIFS and PivotTables would count them again on top of the loans they total. Once the block is clean, Insert Table turns it into an Excel table (Lesson 19) that grows with new rows and fills its formulas down by itself.

I handle borrower files every day but have never opened Power Query: is the second half of this path too advanced?

It follows straight on from the first half, and The Complete Excel Course with AI Integration builds it that way on purpose. Each Power Query step in the path has a worksheet twin you will have done already: Trim in the Transform menu does what TRIM did in a helper column, Replace Values does what Find and Replace did, and a data type set on a column turns text into true numbers and dates for good, except that each step is saved and replayed. Lesson 154 explains the extract, transform and load idea in plain terms before any button is pressed, and Lesson 156 shows the Applied Steps list that records your work. The course supplies the messy SalesFusion files and a completed workbook, so each query you build has a finished version to compare with. On the plan with instructor support, you can ask the instructor about your own loan extract and get a written answer.

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.