The Complete Excel Course with AI Integration

Excel data cleaning for health and safety officers

Incident logs fed by forms, training exports and inspection sheets kept by several sites never arrive clean: one hazard spelt three ways, a near miss logged twice, dates that will not sort. The Complete Excel Course with AI Integration teaches health and safety officers to fix it all, and this page picks out the lessons that do: TRIM, Find and Replace, Remove Duplicates, Flash Fill, Text to Columns, text functions and drop-down lists, on industry-standard projects.

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 out of sites, hazard categories and worker names with TRIM, then paste the clean values back over the originals with Paste Special.
  • Bring two or three spellings of one hazard, location or contractor back to a single form with Find and Replace limited to the right column.
  • Find near misses and incidents logged twice, then remove the copies with Remove Duplicates or choose which record stays through a filter.
  • Split a field that holds two facts, such as site and area, into separate columns with Flash Fill or Text to Columns.
  • Expose lost days or hours held as text by setting COUNT beside COUNTA, and measure how complete each column is before the monthly figures go out.
  • Prepare an incident export for a PivotTable: no blank rows, one spelling per site, tidy capitals and an Excel table underneath.
  • Let Copilot suggest the clean-up on a messy export, then confirm every change it made before a figure is reported.
  • Keep a cleaned log clean with drop-down lists on the columns people fill in.

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.

    The course's PivotTable project on sales orders, whose raw starter file shows why cleaning comes first: one region listed twice because of a stray space, an empty row that cuts a PivotTable short and city names in the wrong case, all put right before the first pivot is built.

  • Project 14

    Agentic AI in Excel

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

    In the course's AI project, a sales sheet made messy on purpose is where Copilot removes extra spaces, settles one spelling for each region and product and drafts a cleaning plan, with you approving each change before it lands.

  • Project 08

    MarketPulse

    One screen that shows which campaigns earn back their spend.

    The course's campaign dashboard opens with the checks a safety dashboard deserves too: the range made a table, Remove Duplicates run with the fields chosen, and Copilot asked to report inconsistencies, all before a single PivotTable is built.

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 list arrives with stray spaces, misspellings, mixed capitals, doubled symbols and repeated IDs, the same faults a form-fed incident log carries, and you clear every one with worksheet tools before splitting fields and building the columns a report needs.

  • Project 03

    Sales Goal Tracker

    On its sales table, COUNT and COUNTA become a completeness check: set side by side on one column they expose text where a number should be, and set against a count of the ID column they show how many cells were left empty.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 16 of them, 1 h 27 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 open an export and select a column: it begins on a messy sheet and cleans it with tools you will use every month. New to Excel? Take Lesson 1 first, then the table lessons from Lesson 19, before this path. Already trimming and replacing by hand? Go to Lesson 42 for the formula route, or to Lesson 58 for the routine that comes before a PivotTable.

16 of 186 lessons · 1 h 27 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 4 of 9 lessons · 28 min Clean-up on an employee list: TRIM in a helper column pasted back as values, Find and Replace narrowed to one column so a fix never spreads, duplicate rows found and removed, and names split by Flash Fill and by Text to Columns. Every tool works the same on an incident export.
  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, COUNTA and a count of distinct values on the Sales Goal Tracker's sales table: the completeness checks that show text sitting in a number column and how many cells were left blank.
  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 employee list: CONCAT and TEXTJOIN, TRIM with UPPER, LOWER and PROPER, FIND, SEARCH and SUBSTITUTE, Text to Columns, a Department drop-down, then a challenge that cleans a messier list from its problem file to its solution.
  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 PivotTables: a stray space that makes one region appear twice, city names put into proper case, an empty row and column removed and the range made a table, the routine an incident log needs before it is counted.
  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 Clean messy data with Copilot: its suggestions remove extra spaces and settle one spelling for each region and product, it drafts a cleaning plan and offers a cleaned column, and each change is checked before it is kept.
  1. 97 Clean messy data with Copilot in Excel AI prompts plus Excel functions 4 min
11 MarketPulse campaign intelligence dashboard 1 of 10 lessons · 4 min MarketPulse's opening check: the campaign range made a table, Remove Duplicates run with the fields chosen, and Copilot asked for a KPI plan and a report of inconsistencies before any dashboard work starts.
  1. 106 Clean and check marketing data in Excel Remove duplicates, Copilot KPI plan 4 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.

Why should a health and safety officer learn Excel data cleaning before the incident counts and charts, and which course teaches it ahead of them?

Because every count, rate and chart is only as right as the log beneath it, and The Complete Excel Course with AI Integration from Coding Liquids teaches the clean-up before the counting starts, on industry-standard projects designed after talking with people from many different industries. A stray space or a second spelling turns one site into two, a near miss reported by two people counts twice, and lost days held as text drop out of a total, all without a single error on screen. The lessons on this page clear each fault in turn: TRIM and Find and Replace for spaces and spellings, Remove Duplicates for repeats, Flash Fill and Text to Columns for fields that hold two facts, UPPER, LOWER and PROPER for tidy capitals, COUNT against COUNTA for numbers that are really text, and drop-down lists so the mess stops at entry. The path runs to 16 lessons, 1 hour 27 minutes in all, and each tool works on an incident log, a training export or an inspection sheet exactly as it does on the course's employee and sales data.

