The Complete Excel Course with AI Integration

Excel data cleaning for government officers

Case registers, applicant lists and district returns are typed by many hands and arrive with stray spaces, one district spelt three ways, repeated IDs and figures held as text. The Complete Excel Course with AI Integration teaches the clean-up on industry-standard projects, and this page picks out its lessons in the order a messy file needs them: worksheet tools, duplicate checks, splitting, completeness counts, drop-down lists, Copilot and a Power Query routine.

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 and doubled spaces from names, districts and reference numbers with TRIM in a helper column, then paste the clean values back over the originals with Paste Special.
  • Bring every second spelling of an office, scheme or department to one form with Find and Replace aimed at a single column, or with SUBSTITUTE where the fix should stay visible as a formula.
  • Give names, places and codes consistent capitals with PROPER, UPPER and LOWER, so a printed register or a committee table reads cleanly.
  • Find repeated applicant or case IDs with a duplicate highlight before Remove Duplicates runs, and decide which record stays.
  • Split a full name, a combined location or an email address into separate columns with Flash Fill and Text to Columns.
  • Test a return's figure columns by setting COUNT against COUNTA, so entries held as text are caught before a total goes out.
  • Record the clean-up of a monthly return once in Power Query, with symbols stripped and true number, date and text types, and replay it on the next file.
  • Have Copilot propose and apply a cleaning plan on a messy sheet, then check each change before the list is used.

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.

    Built on sales exports in a sorry state, its Power Query half meets symbols inside figures, NA placeholders, codes in mixed case and numbers written as words, the faults an office return repeats each month, and fixes each one in a step saved with the query.

  • Project 14

    Agentic AI in Excel

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

    The course's AI project includes a sheet made messy on purpose, where Copilot suggests a cleaning plan, removes spaces and settles spellings while the officer decides which changes are kept.

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

    Built as an employee database, it is this page's practice register: a list with stray spaces, misspelt departments, repeated IDs and full names in one cell, cleaned step by step into a table that sorts, filters and splits the way a well-kept case or applicant register should.

  • Project 03

    Sales Goal Tracker

    Built for sales targets, its summary block is where COUNT and COUNTA first stand side by side, the quick test that tells an officer whether a return's figure column holds text where numbers belong.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 26 of them, 2 h 28 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 enter data in Excel: the clean-up begins there, on the raw sheet of an employee database. The lessons before it, from Lesson 19, set up the table and the sorts and filters that bring bad entries into view, and the whole of Managing data in Excel is free by email with its practice files, so the opening part of this page can be tried before you buy. New to Excel altogether? Begin at Lesson 1. If TRIM and Find and Replace are old friends, go straight to Lesson 34 for completeness checks, or to Lesson 154 for the monthly routine in Power Query.

Get the free section by email

26 of 186 lessons · 2 h 28 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 9 lessons · 1 h 1 min The whole section, on an employee database standing in for a register: an Excel table that takes new rows, sorts and filters that bring odd entries together, TRIM, Paste Special values and Find and Replace, repeated IDs found and removed, names split with Flash Fill and Text to Columns, then frozen headers for checking a long list and print settings for a copy that goes for signature.
  1. 19 Excel tables Create and format a table, structured references and total row 8 min
  2. 20 Sorting data in Excel Single and multi-level sort on an employee database 6 min
  3. 21 Filtering data in Excel AutoFilter, text and number filters on employee data 10 min
  4. 22 Start here Cleaning data in Excel TRIM, Paste Special values and Find and Replace 13 min
  5. 23 Remove duplicates in Excel Find and delete duplicate rows in an employee list 6 min
  6. 24 Flash Fill in Excel Split first and last names automatically 3 min
  7. 25 Text to Columns in Excel Split data by delimiter into separate columns 6 min
  8. 26 Freeze panes in Excel Lock header rows and columns while scrolling 3 min
  9. 27 Printing in Excel Print area, page orientation, scaling and page layout 6 min
