The Complete Excel Course with AI Integration

Excel text functions for payroll administrators

Payroll text never leaves in the shape it arrives in: names must match a bank file's layout, employee numbers hide a site and a department, codes get renamed and account numbers may show only their last digits. The Complete Excel Course with AI Integration teaches payroll administrators the text functions for each, on industry-standard projects, and this page picks out those lessons, from CONCAT and TRIM to LEFT, MID and TEXTSPLIT.

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:

  • Join first names, surnames and IDs into the exact layout a bank file, a payslip or an HR upload expects, with CONCAT, the ampersand and TEXTJOIN.
  • Take employee numbers and cost-centre codes apart with LEFT, RIGHT and MID, and find where each part starts with FIND.
  • Keep the leading zeros of employee numbers by working with text results, and show only the last digits of an account on a report.
  • Put names into capitals, title case or lower case with UPPER, PROPER and LOWER, trimmed of stray spaces by TRIM in the same formula.
  • Find a word such as overtime inside a pay description with SEARCH or FIND, and rename a code down a whole column with SUBSTITUTE.
  • Split a joined key of period, department and pay element with TEXTSPLIT, and turn a date into a short month label with TEXT.
  • Build work email addresses from first and last names, in lower case, for a payslip distribution list.
  • Read and test a text formula that Copilot or ChatGPT writes, because every function in it is one you already know.

Projects

What you will build.

The course has 14 industry-standard projects. These three matter most here.

  • Project 06

    PeopleInsight HR workbook

    Employee data joined across sheets with one formula.

    Built as an HR analytics workbook, it is where full names come together with CONCAT, the ampersand and TEXTJOIN and a position code such as DAL-SAL-0001 is split into site, department and number with LEFT, RIGHT and MID, the moves an employee number in a payroll file needs.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built as a budget vs actual analyser, its model splits keys of month, department and category with TEXTSPLIT and turns each year and month into a short label with LET, LEFT, MID, DATE and TEXT, the handling a payroll cost key needs too.

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, its text lessons join names, trim and re-case them, find and substitute words in job titles and split a combined location at the comma: the clean-up behind every name and code a payroll file sends out.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 10 of them, 51 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 and fill it down: the text functions begin there on an employee list and build in course order to the HR dataset and FinanceGuard's keys. New to Excel? Begin at Lesson 1. Already joining and trimming text without thinking? Go to Lesson 73, where LEFT, RIGHT and MID take codes apart, and on to the TEXTSPLIT of Lesson 117.

10 of 186 lessons · 51 min

05 Text functions and data validation (enhancing data quality) 4 of 7 lessons · 20 min Text functions on the employee list: CONCAT, the ampersand and TEXTJOIN with a delimiter and empty cells skipped, TRIM with UPPER, LOWER and PROPER pasted back as values, FIND, SEARCH and SUBSTITUTE with IFERROR for a missing match, and Text to Columns splitting a field at a comma. Each is a tool for the names and codes a payroll file carries.
  1. 41 Start here 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
05 Text functions and data validation (enhancing data quality) 2 of 7 lessons · 11 min The Ninja Challenge: a messier employee set fixed with what came before, names re-cased and split, departments made consistent and emails rebuilt with CONCAT inside LOWER, tried alone first and then walked through in the solution.
  1. 46 Ninja Challenge: problem Clean messy data with text functions and validation 4 min
  2. 47 Ninja Challenge: solution PROPER, Text to Columns and drop-down lists 7 min
08 Advanced Excel functions: lookups, text and arrays 2 of 12 lessons · 10 min On the PeopleInsight HR dataset: a Full Name column from CONCAT, the ampersand and TEXTJOIN, then LEFT, RIGHT and MID taking a code like DAL-SAL-0001 apart into location, department and ID, the same split an employee number packing site, department and sequence needs.
  1. 72 CONCAT and TEXTJOIN in Excel Combine employee names and text with a delimiter 3 min
  2. 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 1 of 12 lessons · 3 min The section's Ninja Challenge: lookups and text on one sheet, product names and figures brought across with XLOOKUP, a total worked out, and an ID rebuilt in a set style by joining a text prefix to it, the way payroll builds references another system accepts.
  1. 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 1 of 10 lessons · 8 min The FinanceGuard model: SORT, UNIQUE and VSTACK combine both tables' keys, LET with LEFT, MID, DATE and TEXT turns each key's year and month into a short label, and INDEX with TEXTSPLIT pulls the department and the category out of a key split by pipes. TEXTSPLIT and its fellow dynamic arrays need a modern Excel.
  1. 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 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.

I build payslip names, bank references and employee codes in Excel every pay run: which course teaches the text functions to do it by formula?