Our hazard categories have grown three names for the same thing: how do I bring them back to one?

With Find and Replace aimed at one column, and The Complete Excel Course with AI Integration shows exactly how to stop the fix spreading. In Lesson 22 a sheet full of misspellings and stray symbols is set right with Ctrl+H, Find All to see every match before anything changes, then Replace All; the same lesson shows the danger of skipping the selection, since replacing a dash with nothing strips every dash on the sheet, not only those in the salary column. So select the hazard category column, replace Fork lift and FLT with Forklift, and only that column changes. TRIM in the same lesson removes the trailing space that hides a fourth version from sight. For a long tail of variants, Copilot's suggestions in Lesson 97 list each inconsistent spelling and let you pick or type the one form to keep. Then put the column behind a drop-down (Lesson 45) so a new variant cannot be typed in.

Do mixed capitals in hazard codes matter if Excel counts them together anyway?

They leave the counts intact, and The Complete Excel Course with AI Integration teaches why they are still worth fixing. COUNTIFS, SUMIFS, the lookups, filters and PivotTables all read FALL, Fall and fall as one value, so a site total is never split by capitals alone; what splits it is a stray space or a second spelling. Capitals matter for two other reasons. A report that shows the same code three ways reads as careless to a safety committee, and Power Query, where a monthly export often ends up, is case-sensitive, so there NORTH and North become separate values (Lesson 157 says so and fixes it with UPPERCASE). Lesson 42 gives you the worksheet tools: UPPER for codes, PROPER for names and places, LOWER where a field calls for it, each in a helper column and then pasted back as values, so no formula is left behind and the clean text stands on its own.

The same near miss was reported by two people: how do I remove the copy without losing the better record?

By choosing which copy goes rather than letting Excel choose, a method The Complete Excel Course with AI Integration teaches in Lesson 23. The lesson first marks every repeated ID with the Duplicate Values rule, so you see the size of the problem. Remove Duplicates then shows its two modes: Continue with the current selection strips values from one column only, which the lesson undoes, while Expand the selection removes whole rows. The third route keeps you in charge: make the list a table, filter the ID column to the repeated values and delete the weaker row yourself, keeping the report with the fuller description or the witness details. An ID should work like a passport number, one event and one reference, so a repeat nearly always means a repeated report. MarketPulse runs the check again on campaign data (Lesson 106), with the fields to compare chosen first.

Lost days and hours worked came out of the export as text: how do I find them and make them count?

COUNT set beside COUNTA finds them, and The Complete Excel Course with AI Integration teaches both the check and the fixes. COUNT counts only cells that hold numbers, while COUNTA counts anything that is not empty (Lesson 34 and Lesson 35), so on a lost-days column the gap between the two is the number of entries sitting there as text: a figure with a stray character, a note such as N/A, a value pasted in from a form. Totals and rates quietly leave those cells out, which is how a monthly frequency rate comes out low without a single error showing. The worksheet fixes are in Lesson 22, where Find and Replace strips stray characters out of a salary column and Paste Special keeps the clean values. For an export that returns every month, Power Query's data types (Lesson 158) set the column as numbers once and for all.

Dates from the near-miss form will not sort or count by month: what has gone wrong?

They are almost certainly text dressed up as dates, and The Complete Excel Course with AI Integration shows how to tell and how to fix it. Excel stores a real date as a number, which is what lets it sort in order, subtract from TODAY and group by month; a date held as text sorts like a word and falls out of every monthly count. Lesson 22 opens its clean-up by setting the date column to Short Date, a step that also separates real dates from text, since only a real date changes its look. Lesson 20 makes the same check before sorting hire dates, and Lesson 74 meets a date that fails because it was typed the wrong way round, fixed by entering it day first. Form exports often mix the two orders, so compare a few against the original. For a monthly export, Power Query's date steps (Lesson 159) clear placeholders such as n/a and set the column as dates for good.

Which near-miss reports are missing a location or a description, and how do I find them before the report goes out?

The Complete Excel Course with AI Integration gives you three ways, from a single count to a flag on every row. The count comes first: COUNTA counts every cell that holds anything (Lesson 35 uses it as a completeness check), so COUNTA of the location column set against COUNTA of the report ID column shows how many reports arrived without one. To see which, Copilot can list the rows with missing or blank values on request, as Lesson 89 has it do on a sales table before the change is undone. For a check you run every month, FormatWizard's loop in Lesson 147 writes Region missing beside every row whose region is empty, and trims each cell first so one holding only spaces is caught too. The same macro idea flags a missing description, site or date, so the gaps are found by you before the safety committee finds them.

Before the incident log goes into a PivotTable, what has to be cleaned?