04 Essential formulas and functions (IF, SUMIF and more) 2 of 13 lessons · 11 min COUNT, COUNTA and a distinct count on the Sales Goal Tracker: the completeness test for a return, where COUNT set against COUNTA on one column reveals the entries holding text where a figure should be.
  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) 7 lessons · 35 min Text functions and drop-down lists on the same employee list: names joined, spaces trimmed, capitals made consistent, text found and substituted, a location split at the comma, a department list that refuses anything unapproved, and a challenge that cleans a messier list from start to finish.
  1. 41 CONCAT, the & operator and TEXTJOIN in Excel Combine text from multiple cells 6 min
  2. 42 TRIM, UPPER, LOWER and PROPER in Excel Clean messy text and fix capitalisation 6 min
  3. 43 FIND, SEARCH and SUBSTITUTE in Excel Locate and replace text with formulas 5 min
  4. 44 Text to Columns wizard in Excel Split a column by a comma delimiter 4 min
  5. 45 Data validation in Excel Create drop-down lists for consistent data entry 4 min
  6. 46 Ninja Challenge: problem Clean messy data with text functions and validation 4 min
  7. 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 Preparing data for a PivotTable: a stray space or a second spelling makes one region appear twice, so the lesson fixes it with Find and Replace, TRIM and PROPER and deletes the empty row that would cut the data short. The data is sales orders; a district register behaves the same.
  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) 2 of 17 lessons · 11 min Copilot on a deliberately messy sheet: suspect rows found on request, then its own cleaning suggestions, a written cleaning plan and standardised text, with you deciding what is applied.
  1. 96 Find outliers with Copilot in Excel Discounts, negative profit, suspect rows 7 min
  2. 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 5 of 21 lessons · 25 min Power Query for the return that comes back every month: the ETL idea, a CSV brought in with Transform Data, columns removed and renamed, codes trimmed and set in one case, symbols and NA entries stripped, then true number, date and text types, all saved as steps that run again on the next file. The files are sales exports.
  1. 154 Introduction to Power Query in Excel The ETL workflow explained 5 min
  2. 155 Import a CSV with Power Query Get data from text and transform data 2 min
  3. 156 Clean columns in Power Query Remove and rename columns for modelling 5 min
  4. 157 Clean text in Power Query Trim, clean, replace values and fix text case 6 min
  5. 158 Data types in Power Query Fix date, whole number, decimal and text types 7 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.

How does a government officer learn Excel data cleaning that leaves a shared register tidy and every change traceable?

The Complete Excel Course with AI Integration from Coding Liquids teaches exactly that, on practice files as untidy as the lists an office inherits, inside projects that are industry standard and were each designed after talking with people from many different industries. An employee database arrives with stray spaces, misspelt departments, repeated IDs and names packed into one cell; a challenge brings a messier list; a sales table carries the completeness counts; and a folder of CSV exports is full of symbols and placeholders. The 26 lessons picked out here, 2 hours 28 minutes of video, clean them with TRIM, Find and Replace, Paste Special values, Remove Duplicates, Flash Fill, Text to Columns, the text functions, COUNT and COUNTA, drop-down lists, Copilot and Power Query. Every fix is made beside the original and checked before it replaces anything, and Power Query lists each change as a named step, so the trail stays visible. Built by hand from a starter file, the method carries straight over to your case, applicant and beneficiary registers.

Which faults in a case or beneficiary register does each lesson put right?

Eight common ones, each with its own lesson in The Complete Excel Course with AI Integration. Stray spaces before and after an entry, and doubled spaces inside it, go with TRIM (Lesson 22, Lesson 42). A second spelling of an office or scheme goes with Find and Replace limited to one column (Lesson 22) or with SUBSTITUTE (Lesson 43). Untidy capitals become consistent with UPPER, LOWER and PROPER (Lesson 42). Repeated IDs are highlighted, then removed (Lesson 23). Full names and combined fields split with Flash Fill (Lesson 24) and Text to Columns (Lesson 25, Lesson 44). Text sitting in a figure column shows up when COUNT is set against COUNTA (Lesson 35). Empty rows that cut a summary short are deleted (Lesson 58). Entries that keep going wrong are stopped at the source with a drop-down list (Lesson 45). The challenge of Lesson 46 then hands you a messier list to fix on your own.

Should I clean the register itself, or keep the export exactly as it arrived?

Keep the export as it arrived and clean beside it, the habit The Complete Excel Course with AI Integration builds from its first clean-up lesson. On the worksheet, TRIM and PROPER work in a helper column next to the original (Lesson 22, Lesson 42): you see the result before anything changes, paste it back as plain values with Paste Special and delete the helper. Find and Replace is aimed at one selected column, after the lesson shows a Replace All stripping every dash from a sheet. Power Query goes further (Lesson 154 to Lesson 158): the query reads the file and writes a new, clean table, so the original stays untouched, and every change is listed in Applied Steps, in order, where a reviewer can follow it. For a register that may be audited, a saved raw copy beside the cleaned one answers the question of what was changed, and when.