The Complete Excel Course with AI Integration from Coding Liquids does, function by function on employee data. Its industry-standard projects, designed after talking with people from many different industries, join names with CONCAT, the ampersand and TEXTJOIN (Lesson 41), trim and re-case them with TRIM, UPPER, LOWER and PROPER (Lesson 42), find and swap words with FIND, SEARCH and SUBSTITUTE (Lesson 43), and take a code like DAL-SAL-0001 apart with LEFT, RIGHT and MID (Lesson 73). FinanceGuard then splits joined keys with TEXTSPLIT and builds month labels with TEXT (Lesson 117). The 10 lessons picked out for payroll run to 51 minutes, short enough that this pay run's bank-file names could be the first thing you build by formula instead of by hand.

Which text functions come up most in payroll work?

They fall into five groups, and The Complete Excel Course with AI Integration teaches every one. Joining: CONCAT, the ampersand and TEXTJOIN build full names, references and email addresses (Lesson 41, Lesson 72). Tidying: TRIM, UPPER, LOWER and PROPER clear stray spaces and set the case a file needs (Lesson 42). Searching: FIND and SEARCH return where a word or character sits, and SUBSTITUTE swaps one text for another (Lesson 43). Extracting: LEFT, RIGHT and MID take a code apart by position (Lesson 73). Splitting and labelling: TEXTSPLIT breaks a key at its separator and TEXT turns a date into a label, both inside FinanceGuard's model (Lesson 117). Text to Columns (Lesson 44) is the menu route for a one-off split. Between them they cover nearly every name, code and reference a payroll file has to send out.

Can a formula build each employee's name exactly as the bank file or the payslip wants it?

Yes: joining text is the first thing The Complete Excel Course with AI Integration teaches about text functions. Lesson 41 joins a first name, a space in quotation marks and a last name with CONCAT, does the same with the shorter ampersand, then uses TEXTJOIN, which takes the separator once and, set to TRUE, skips empty cells, so a missing middle name leaves no double space. Lesson 72 repeats the join on the PeopleInsight HR dataset and fills it down the whole column. For payroll, the order and the separator are yours to choose: surname, a comma and a space, then the first name for a bank file; first name then surname for a payslip; the employee ID, a dash and the full name for a reference, a join the first lesson builds itself. Because it is a formula, a name corrected in the master file corrects itself in every output.

Our employee numbers pack a site, a department and a sequence into one code: can formulas take them apart?

Yes, and The Complete Excel Course with AI Integration teaches it on exactly that kind of code. Lesson 73 splits a position code such as DAL-SAL-0001: LEFT takes the first three characters for the location, RIGHT the last four for the ID, and MID, given a start position and a length, the department in the middle, each then filled down every row. On a payroll file, those three columns let you total pay by site or by department straight from the employee number, with SUMIFS or a PivotTable, without a separate mapping table. When the parts vary in length, FIND from Lesson 43 returns the position of the separator, which is exactly what MID needs as its start. And when a code is split by a fixed character, TEXTSPLIT in Lesson 117 breaks it at that character in one go, in a modern Excel.

Will the leading zeros in our employee numbers survive the formulas?

Yes: text functions return text, and The Complete Excel Course with AI Integration shows the zeros surviving. In Lesson 73, RIGHT takes the last four characters of DAL-SAL-0001 and returns 0001, zeros intact. The same holds for MID, for LEFT and for a reference joined with the ampersand: the characters come back exactly as they were. Zeros are lost only when an ID is treated as a number, by arithmetic on it or by a column that converts it, so keep ID columns as text and use them for matching, never for sums. Power Query, later in the course, sets a column's data type to text inside the query (Lesson 158), which keeps an export's IDs whole from the start. For payroll, where an employee number missing a zero matches nobody, that care is the difference between a clean lookup and an unpaid line.

Payslip summaries and approval packs get forwarded: can a formula mask the account details printed on them?

Yes, with two functions The Complete Excel Course with AI Integration teaches, joined in one formula. RIGHT, from Lesson 73, returns the last characters of a value, the last four of a code in the lesson, and the ampersand from Lesson 41 joins text in front of it, so a run of X characters followed by the last four digits of an account number shows enough to recognise the account and no more. Put the masked column on the report or the approval pack that circulates, and keep the full numbers in the master file that stays with payroll. A report that names accounts without exposing them is one less risk every time the file is forwarded, and it costs a single short formula filled down the column. The same join builds a masked national ID number or employee reference for any document that leaves the payroll team.

Bank files want names in capitals, payslips in title case and emails in lower case: can one set of functions give each?

Yes: UPPER, PROPER and LOWER, which The Complete Excel Course with AI Integration teaches side by side in Lesson 42. UPPER turns a name into capitals for a bank file that demands them, PROPER gives every word a capital first letter for a payslip, and LOWER suits an email address. The lesson nests TRIM with PROPER in one formula, so stray spaces go in the same step, then copies the result and pastes it back as plain values, leaving no helper column behind; TRIM and PROPER can be nested either way round. The Ninja Challenge solution in Lesson 47 wraps a CONCAT of first name, a full stop, last name and the company domain in LOWER, which is how a whole list of work emails for payslip distribution is built at once. One master name column can then feed three outputs, each in the case its destination expects.

Can a formula find the word overtime or bonus inside a free-text pay description?

