The Complete Excel Course with AI Integration
Data cleaning for mechanical & electrical engineers
Test rig CSVs, commissioning sheets and supplier BOMs rarely arrive ready to analyse: readings stored as text, units glued to figures, tags with stray spaces, one test logged twice. The Complete Excel Course with AI Integration teaches mechanical and electrical engineers to clean them on industry-standard projects; this page picks the worksheet clean-up, text functions, duplicate checks, Copilot's help and the Power Query steps that replay it all.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Strip stray spaces out of tags, part numbers and descriptions with TRIM in a helper column, then paste the clean values back over the original with Paste Special.
- Replace a misspelling, a stray symbol or an old code across one column with Find and Replace, selecting the column first so the dashes inside part numbers elsewhere survive.
- Split a reading from its unit, or a tag from its location, with Text to Columns on a space, a comma or a character of your own, and pull a pattern out of descriptions with Flash Fill.
- Remove a test or an item logged twice with Remove Duplicates, deciding which of the two records stays.
- Find the readings stored as text before they reach a total, by setting COUNT against COUNTA on the same column.
- Give names and descriptions one consistent case with UPPER, LOWER and PROPER, and swap old text for new by formula with SUBSTITUTE.
- Have Copilot propose a cleaning plan and hunt suspect readings, working to your own definition of what counts as too high.
- Record the whole clean-up once in Power Query, trimming, cleaning, replacing values and setting data types, so each new export from the rig or logger comes out clean on refresh.
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.
A sales analysis project in the course, it opens with the clean-up every summary needs first: a stray space or a second spelling that would show one region twice, and an empty row that would cut the data short, all fixed before the first PivotTable is built.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Built on deliberately messy sales CSVs, its first queries meet what a logger or test-rig file carries: figures that arrive as text, gaps marked NA, numbers spelt out in words and codes padded with spaces, each cleared by a step that reruns on the next file.
-
Project 14
Agentic AI in Excel
AI finds and fixes the formula; you check it before it counts.
The course's AI project, it puts Copilot on a deliberately messy sales sheet: stray spaces removed, each name spelt several ways brought to one form, suspect rows hunted, and the lesson that an outlier means nothing until you tell Copilot what counts as high.
-
Project 02
Dunder Michael Paper Company employee database
An employee database in the course, it carries the worksheet clean-up from end to end: stray spaces trimmed and pasted back as values, misspellings and stray symbols replaced, duplicate IDs removed, names and emails split, then a Ninja Challenge that hands you a messier file to fix on your own.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 18 of them, 1 h 37 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 can enter data and write a simple formula: the clean-up begins on a messy sheet and moves through duplicates and split columns to the text functions. New to Excel? Begin at Lesson 1, then take Lesson 19, which turns a list into a table, before the cleaning starts. Already tidying exports by hand and tired of repeating it? Jump to Lesson 155, where Power Query records the steps once for every later export.
18 of 186 lessons · 1 h 37 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) The worksheet clean-up on a deliberately messy employee sheet: TRIM in a helper column pasted back as values, Find and Replace for spellings, symbols and doubled characters with the column selected first, duplicate rows found and removed, names split by Flash Fill and by Text to Columns. Every move applies to a part list, a tag register or a commissioning export.
- 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) COUNTA beside COUNT, the quickest test of a column that should hold only figures: set against each other on the same column, the gap is the number of cells holding text where a reading should be. The lesson works on a sales table; a column of test results is checked the same way.
- 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 for cleaning: TRIM, UPPER, LOWER and PROPER with the results 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 new mess at entry, and a Ninja Challenge that hands over a messier list to clean alone before the solution.
- 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 before a PivotTable: a stray space or a second spelling would show one region twice, so Find and Replace, TRIM and PROPER tidy the text, and an empty row and column are deleted because a gap makes the data look shorter than it is. A failure or fault log needs the same pass before it is summarised.
- 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 cleaning work: outliers and suspect rows hunted in a sales table, with the lesson's insistence that you define what counts as high, then stray spaces and inconsistent spellings fixed through prompts, a cleaning plan and a cleaned column to insert. The hands-on steps need Copilot in your Microsoft 365.
- 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 made repeatable: a CSV imported through Power Query, columns removed and renamed, text trimmed, cleaned of non-printing characters, given one case and corrected with Replace Values, then each column set to its true type, decimal, whole number, date or text. Built on sales exports, the steps fit a logger or test-rig CSV and rerun on every new file.
- 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
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
How do mechanical and electrical engineers clean test and logger data in Excel before analysing it, and which course teaches the whole routine?
In stages, from a stray space to a clean-up that repeats itself, and The Complete Excel Course with AI Integration from Coding Liquids teaches every stage. On the worksheet: TRIM, Find and Replace and Paste Special values (Lesson 22), duplicate rows removed (Lesson 23), columns split with Flash Fill and Text to Columns (Lesson 24, Lesson 25), then the text functions and a cleaning challenge (Lesson 42 to Lesson 47). For figures: COUNT set against COUNTA to expose text where readings belong (Lesson 35). For repeats: Power Query steps that clean each new export the same way (Lesson 157, Lesson 158). The projects are industry standard, designed after talking with people from many different industries, and their messy files carry the faults engineering exports carry. This page picks out 18 lessons, 1 hour 37 minutes in all, and ties each one to a test rig CSV, an equipment list or a commissioning sheet.
A reading arrives as 230 V or 125 psi in one cell: how does the course teach splitting the number from its unit?
Three ways, and The Complete Excel Course with AI Integration teaches each, so you pick by the file. Text to Columns cuts the column at the space (Lesson 25): Delimited, Space as the separator, Treat consecutive delimiters as one so a double space makes no blank column, and an empty column inserted first so the split cannot overwrite its neighbour. With General as the column format, the figure lands as a number Excel can add and the unit moves to a column of its own. Find and Replace, with the column selected first, deletes the unit text outright and leaves the figure behind (Lesson 22). On a logger export that arrives every week, Power Query records the same fix once with Replace Values and then sets the column to a decimal type for every file after (Lesson 157, Lesson 158). Until the unit is gone, a SUM over that column quietly skips the reading.
Why does my SUM of readings come out short when every cell appears to hold a number?
Because some of those numbers are text, and The Complete Excel Course with AI Integration teaches you to prove it in one line. COUNT counts only true numbers while COUNTA counts every filled cell; set against each other on the same column, the gap is the number of cells holding text where a reading belongs (Lesson 35, with Lesson 34 for COUNT itself). Exports from loggers and test software often write figures as text, and SUM simply passes over them, so the total looks plausible and is wrong. Neither function counts a blank, so for gaps you set a count against the number of rows instead. To fix the text for good, Power Query gives each column its true type, decimal or whole number (Lesson 158), and the worksheet clean-up of Lesson 22 clears the stray symbols that stop a figure being read as one.
Two exports pasted together left some tests in the log twice: can Excel remove the repeats without losing the right record?
Yes, and The Complete Excel Course with AI Integration shows both the quick way and the careful one in Lesson 23. Duplicate Values colours the repeated IDs first, so you see the size of the problem before deleting anything. Remove Duplicates then clears them: Continue with the current selection removes values from that one column alone, which shifts them out of line with their rows, while Expand the selection removes whole rows, judged on the columns you tick. The careful way suits a test log where two copies differ, one carrying a comment or a retest result: format the data as a table, filter the repeated ID and delete the copy you do not want, so you decide which record survives. The lesson's rule of thumb holds for tests as for people: one record, one ID, and a repeated ID usually means a repeated record.
Find and Replace once stripped every dash out of our part numbers: how does the course teach it safely?
By narrowing it first, and The Complete Excel Course with AI Integration shows why on its own sample data. In Lesson 22, replacing a dash with nothing to tidy one column of salaries took every dash off the sheet, because Find and Replace covers the whole sheet unless a range is selected. The habit the lesson then teaches is the fix: select the column, then press Ctrl+H. Find All lists every match before anything changes, and Replace All does the work only inside your selection. For an engineer the stakes are plain: part numbers, drawing numbers and cable tags are full of dashes and slashes that must survive while a symbol is cleared from a column of readings. SUBSTITUTE (Lesson 43) makes the same swap as a formula in a new column, leaving the original in place to check against.
Should I clean a test export in place, or keep the raw file untouched?
Keep the raw readings untouched, and The Complete Excel Course with AI Integration teaches two ways to clean beside them. On the worksheet, a helper column does the work: TRIM or PROPER fills it, the clean values are pasted back with Paste Special as values, and the helper is deleted, so no formula is left between you and the data (Lesson 42). In Lesson 22 the mess arrives on a sheet of its own, Raw Data, which mirrors a sound habit: the export as received on one tab, the working copy on another. Power Query leaves the source alone entirely: its recorded steps work on what it loads, and the clean result lands as a separate table (Lesson 155 to Lesson 158). For test records that may be questioned later, an untouched original is your evidence of what the instrument actually wrote.
Our tags come in as MCC-01, mcc-01 and Mcc-01: do the capitals have to be fixed?
Fixing them makes the schedule read cleanly and keeps Power Query from splitting one tag into three, and The Complete Excel Course with AI Integration teaches both fixes. Excel's own counts are safe either way: COUNTIFS, SUMIFS, the lookups, Remove Duplicates and PivotTables all read MCC-01, mcc-01 and Mcc-01 as one tag. What does split them is a stray space or a second spelling such as MCC01, which TRIM and Find and Replace clear (Lesson 22). Capitals still matter in two places. A schedule that mixes them looks careless in a design review, and UPPER, LOWER and PROPER give every tag one form (Lesson 42). Power Query is case-sensitive, so it would treat the three as different tags, which is why Lesson 157 sets codes to upper case inside the query before anything is merged or grouped.
Can Flash Fill pull the thread size out of fastener descriptions such as M8 x 25 hex bolt?
It pulls out any part a description shows in a regular pattern, and The Complete Excel Course with AI Integration teaches it in Lesson 24. You type the first answer beside the first row, M8 for an M8 x 25 hex bolt, and Ctrl+E, or Fill and then Flash Fill on the Home tab, completes the column by copying your pattern. The lesson splits full names into first and last names the same way, and adds the warning that matters on a parts list: check the results, because Flash Fill copies the pattern it sees and can go off script when a row breaks it, such as a description that starts with the material instead of the size. For a strict rule, a cut at every space or comma, Text to Columns (Lesson 25) splits by delimiter and never guesses. Flash Fill writes values, not formulas, so run it again when the descriptions change.
I asked Copilot for the odd readings in a week of rig data and it answered with a question of its own: what should I have told it?
Your own definition of odd, and The Complete Excel Course with AI Integration shows why Copilot cannot supply it for you. In Lesson 96, Copilot is asked for rows above a set figure and returns the full list; asked for unusually high quantities, it answers with a statistical method of its own; asked for high quantity with low profit, it comes back with a question: what counts as high, and what as low? The lesson's rule is that the analyst supplies the logic, a figure above a limit or past a percentile, and that without it Copilot guesses. For test data that logic is already yours: the design limit, the sensor's range, a value no healthy rig produces. Lesson 97 then has Copilot clear stray spaces and merge inconsistent spellings, and Lesson 99 gives the checklist for signing its answers off.
The rig writes a new CSV every day: will I have to clean each one by hand?
Clean the first one in Power Query and the files after it clean themselves, and The Complete Excel Course with AI Integration teaches that in Lesson 155 to Lesson 158. The CSV comes in through Get Data, unwanted columns go and the rest are renamed, text is trimmed, cleaned and put in one case, Replace Values strips symbols and turns NA entries into true blanks, and every column gets its type: decimal for readings, whole number for counts, date for the date column. Each step is saved in order, and the next file passes through all of them at a refresh. The lessons clean sales exports, faults and all; a logger CSV goes through the same steps. To stack a whole folder of daily files into one table, the course moves on to From Folder in Lesson 166, and the worksheet methods stay handy for the file you will only see once.
Is there a cleaning exercise to try before I touch our own test records?
Yes: The Complete Excel Course with AI Integration sets a Ninja Challenge for exactly that, and expects you to attempt it unaided. Lesson 46 hands over a messy list with the jobs any register needs doing: entries in the wrong case, a column to split, one thing written two ways, a drop-down still to add, and IDs typed in two formats, EM-01 beside EM-002. Only afterwards does Lesson 47 show how it is done, so you learn what you could manage alone. That last job is the nearest to engineering work: two contractors padding tag numbers differently produce exactly that mismatch, and the cure is the same. Treat the challenge as a rehearsal. Time yourself on the starter file, set your result beside the solution file, then run the same pass over a copy of your own register before the original is touched.
Dates from a site laptop will not sort or subtract properly: will the course help?
Yes: The Complete Excel Course with AI Integration teaches you to spot a date Excel is reading as text and to make it a real one. Lesson 20 checks that a date column holds real dates before sorting it, with the warning that a column which sorts strangely usually holds text and should be formatted as dates first, and Lesson 22 sets the dates to Short Date as part of its clean-up. Lesson 74 adds the diagnosis: Excel stores every date as a number, so an odd result usually means a date is being read as text. In Power Query, the date column is given its date type along with the rest (Lesson 158), and stays that way for every later file. For a commissioning log where the order of events matters, real dates are the difference between a timeline and a jumble.
Is TRIM enough for exports from instruments, or can some characters survive it?
TRIM handles ordinary spaces, and The Complete Excel Course with AI Integration is exact about where it stops. Lesson 22 teaches that TRIM strips spaces from both ends of an entry and cuts runs of spaces inside it to one, but leaves line breaks and non-breaking spaces where they are. Both turn up in system exports and in tables copied from web pages or documents, and a tag that still looks wrong after TRIM usually hides one of them. Power Query's Clean step, taught beside Trim in Lesson 157, removes non-printing characters such as line breaks, Replace Values clears whatever else the column needs, and both steps repeat on every later file. Knowing which tool reaches which character saves the hour otherwise spent comparing two cells that look identical.
Half our office works on Macs: will these cleaning lessons run there?
Yes: every lesson on this page runs in Excel on Windows or Mac, and The Complete Excel Course with AI Integration names Windows for two tools only, Power Pivot and Power Automate, neither of which is on this path. The worksheet clean-up, the text functions, COUNT and COUNTA, Remove Duplicates, Flash Fill and Text to Columns are part of Excel itself, and the Power Query steps here, importing a CSV, trimming, cleaning, replacing values and setting types, sit under Get Data on the Data tab of Excel from Microsoft 365. The keyboard shortcuts in the lessons are the Windows ones, so a Mac user swaps in the Mac's own keys here and there. The Copilot lessons need Copilot in your Microsoft 365, and you can watch them before deciding whether your work needs 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.
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 M&E engineers
- Lookups for M&E engineers
- Pivot tables for M&E engineers
- Excel charts for M&E engineers
- Dashboards for M&E engineers
- Conditional formatting for M&E engineers
- Data validation for M&E engineers
- Excel tables for M&E engineers
- Text functions for M&E engineers
- Power Pivot and DAX for M&E engineers
- Macros and VBA for M&E engineers
- Power Automate for M&E engineers
- Claude in Excel for M&E engineers