Our district offices spell the same place three ways: how do I bring every return to one spelling?

Find and Replace does most of it in one pass, and The Complete Excel Course with AI Integration teaches it with the care a shared register needs (Lesson 22). Find All lists every cell holding the variant before you change anything, and selecting the column first keeps Replace All away from other fields. Where you want the fix visible as a formula, SUBSTITUTE swaps old text for new in a column of its own (Lesson 43), and TRIM with PROPER clears the spaces and capitals around the name (Lesson 42). Lesson 58 shows why it matters before any summary: a stray space or a second spelling makes one region appear twice in a PivotTable, so the figures for one district end up split across two rows. Once the spellings agree, a drop-down list of approved names (Lesson 45) stops a third spelling from creeping into next month's return.

Before Remove Duplicates runs on an applicant list, how can I see what it is about to delete?

Highlight first, delete second: The Complete Excel Course with AI Integration teaches that order in Lesson 23. The Duplicate Values rule under Conditional Formatting colours every repeated ID, so each pair is in view before anything goes. Remove Duplicates then offers two choices with very different results: Continue with the current selection removes values from one column only, which can leave the rest of a row out of line, while Expand the selection removes whole rows, judged by the columns you tick, here the ID alone. Where it matters which copy survives, as with an applicant who applied twice and corrected their details the second time, the lesson's third method is the one to use: filter the table to the repeated IDs and delete the row you choose. The principle suits any register: one person, one ID, so a repeated ID usually means a repeated record and deserves a look before it is removed.

Applicants typed their own names and email addresses into an online form: can Excel make them consistent?

Yes, and The Complete Excel Course with AI Integration works through exactly this kind of self-typed text. PROPER gives every name a capital at the start of each word, TRIM removes the spaces people add without noticing, and LOWER puts email addresses in one case (Lesson 42); the results are pasted back as values, so the list no longer depends on formulas. Find and Replace removes a doubled @ sign from an address (Lesson 22), and Text to Columns can split addresses at the @ so the domains can be checked (Lesson 25). The challenge solution (Lesson 47) goes a step further, rebuilding each email from the first and last name with CONCAT wrapped in LOWER, which suits an office that issues addresses to a fixed pattern. A tidy list of names also reads well on a letter or a published list, where a name typed all in capitals looks careless.

Applicants' names, and each district with its state, arrive crammed into single cells: how do the lessons pull them apart?

With either of two tools, and The Complete Excel Course with AI Integration gives the case for each. Flash Fill (Lesson 24) learns from an example: type one applicant's first name beside the full name, press Ctrl+E and the column fills, then scan it for the unusual name where the pattern slipped. Text to Columns (Lesson 25) follows a fixed rule instead, cutting at every space, and Lesson 44 repeats it at a comma, turning a combined location into City and State columns that stay inside the table. The rule-based route is the safer one for a system export where every row is laid out alike. Before splitting, make room with an empty column, since the split writes over whatever sits to its right, and tick Treat consecutive delimiters as one so a doubled space adds no blank column. Once apart, surnames sort a register alphabetically and the district column counts cases on its own.

Our totals come out short and nobody can see why: could some figures be stored as text?

Text in a figure column is the usual culprit, and The Complete Excel Course with AI Integration shows how to prove it in a minute. COUNT counts only cells holding numbers (Lesson 34) and COUNTA counts every filled cell (Lesson 35), so on the same figure column the gap between them is the number of entries holding text where a figure belongs: a nil, an N/A, an amount typed with a symbol. Set a count of the ID column beside them and the blanks show as well. SUM passes over all of those entries without an error, which is why the total looks plausible and is still short. The fixes follow: Find and Replace clears the stray symbols that stop a figure reading as a number (Lesson 22), and for a return that arrives every month, Power Query strips them in a recorded step and gives the column a true number type (Lesson 157, Lesson 158), so the fault is fixed for good.

The same return arrives every month with the same faults: must I clean it by hand each time?

