The Complete Excel Course with AI Integration
Excel text functions for compensation analysts
Much of the trouble in a pay file is text: job codes that pack three facts into one cell, survey titles that never match, a trailing space that sinks a band lookup, statements that need a figure inside a sentence. The Complete Excel Course with AI Integration teaches the text functions for each on industry-standard projects, and this page picks them out: cleaning, case, splitting codes, joining keys and labels, searching titles, TEXTSPLIT and TEXT, Copilot and Power Query.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Split a job code into family, level and location with LEFT, RIGHT and MID, or with TEXTSPLIT where a delimiter separates the parts.
- Strip trailing spaces and hidden characters with TRIM and Power Query's Clean step, so job codes match the band table and the survey at the first attempt.
- Put codes in upper case, names in proper case and emails in lower case with UPPER, PROPER and LOWER, knowing where PROPER changes what it should not.
- Build IDs, lookup keys and labels to one pattern with CONCAT, the & operator and TEXTJOIN.
- Find a keyword inside survey or internal job titles with SEARCH and FIND, and standardise abbreviations with SUBSTITUTE.
- Write reward statement lines that keep figures and dates readable inside the sentence, with TEXT doing the formatting.
- Choose between Flash Fill, Text to Columns and a formula for each split, and between worksheet formulas and Power Query for a clean-up that recurs.
- Label free-text job titles with the COPILOT function, checking each result before it is used.
Projects
What you will build.
The course has 14 industry-standard projects. These five matter most here.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
Built on HR records, it splits a packed position code into its parts with LEFT, RIGHT and MID and joins first and last names into one column, the two moves behind every job-code and name field in a pay file.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
Built for budget against actual, its model splits a key separated by pipes with TEXTSPLIT and turns the key's year and month into a label with LEFT, MID and TEXT inside LET, text work at its most advanced.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Built as a Power Query pipeline over messy sales files, it trims, cleans, upper-cases and replaces text once and repeats the work at every refresh, warning that Power Query treats North and NORTH as two different values.
-
Project 14
Agentic AI in Excel
AI finds and fixes the formula; you check it before it counts.
Its COPILOT function lesson, on the AI section's sales workbook, fills a column from a prompt written into each cell, the pattern for labelling a free-text field row by row.
-
Project 02
Dunder Michael Paper Company employee database
Its employee list is where text gets cleaned and rebuilt: trimmed, re-cased, searched and substituted, split by Flash Fill and Text to Columns, joined into emails, then fixed in a seven-task challenge.
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 46 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 41 CONCAT, the & operator and TEXTJOIN in Excel
Start at Lesson 41 if you can write a simple formula: the core text functions run from there to the challenge of Lesson 47, and the code-splitting lessons of Lesson 72 and Lesson 73 build on them. New to Excel? Begin at Lesson 1. Already fluent in TRIM, CONCAT and LEFT? Go to Lesson 117 for TEXTSPLIT and TEXT inside a model, then to Lesson 157 for the Power Query version.
20 of 186 lessons · 1 h 46 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) TRIM in a helper column pasted back as values, and Find and Replace held to one column: the worksheet clean-up for stray spaces, spellings and symbols in an employee sheet.
- 22 Cleaning data in Excel TRIM, Paste Special values and Find and Replace 13 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) Flash Fill, which copies a pattern you start, and Text to Columns, which cuts by a strict rule such as a space or the @ of an email, for splits you need once.
- 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) The function library: Insert Function searched by purpose and Function Arguments filled in click by click, here building an UPPER formula, the way to find the right text function when its name escapes you.
- 38 The Excel function library Insert Function dialog and Formula AutoComplete 5 min
05 Text functions and data validation (enhancing data quality) The text functions lesson by lesson on an employee list: CONCAT, the & operator and TEXTJOIN; TRIM, UPPER, LOWER and PROPER; FIND, SEARCH and SUBSTITUTE with IFERROR; Text to Columns by comma; a department drop-down; and a challenge that cleans a messy list in seven tasks.
- 41 Start here 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 Text cleaned before a PivotTable: a stray space or a second spelling makes one region appear twice, so Find and Replace, TRIM and PROPER fix it first, as a grade or department field needs before any pay summary.
- 58 Preparing data for PivotTables Clean data with TRIM, PROPER, find and replace 5 min
08 Advanced Excel functions: lookups, text and arrays The text lessons of the PeopleInsight HR workbook: CONCAT, & and TEXTJOIN joining first and last names, then LEFT, RIGHT and MID splitting a position code into location, department and number.
- 72 CONCAT and TEXTJOIN in Excel Combine employee names and text with a delimiter 3 min
- 73 LEFT, RIGHT and MID in Excel Extract parts of a text code like DAL-SAL-0001 7 min
08 Advanced Excel functions: lookups, text and arrays A challenge that reformats each order ID by joining a text prefix to it, beside XLOOKUP and totals: building an identifier to a set pattern.
- 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) The COPILOT function, a prompt written into a formula that answers cell by cell, used to turn state names into abbreviations and to work out a rise in unit costs.
- 101 COPILOT function in Excel Use Copilot as a formula inside your cells 4 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) FinanceGuard's model: TEXTSPLIT pulling the department and category out of a key separated by pipes, and LET with LEFT, MID, DATE and TEXT turning the key's year and month into a month label. The key list spills by itself as data grows, and one double-click fills the columns beside it.
- 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 min
14 VBA and macros in Excel: FormatWizard Text inside VBA, after FormatWizard's opening lessons on the editor: Trim within a loop so a cell of spaces counts as empty, and a message built by joining strings with & and a pipe, one flag per row.
- 147 For Next loop in VBA Flag missing region values in Excel 4 min
- 148 VBA If Else and loops Check missing sales data and build a FlagText message 5 min
15 SalesFusion: advanced data tools and a Power Query modelling system Power Query's text tools: Trim, Clean, Replace Values and UPPERCASE on code columns, saved as steps that run again at every refresh. Power Query is case-sensitive, so the case is settled there too.
- 157 Clean text in Power Query Trim, clean, replace values and fix text case 6 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.
What are the Excel text functions compensation analysts rely on, and can one course teach them on HR data?
A compact set, and The Complete Excel Course with AI Integration from Coding Liquids teaches every one of them on HR and employee records, inside industry-standard projects designed after talking with people from many different industries. TRIM, with Power Query's Clean step, for codes that refuse to match; UPPER, LOWER and PROPER for consistent case; LEFT, RIGHT, MID, FIND and TEXTSPLIT for taking job codes apart; CONCAT, the & operator and TEXTJOIN for building keys, IDs and labels; SEARCH and SUBSTITUTE for job titles; TEXT for figures and dates inside a sentence. The 20 lessons on this page take 1 hour 46 minutes, starting at Lesson 41 and reaching the PeopleInsight HR workbook by Lesson 73. Every lesson comes with its practice file and the finished version, so each function is learned by using it on real columns.
How do text functions take a job code apart into family, level and location?
By position or by separator, and The Complete Excel Course with AI Integration teaches both. Where each part has a fixed length, LEFT, RIGHT and MID do it: Lesson 73 takes a position code shaped like DAL-SAL-0001 and returns its first three characters, its last four and, with MID, the three that start at the fifth, and the same three functions take a job code apart into family, level and location. Where lengths vary, FIND (Lesson 43) returns the position of the hyphen, so LEFT and MID know where to cut. Where a separator divides the parts, TEXTSPLIT splits on it directly: Lesson 117 pulls a department and a category out of a key separated by pipes, in a modern Excel. For a one-off file, Text to Columns makes the same split without formulas (Lesson 44).
A job code that looks identical still returns no match: what is hiding in it?
Usually a space or a character you cannot see, and The Complete Excel Course with AI Integration teaches how to find and remove both. A trailing space makes ENG-104 and ENG-104 with a space after it two different values to XLOOKUP, MATCH, COUNTIFS and every PivotTable. TRIM removes spaces at either end and squeezes runs of them to one (Lesson 42), and Lesson 22 adds a warning worth knowing: it leaves line breaks and non-breaking spaces in place. Power Query's Clean step (Lesson 157) strips non-printing characters such as line breaks, and SUBSTITUTE (Lesson 43) swaps out any stray character for nothing. Capitals, by contrast, do not stop a worksheet lookup, since XLOOKUP ignores case; in Power Query they do. Clean both sides, the codes in the employee file and in the band or survey table, and the matches return.
Can text functions build the IDs, keys and labels other files expect, in one consistent pattern?
Yes, by joining parts with CONCAT, the & operator or TEXTJOIN, all taught in The Complete Excel Course with AI Integration. Lesson 41 joins an employee ID, a dash and a full name into one label, and TEXTJOIN with a vertical bar strings name, department, manager and location into a single field, its TRUE option skipping empty cells so no doubled separators appear. Lesson 78 sets the task in a challenge: reformat order IDs to the pattern shown by joining a text prefix, the same move that turns a bare payroll number into the prefixed employee ID the HR system uses. Joining a job code and a location into one key gives XLOOKUP (Lesson 69) a single value to match where market data varies by place. Lesson 47 even rebuilds email addresses from first and last names, wrapped in LOWER.
Can a formula write each employee's line for a total reward statement, with figures and dates that read properly?
Yes: join the words and the values with & or CONCAT, and let TEXT format the values, all within The Complete Excel Course with AI Integration. Lesson 72 and Lesson 41 show the joining: text in quotation marks, cell references, and the spaces Excel never adds by itself. The catch comes with numbers and dates, because a date joined into a sentence turns into its serial number and a salary loses its thousands separators. TEXT is the fix, and Lesson 117 uses it inside LET to turn a date into a month label, the same function that writes an effective date or a figure the way a reader expects. One formula filled down then produces every employee's line, ready for a statement or a letter, and it changes by itself when a salary is corrected. Merging those lines into letters sits outside the course.
Survey job titles never match ours word for word: can text functions help map them?
They do the sorting that makes mapping fast, and The Complete Excel Course with AI Integration teaches the functions behind it. SEARCH (Lesson 43) returns where a word sits inside a title, ignoring case, so a column testing for Senior, Lead or Manager labels every title by level at once; FIND does the same but respects case. Wrapped in IFERROR, as the lesson wraps them, a title without the word shows a readable message instead of an error. SUBSTITUTE then standardises the abbreviations surveys favour, Sr to Senior or Mgr to Manager, by formula rather than by a risky Find and Replace across the sheet. The final match of a survey job to your own still needs your judgement on duties and level; the functions shrink the pile you judge by hand to the titles that truly differ.
Should job codes be upper case and names proper case, and can formulas enforce it across the file?
Yes to both, and The Complete Excel Course with AI Integration teaches each case function with its catch. UPPER suits codes and grades, and Power Query applies it to code columns in Lesson 157; PROPER suits names and places, capitalising the first letter of every word and lowering the rest (Lesson 42); LOWER suits email addresses, which Lesson 47 builds and then lowers. That definition of PROPER is the catch in pay data: it turns HR Business Partner into Hr Business Partner and a surname such as McAllister into Mcallister, so run it on plain names and leave titles holding acronyms alone. Nest TRIM and the case function together, either way round as the lessons show, paste the result back as values, and the column is consistent from top to bottom with no helper left behind.
Flash Fill, Text to Columns or a formula: which is the right call for a pay file?
Each has its moment, and The Complete Excel Course with AI Integration teaches all three so you can choose. Flash Fill (Lesson 24) copies a pattern from an example you type: fast for a one-off list, but its results are fixed values that never update, and the lesson warns to check them in case it has gone off script. Text to Columns (Lesson 25, Lesson 44) cuts by a strict rule, a space, a comma or an @, which suits a system export with a reliable separator, as long as empty columns are inserted first so the split does not overwrite its neighbour. Formulas such as LEFT, MID and TEXTSPLIT (Lesson 73, Lesson 117) take longer to write but recalculate when the source changes, which makes them the choice for a file you rebuild every cycle.
Could Copilot label a thousand free-text job titles with a job family for me?
It can draft the labels in the cells themselves, and The Complete Excel Course with AI Integration teaches the function that does it. Lesson 101 covers the COPILOT function: a prompt written into a formula, with a cell as its context, so filled down a column it answers row by row; the lesson turns state names into their abbreviations and works out a rise in unit costs this way, each cell showing Busy until its answer arrives. Give it a job title and a short list of your families, and it returns a family for every row. Treat each answer as a suggestion: sort the results, read the unusual ones and correct them, the check-everything habit the AI lessons teach throughout. Copilot has to be part of your Microsoft 365 for the function to work, and the final mapping stays your decision.
Should the text clean-up live in formulas or in Power Query?
Formulas for the file you clean once, Power Query for the file that comes back, and The Complete Excel Course with AI Integration teaches both routes. On the worksheet, TRIM, PROPER and SUBSTITUTE work in a helper column whose result is pasted back over the original as values (Lesson 42), so the clean text no longer depends on a formula and the helper can go: quick, visible and right for a one-off survey file. Power Query (Lesson 157) does the same work as recorded steps, trimming, cleaning, replacing values and setting codes in upper case, then repeats every step when next cycle's extract is refreshed, without a formula in sight. One difference matters for codes: Power Query is case-sensitive, so its upper-case step is what stops North and NORTH becoming two values in a merge.
Does the course show text handled in VBA as well as in formulas?
Yes, in FormatWizard, where The Complete Excel Course with AI Integration turns to text inside code. Lesson 147 loops down a column and applies Trim to each cell before testing it, so a cell holding only spaces still counts as empty, the VBA twin of the worksheet's TRIM. Lesson 148 builds a message one piece at a time, joining strings with & and a pipe so a row missing two values carries both warnings in one cell, the & operator of Lesson 41 at work in code. These lessons follow the section's introduction to the VBA editor, variables and functions, and they finish in a full checking macro (Lesson 152). For text work on a pay file, formulas stay the everyday tool; VBA earns its place when the same check must run over every returned sheet.
If I learn only a handful of text functions first, which should they be?
Five, and The Complete Excel Course with AI Integration teaches them all early. TRIM, because a stray space silently breaks lookups (Lesson 42). The & operator or CONCAT, for joining codes, names and keys (Lesson 41). LEFT, RIGHT and MID together, for taking job codes apart (Lesson 73). SUBSTITUTE, for replacing one piece of text with another by formula (Lesson 43). PROPER and UPPER, for consistent case (Lesson 42). Beyond those, Lesson 38 teaches the habit that finds the rest: Insert Function searched by purpose, so you describe what you need, such as upper case, and pick from the matching functions, with Function Arguments previewing the result before you commit. The full path then adds FIND, SEARCH, TEXTJOIN, TEXTSPLIT and TEXT, for the harder cases a survey season brings.
Will every function on this page work in the Excel my employer gives me?
Nearly all of them will, and The Complete Excel Course with AI Integration points out the few that need a recent Excel. TRIM, UPPER, LOWER, PROPER, LEFT, RIGHT, MID, FIND, SEARCH, SUBSTITUTE, TEXT and the & operator work in any Excel you are likely to meet, on Windows or a Mac. CONCAT and TEXTJOIN need a recent Excel, and the & operator does CONCAT's job anywhere, as Lesson 72 shows side by side. TEXTSPLIT belongs to the dynamic array family, so FinanceGuard's model in Lesson 117 needs a modern Excel. The COPILOT function of Lesson 101 needs Copilot as part of your Microsoft 365. Power Query is built into Excel, under Get Data on the Data tab, so the clean-up of Lesson 157 needs nothing installed. The course itself is recorded in Microsoft 365.
How long before text functions are saving time on my own pay files?
About 1 hour 46 minutes for the whole path, and the first saving comes within the opening lessons. In The Complete Excel Course with AI Integration, TRIM and PROPER from Lesson 42 fix a column of job titles in minutes, and by the challenge of Lesson 47 you have cleaned a messy employee list end to end, the same shape of work as a survey submission or an HR extract. The code-splitting and joining lessons of PeopleInsight follow, then TEXTSPLIT and TEXT inside FinanceGuard's model, and the Power Query version for files that recur. Each lesson has its practice file and the finished workbook to compare, lifetime access keeps them open for the next survey season, and the course page has free lessons to watch before you buy.
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 compensation analysts
- Lookups for compensation analysts
- PivotTables for compensation analysts
- Charts for compensation analysts
- Dashboards for compensation analysts
- Conditional formatting for comp analysts
- Data cleaning for compensation analysts
- Data validation for comp analysts
- Excel tables for compensation analysts
- Date functions for compensation analysts
- Dynamic arrays for compensation analysts
- Copilot for compensation analysts
- ChatGPT for compensation analysts