The Complete Excel Course with AI Integration
Excel data cleaning for tax accountants
Client data reaches a tax accountant with stray spaces, one supplier spelled three ways, amounts held as text and invoices keyed twice, and every fault travels into the return unless it is cleaned first. The Complete Excel Course with AI Integration turns that clean-up into a routine, from TRIM, Find and Replace, Remove Duplicates and Text to Columns on the sheet, through text functions and Copilot, to Power Query for the downloads that come back every period.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Strip stray spaces from client names, references and tax numbers with TRIM, then paste the clean values back over the originals with Paste Special.
- Settle a supplier's several spellings with Find and Replace kept to one column, PROPER for names and SUBSTITUTE for a stray character, so one supplier totals as one.
- Split an account code from its description, or a city from a state, with Text to Columns and Flash Fill.
- Find text sitting in a column of amounts with COUNT beside COUNTA, and remove repeated invoice lines with Remove Duplicates once you have seen which copy should go.
- Record a client's monthly download clean-up once in Power Query, with trimmed text, codes in capitals and true numbers and dates, and replay it on the next file.
- Tie a cleaned download back to its source with Group By, a total and a row count for each month set beside the client's own figures.
- Have Copilot suggest fixes and a cleaning plan for a messy client sheet, then judge each change before it counts.
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.
A PivotTable project in the course that opens with a clean-up: TRIM, PROPER and Find and Replace take out the stray spaces and second spellings before one summary line can split into two.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
The course's Power Query project, whose opening lessons are a clean-up recorded once: symbols and NA entries stripped from amounts, codes trimmed and put in capitals, true numbers and dates, and a Group By check on what came through.
-
Project 14
Agentic AI in Excel
AI finds and fixes the formula; you check it before it counts.
The AI section's project, where Copilot reads a deliberately messy sales sheet, suggests fixes and drafts a cleaning plan, leaving the judgement on each change with you.
-
Project 02
Dunder Michael Paper Company employee database
An employee list in the course and the file most of this path cleans: a Raw Data sheet of stray spaces, misspellings and stray symbols, repeated IDs, names to split and emails to rebuild, the same faults a client's supplier list or payroll export brings in.
-
Project 03
Sales Goal Tracker
A sales table in the course where COUNT and COUNTA are set side by side, the quick test that shows text sitting in a column of amounts before a computation reads it.
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 22 Cleaning data in Excel
Start at Lesson 22, where the clean-up proper begins, if sorting and filtering a list is routine for you; otherwise go back a little to Lesson 20, since sorting is where text dates first give themselves away. Completely new to spreadsheets? Lesson 1 opens the course. Comfortable with TRIM and Text to Columns already? Skip ahead to Lesson 155 and record the same clean-up in Power Query.
25 of 186 lessons · 2 h 23 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) The worksheet clean-up on an employee list: sorting that exposes dates Excel reads as text, filters that surface odd entries, Find and Replace fixing a Raw Data sheet once TRIM is pasted back as plain values, Remove Duplicates on repeated IDs, Flash Fill for names and Text to Columns for fields that arrive joined.
- 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 Start here 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, COUNTA and a count of distinct entries on a sales table: COUNT beside COUNTA shows cells holding text where an amount belongs, the check to run before a client's figures feed a computation.
- 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 functions and validation on a messy employee table: CONCAT, the & operator and TEXTJOIN, TRIM, UPPER, LOWER and PROPER, FIND, SEARCH and SUBSTITUTE, Text to Columns by comma and a drop-down list, then a challenge that cleans a whole messy set task by task.
- 41 CONCAT, the & operator and TEXTJOIN in Excel Combine text from multiple cells 6 min
- 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 Sales data prepared for PivotTables with TRIM, PROPER and Find and Replace, so a stray space or a second spelling cannot show one region twice, and empty rows removed so the table reads to its last line.
- 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) A table made ready for Copilot: clear headers, no merged cells, one type of data per column and real dates, the order a client file needs before any tool, human or AI, can read it.
- 89 Prepare data for Copilot in Excel Tables, headers and clean structure 6 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) Messy data cleaned with Copilot: its own suggestions remove extra spaces and settle inconsistent spellings, and a prompt returns a cleaning plan and a standardised column to insert, with Excel functions beside the prompts.
- 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 Power Query for the download that comes back every period: a CSV brought in with Transform Data, unwanted columns dropped and headers renamed, spaces and hidden characters cleared and codes set in capitals, symbols, NA entries and hyphens replaced, true number and date types, period columns, logic columns with duplicate orders removed, and a QA query of totals and row counts by month and region to check what came through.
- 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
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
Which Excel data cleaning jobs fall to a tax accountant between a client's records arriving and the return going in?
Six that come with nearly every client, and The Complete Excel Course with AI Integration from Coding Liquids covers each one on industry-standard projects designed after talking with people from many different industries. Stray spaces and untidy text in names and references, cleared with TRIM and Paste Special values (Lesson 22). One supplier written several ways, settled with Find and Replace and SUBSTITUTE (Lesson 43). Invoice lines keyed twice, removed once you have chosen the copy to keep (Lesson 23). Codes and descriptions sharing a column, split with Text to Columns (Lesson 25). Amounts and dates Excel reads as text, caught with COUNT beside COUNTA (Lesson 35) and fixed for good with Power Query's data types (Lesson 158). And the download that returns every period, cleaned once and replayed (Lesson 155). Together they fill 25 lessons of the course, 2 hours 23 minutes that turn a season of client spreadsheets into routine work.
A client's bookkeeping export holds the account code and the account name in one column: can I split them cleanly?
Yes, with Text to Columns, which The Complete Excel Course with AI Integration teaches twice. Lesson 25 splits a column at a delimiter: Delimited rather than Fixed width, the delimiter chosen, Treat consecutive delimiters as one so a double space makes no empty column, and an empty column inserted first so the split cannot overwrite its neighbour. Lesson 44 repeats it with a comma and a destination of your choice. Where a hyphen or another character sits between the code and the name, split at it with Other, as the lesson does with the @ of an email address, and each half becomes something a SUMIFS or a lookup can use. When only spaces separate them, or the pattern varies, Flash Fill learns it from an example you type (Lesson 24), and the lesson's advice to check its results before trusting them applies doubly to a trial balance.
Tax registration numbers come with spaces, hyphens and lower-case letters: can Excel make them match?
Yes, and The Complete Excel Course with AI Integration gives you a worksheet fix and a fix that repeats itself. On the sheet, TRIM clears spaces at either end and UPPER sets one case (Lesson 42), while SUBSTITUTE takes out a hyphen or an inner space by formula (Lesson 43). Find and Replace does the same in place, and Lesson 22 shows the trap a tax file must avoid: replacing a dash with nothing removed every dash on the sheet, so select the column first. Capitals never stop an Excel lookup from matching, but Power Query reads North and NORTH as two values, so codes go into one case before any merge; Lesson 157 trims them, puts them in capitals and strips hyphens with Replace Values, steps that rerun on every portal download. The register and the download then hold numbers that finally agree.
Amounts in a client's file are text, with money symbols and commas typed in: will the lessons turn them back into numbers?
Yes, and the fix stays fixed. In Power Query, The Complete Excel Course with AI Integration strips the money symbol, the commas, NA entries and hyphens out of the amount columns with Replace Values (Lesson 157), then gives each column a true decimal or whole number type (Lesson 158), the step that lets every total include them. On the worksheet, Find and Replace removes stray characters from a single column (Lesson 22), and COUNT set beside COUNTA on the same column shows how many cells still hold text where a figure belongs (Lesson 35). For a tax accountant the danger is plain: SUMIFS passes over an amount stored as text without a word, so a client's expenses can come out lower than the books say. Clean the column, then confirm the two counts agree before the computation reads a single figure.
Dates in a client's export sort in the wrong order and refuse to filter by month: what turns them into real dates?
Real dates, and The Complete Excel Course with AI Integration gets you there at the worksheet and in Power Query. Lesson 20 teaches the first sign: a date column that sorts in a strange order often holds dates Excel reads as text, and they must become true dates before anything else is done with them. In Power Query, Lesson 159 clears the placeholders that block a conversion, an n/a, a note reading not a date and a date that cannot exist, sets the column to a date type and adds columns for the year, the month and the two together, so every invoice carries the period it belongs to. Lesson 158 gives the other columns their types in the same way. Once the dates are real, a filter by month or a SUMIFS by period picks up every invoice, and nothing drifts into the wrong return because Excel was reading text.
A client's purchase listing spells one supplier several ways: will the clean-up bring them together before I total input tax?
Yes, before any total is taken. The Complete Excel Course with AI Integration works on exactly this fault: on the Raw Data sheet of Lesson 22 Find and Replace settles misspelt names one column at a time, and the challenge of Lesson 46 and Lesson 47 makes two forms of one place, a short form and the full name, into one. PROPER with TRIM gives names a single, tidy look (Lesson 42), and SUBSTITUTE swaps a recurring wrong form for the right one by formula (Lesson 43). Lesson 58 shows why it matters: a stray space or a second spelling makes one region appear twice in a PivotTable, which on a client's file means one supplier's input tax split across two lines. Copilot also spots the variants and lets you pick the one form to keep (Lesson 97).
Before Remove Duplicates runs on a client's invoices, how do I know it will keep the genuine ones?
By looking before deleting, the order The Complete Excel Course with AI Integration teaches in Lesson 23. Duplicate Values under Conditional Formatting colours every repeat first, so you see exactly what would go. Remove Duplicates then deletes rows that match on the columns you tick: Expand the selection keeps each row whole, while Continue with the current selection would clear values from one column and leave the rest behind. For finer control, the table filter method lets you choose which copy of a repeated record goes. Tick the columns with care: an amount and a supplier alone would also remove two real invoices of the same value, while supplier and invoice number together repeat only when one invoice really was keyed twice. What remains is a purchase list you can total for an input tax claim without losing a single genuine invoice.
Every client's portal download comes in the same layout: can one clean-up serve them all?
Yes: build it once in Power Query and point copies of it at each file, a method The Complete Excel Course with AI Integration teaches step by step. Lesson 155 brings a CSV in with Transform Data rather than Load, so the clean-up is kept as saved steps instead of a one-off paste. Columns are dropped and renamed (Lesson 156), spaces, hidden characters and stray symbols cleared and codes set in capitals (Lesson 157), then types and period columns fixed (Lesson 158, Lesson 159). Lesson 164 duplicates a finished query and changes only its Source step, and the whole pipeline moves to a new file: the lesson does it for a second year of sales, and the same move serves a second client whose download shares the layout. Check each new file's blanks anyway, as that lesson advises, since every client brings faults of their own.
Hidden characters still break my lookups after TRIM: does the course deal with them?
Yes, and The Complete Excel Course with AI Integration is candid about TRIM's limits. Lesson 22 explains that TRIM removes spaces at either end and cuts runs of spaces to one, but leaves line breaks and non-breaking spaces, the kind that ride along in text copied from a portal or a PDF. Power Query pairs Clean with Trim in Lesson 157, stripping non-printing characters from every row of a download, and Find and Replace or SUBSTITUTE (Lesson 43) can swap out any stubborn character that remains. Why it matters: one invisible character makes a tax number differ from its twin, and a lookup that should match returns an error instead, the fault Lesson 70 turns into a readable NOT MATCHED message so you can see at once which line to fix.
Can I prove a cleaned file still ties to the client's own totals before I rely on it?
Yes, and The Complete Excel Course with AI Integration builds that proof in. On the worksheet, a SUM of the amount column and a COUNTA of the reference column, taken before and after the clean-up, should agree (Lesson 34, Lesson 35), and either count set against the number of rows shows any blanks. In Power Query, Lesson 161 builds a separate QA query with Group By: total sales and a row count for every month and region, sorted biggest first, so a figure that looks too good stands out at once. Point the same idea at a client's download, a total and a count per month, and set the result beside the client's own report or the portal's summary. When the two agree, the cleaned file is the client's data made tidier, and your working papers can say so.
A client sends a spreadsheet typed by several people: can Copilot tidy it, and what is left for me to check?
It can tidy a good deal, and The Complete Excel Course with AI Integration shows where your check comes in. Lesson 97 opens a deliberately messy sales sheet: Copilot's own suggestion removes extra spaces and lists each inconsistent spelling for you to settle by picking or typing one form, and a prompt returns a cleaning plan, from redundant spaces to inconsistent casing and missing values, plus a standardised column to insert. Lesson 89 prepares the ground with clear headers, no merged cells, one type of data per column and real dates, which a file typed by several hands rarely has. What stays with you is the judgement: which spelling is the supplier's registered name, and whether a blank means a missing invoice or a nil. These lessons run on Copilot inside Excel, so it has to come with your Microsoft 365.
The lessons use employee lists and sales files: will that carry over to a client's ledger and bank lines?
Yes: a stray space or a text amount does the same harm in a ledger as in a staff list. The Raw Data sheet of Lesson 22 holds stray spaces, misspellings, mixed case and stray symbols, the challenge of Lesson 46 adds names to split, places written two ways and IDs in several formats, and the SalesFusion files of The Complete Excel Course with AI Integration bring amounts carrying money symbols, NA in place of figures and dates Excel cannot read (Lesson 157). A client's ledger, bank lines and purchase listing carry exactly those faults under other column names. The practice files come with the lessons and the challenge has its own solution file, so you can test a method on the course's data, compare it with the answer, then run it on a client's spreadsheet knowing what a clean result looks like.
Should I learn the worksheet clean-up first, or go straight to Power Query?
The worksheet first, and The Complete Excel Course with AI Integration is ordered that way for a reason. The worksheet lessons (Lesson 22 to Lesson 25, then the text functions from Lesson 41) teach what each fix does, cell by cell, where you can watch it happen. Power Query, from Lesson 155, then performs the same fixes as recorded steps: trim, clean, replace, set a case, set a type. Seen first on the sheet, every Power Query step is recognisable the moment you meet it, and the worksheet tools remain the quicker choice for a spreadsheet a client sends only once. For the downloads that arrive every month or quarter the query wins, because the clean-up is done once and replayed. A tax accountant who knows both picks the right one for each file in seconds.
Does cleaning a client's file in Excel mean losing what the client actually sent?
You keep every figure the client sent, because both methods in The Complete Excel Course with AI Integration can leave the original alone. On the worksheet the clean-up happens beside the data: TRIM and PROPER fill a helper column, the clean values are pasted back with Paste Special and the helper is deleted (Lesson 42), so work on a copy and keep the client's sheet as it came. Power Query never edits its source at all: Lesson 155 connects to the file and loads the cleaned rows into a fresh table, and Applied Steps lists every change in order (Lesson 156). If a question comes back from the client or the tax authority months later, you can show what arrived, what changed and why, which is exactly what a tax file should be able to do.
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
- Formulas for tax accountants
- XLOOKUP and VLOOKUP for tax accountants
- PivotTables for tax accountants
- Excel charts for tax accountants
- Excel dashboards for tax accountants
- Conditional formatting in tax accounting
- Data validation for tax accountants
- Excel tables for tax accountants
- Text functions for tax accountants
- Date functions for tax accountants
- Dynamic arrays for tax accountants
- Power Query for tax accountants
- Power Pivot and DAX for tax accountants
- Macros and VBA for tax accountants
- Power Automate for tax accountants
- Copilot in Excel for tax accountants
- ChatGPT for Excel for tax accountants
- Claude in Excel for tax 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