Once is enough: Power Query records the clean-up and replays it, and The Complete Excel Course with AI Integration builds that routine on exports as messy as any office return. Lesson 154 sets out extract, transform and load, and Lesson 155 brings a CSV in through Get Data, choosing Transform Data so the file becomes a repeatable pipeline rather than a one-off paste. Then the work a return needs: unwanted columns removed and the rest renamed (Lesson 156), codes trimmed and put in capitals, text cleaned of the hidden characters, line breaks among them, that TRIM leaves behind, and symbols, commas and NA placeholders stripped from the figures (Lesson 157), and every column given a true number, date or text type, with numbers written as words replaced first (Lesson 158). One point the lessons make that worksheet habits miss: Power Query reads North and NORTH as two different regions, so setting one case belongs in the routine. Save next month's file in place of the old one and a refresh runs every step on it.

Could Copilot tidy a messy beneficiary list, and what would I still have to check?

Copilot can do much of the tidying, and The Complete Excel Course with AI Integration shows both the speed and the checks (Lesson 97). Open a messy sheet and Copilot offers cleaning suggestions above the formula bar: extra spaces removed in one click, and each inconsistent spelling settled by choosing the form to keep. Asked for a cleaning plan, it lists text fields, redundant spaces, inconsistent capitals and missing values, and it can hand back a standardised column for you to insert. Lesson 96 adds the hunt for suspect rows, where Copilot asks you to define what counts as high or low before it answers. What stays yours is the judgement: whether two spellings really are one place, and whether a flagged row is an error or a genuine case. Lesson 99 gives a short checklist for that review. To follow along, Copilot must be switched on in your Microsoft 365; the worksheet tools on this page do the same job without it.

Can I rehearse every clean-up on the course's own untidy files before the office's records are at stake?

Inside the course itself: The Complete Excel Course with AI Integration ships its practice files with the faults built in, each with a finished version to check against. The Raw Data sheet of Lesson 22 holds stray spaces, misspellings, mixed capitals, doubled @ signs and dashes inside figures. The challenge of Lesson 46 sets a messier employee list and a set of tasks to solve alone: fix the capitals, split the names, rebuild the emails, make place names uniform, add a drop-down and bring IDs into one format, with the worked solution in Lesson 47. Lesson 97 works on a sales sheet made messy on purpose, and the Power Query lessons start from a CSV export full of symbols and placeholders. Practise on these, and the first time you clean a real register you already know what each tool will do to it, with Undo no longer your only safety net.

A return is due this week and the register is a mess: which lessons come first?

Begin with Lesson 22, Lesson 23 and Lesson 42 of The Complete Excel Course with AI Integration, well under an hour together: they fix most of what a hurried return needs. The first brings TRIM for the spaces, Find and Replace for the second spellings and Paste Special values to make the fixes stick. The second makes sure a repeated ID does not count one case twice. The third puts names and districts into consistent capitals for a table that others will read. If the return carries figures, add the count check of Lesson 35, so no entry is sitting as text when you total. That is enough to send a clean return on time; the rest of the path, from splitting fields to the Power Query routine, can follow in the weeks after, and lifetime access keeps every lesson open for the next deadline.

Several officers type into the same register: how do I stop the mess coming back after I clean it?

Close the door at the point of entry, which The Complete Excel Course with AI Integration teaches straight after the clean-up. A drop-down list (Lesson 45) takes its approved values from a list kept on its own sheet, so a department, a status or an office can only be entered one way, and anything else is refused with a message; the lesson's own example is HR typed beside Human Resources, two names for one department that split every filter and report. The challenge solution (Lesson 47) adds lists to four columns at once and shows what to do when a list refuses a value: replace it from the drop-down. Keeping the register as an Excel table (Lesson 19) means a colleague's new row joins the table with its formatting and formulas, instead of sitting below it unnoticed. Clean once, guard the entry, and the clean-up stops being a monthly chore.

If COUNTIFS already treats NORTH and North as one, why tidy the capitals at all?

Because readers and some tools do tell them apart, and The Complete Excel Course with AI Integration covers both. A committee table or a printed register with districts in three styles of capitals looks careless even when every total is right, so PROPER for names and places and UPPER for codes (Lesson 42) give a report that reads cleanly. Then the functions that care: FIND tells capitals apart while SEARCH does not, as Lesson 43 shows, and SUBSTITUTE matches the exact capitals you type. Power Query matters most: there, North and NORTH are two different regions in every grouping and merge, which is why Lesson 157 sets one case on the codes before anything is summarised. Counts, totals, lookups and PivotTables read the variants as one value, so tidy capitals are less about the figures and more about a file that every tool and every reader treats the same way.

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.