Yes: SEARCH and FIND do it, and The Complete Excel Course with AI Integration teaches both in Lesson 43. Each returns the position where a piece of text starts inside a cell, counting every character, spaces included. FIND is case-sensitive and SEARCH is not, so SEARCH is the one for descriptions typed by many hands: it finds overtime, Overtime and OVERTIME alike. When the word is missing, both return an error, and the lesson wraps them in IFERROR to show a message instead. Add the IF from Lesson 29 and the free-text lines of a timesheet export can be labelled overtime, bonus or other in a new column, ready for SUMIFS or a PivotTable to total by type. Descriptions that nobody coded consistently become a column you can count, and the label updates itself whenever a description is corrected.

Can SUBSTITUTE rename a pay code or a job title across the whole file without risk?

Yes, and The Complete Excel Course with AI Integration sets it against the manual route so you can see why. In Lesson 43, SUBSTITUTE swaps every occurrence of one piece of text for another inside a cell, turning Accountant into Accountant Pro down a whole column of job titles, by formula. Earlier, Lesson 22 shows the danger of the manual route: a Replace All across the whole sheet removed every dash in it, not just the ones intended, until the column was selected first. A formula leaves the original column untouched and shows its result beside it, so a renamed pay code or a retitled role can be checked line by line before it replaces anything. When the payroll system renames an element, last period's file can be brought into line in one column and compared with this period's without guesswork.

Our cost keys join the pay period, department and pay element with a separator: can TEXTSPLIT take them apart?

Yes, and The Complete Excel Course with AI Integration builds exactly that in FinanceGuard. In Lesson 117, each key holds a year and month, a department and a category separated by pipes, and INDEX wrapped round TEXTSPLIT, splitting at the pipe, returns the second part for the department and the third for the category, filled down the model. LET with LEFT, MID, DATE and TEXT turns the year and month at the front of each key into a short month label, the kind a pay-period column needs. FinanceGuard was built for budget against actual, and a payroll cost budget held by period, department and pay element fits its keys closely. TEXTSPLIT, like the other dynamic arrays, needs a modern Excel; in an older one, Text to Columns from Lesson 44 makes the same split as a one-off.

Timeclock exports carry characters that do not print: can the course clear them?

The Complete Excel Course with AI Integration clears them in Power Query, after TRIM has done what it can on the sheet. TRIM, taught in Lesson 22 and Lesson 42, removes leading and trailing spaces and cuts runs of spaces down to one, and the first of those lessons is frank about its limit: a line break inside a cell is not a space, so TRIM leaves it behind. Power Query's Clean step, in Lesson 157, removes characters that do not print, line breaks among them, alongside Trim, Replace Values and one fixed case for codes, and every step runs again on the next export at a refresh. For a timeclock or HR export that brings hidden characters with it every period, the clean-up becomes permanent rather than a chase through cells that look right and still refuse to match.

Is there practice that mixes text functions with lookups, the way payroll files need them?

Yes: the Ninja Challenge that closes the lookups and text section of The Complete Excel Course with AI Integration, Lesson 78. You pause, try its tasks on an Orders sheet, then follow the solution: XLOOKUP brings each order's product name and its figure across from a Products sheet, a total is worked out, and each order ID is rebuilt in a set style by joining a text prefix to it. Along the way it shows a classic error, an @ inside a table reference that takes only the current row's value and breaks a lookup that needs the whole column. Payroll work mixes the same skills daily: look up a rate, join a reference, build an ID that another system accepts. The challenge has a problem file and a solution file, so you can measure your attempt against the finished answer before trying the same moves on payroll data.

Can Copilot or ChatGPT write the formula that pulls the department out of our employee numbers?

Yes, and The Complete Excel Course with AI Integration teaches you to check what they write, which matters more. In Lesson 95, Copilot and ChatGPT write formula columns from a description and you verify each one before it stays, and Lesson 99 adds a short checklist for any AI result. With LEFT, MID, FIND and TEXTSPLIT learnt first, you can read a suggested formula, see which characters it takes, and test it on the awkward rows: a code with a longer site part, a missing separator, a leading zero. Give the assistant a few real examples of your employee numbers and the part you want, and the formula comes back in seconds; your own grasp of the functions is what tells you it is right. The ChatGPT lessons work with a free account, and Copilot needs to be part of your Microsoft 365.

Could the next pay run's bank-file names and code splits be done by formula?

Yes: the whole path is 51 minutes, and the functions that matter most come first. In The Complete Excel Course with AI Integration, Lesson 41 joins names, Lesson 42 sets their case and trims them, and Lesson 73 takes codes apart, short lessons whose formulas can be written into your own payroll workbook the same day. The challenges, the search and substitute tools and FinanceGuard's TEXTSPLIT then round out the skill. Every lesson comes with practice files and a finished version to compare against, and lifetime access keeps them open for the next export that arrives in an unfamiliar shape. With the instructor support plan, questions about your own codes go to the instructor and are answered in writing, for two months from the day you switch the support on.

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.