Three things, and The Complete Excel Course with AI Integration deals with each in Lesson 58 before its first PivotTable is built. Text comes first: a trailing space or a second spelling gives one site two rows in the PivotTable, so a TRIM helper column runs down the sites, Find and Replace settles the spellings, and PROPER gives place names one style; the helpers are then pasted back as values and deleted. Structure comes next: an empty row or column can make a PivotTable stop short of the real end of the data, so every blank row and column goes. Shape comes last: the cleaned range becomes an Excel table, so incidents logged next month join the source on their own and a refresh takes them in. The lesson's rows are sales orders; on an incident log the routine is exactly the same, and it belongs before every monthly count by site, type or shift.

Could Copilot clean a near-miss export full of free-text locations, and what would I check afterwards?

Yes, Copilot does much of the tidying, and Lesson 97 of The Complete Excel Course with AI Integration shows the working method. On a sales sheet made messy on purpose, with stray spaces and regions and products spelt several ways, Copilot's suggestion above the formula bar removes the extra spaces, then lists each inconsistency so you pick or type the one form to keep before applying it. Asked for a plan, it names the text fields, redundant spaces, inconsistent casing and missing values to deal with, and App Skills offers a standardised column to insert beside the original. Free-text locations are a fair test, because only you know that Bay 2 and the loading bay by gate two are one place. So check what changed: count the distinct values before and after, read a sample of rows, and keep the original column until the counts agree. The checklist in Lesson 99 is the routine to run on anything Copilot hands back.

The training export arrives every month with the same faults: does the course make the clean-up automatic?

Yes, in two ways, and The Complete Excel Course with AI Integration teaches both once the worksheet tools on this page are in hand. Power Query records each clean-up step once and replays it on the next file: the SalesFusion lessons trim text and fix its case (Lesson 157), set true numbers and dates (Lesson 158) and combine a whole folder of exports (Lesson 166), all at a refresh. FormatWizard takes the other route, a VBA macro that checks a whole sheet, flags missing values row by row and colours what it finds (Lesson 148 and Lesson 149), so the month's errors are listed before the figures are used. The worksheet lessons still come first for a reason: TRIM, Find and Replace and Remove Duplicates teach what each fault looks like, which is how you know what to automate, and they remain the quickest fix for the one-off spreadsheet that never comes back.

Are there messy files to practise on before I touch the live incident register?

Yes, and the mess is deliberate. The Complete Excel Course with AI Integration hands you starter files with the faults already in them: a Raw Data sheet full of stray spaces, misspellings, mixed capitals and doubled symbols in Lesson 22, an employee list with repeated IDs in Lesson 23, and a raw sales file to prepare for PivotTables in Lesson 58, each with a cleaned or finished version to compare against. The Ninja Challenge then sets seven clean-up tasks on a messier list (Lesson 46): fix the casing, split full names, rebuild each email address, make location names uniform, add a location drop-down and bring IDs written in different formats into one. You try them first, then Lesson 47 walks through the solution. Practising there means your first mistakes land on a training file, never on the register the safety committee reads.

Once the log is clean, how do I stop it getting messy again?

Put drop-down lists on the columns people fill in, and The Complete Excel Course with AI Integration teaches the setup straight after the cleaning tools. In Lesson 45 the Department column is limited to an approved list kept on its own sheet, so HR and Human Resources can never both appear; the challenge solution in Lesson 47 adds lists for department, status, location and job title, and shows what to do with a value the list refuses: replace it from the drop-down. On a safety log that means site, hazard category, incident type and severity picked from your lists rather than typed, so the clean-up you did once is not repeated every month. Free-text fields such as the description still need TRIM and a read-through, but the columns you count and group by stay clean at the source, and the monthly report stops beginning with an hour of repairs.

The form puts the site and the area in one cell: can I split them without retyping?

Yes, and The Complete Excel Course with AI Integration gives you two tools for it: one that learns from an example and one that follows a rule. Flash Fill (Lesson 24) copies a pattern you begin: type the site for the first report, press Ctrl+E, and Excel completes the column, which suits entries that all share one shape; read its results, because it can drift off script. Text to Columns (Lesson 25) cuts every cell at a delimiter you choose, a space, a comma, a slash or any character entered under Other, and Treat consecutive delimiters as one stops a doubled separator from leaving an empty column; insert a blank column first so the split never writes over its neighbour. Lesson 44 runs the wizard again on a city and state column split at the comma. With site and area apart, a near-miss count by area, a filter for one site and a drop-down for each column all become possible.

How long before I can clean a month's incident export myself?

About 1 hour 27 minutes of lessons, and the first export you clean can be this month's. The Complete Excel Course with AI Integration opens the path with Lesson 22, a single lesson that covers TRIM, Paste Special values and Find and Replace on a messy sheet, enough to fix stray spaces and spellings the same day. Remove Duplicates, Flash Fill and Text to Columns follow within the next few lessons, then the counting checks, the text functions and the drop-down lists, and the PivotTable preparation and Copilot lessons close it. Each project comes with starter and finished files, so every step can be checked against a working answer, and lifetime access keeps the lessons open for the next strange export a system sends you. With the instructor support plan, a question about your own messy file goes to the instructor in writing, and completing the course earns a Certificate of Completion.

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.