The Complete Excel Course with AI Integration

Excel text functions for healthcare administrators

Text is where a hospital office's lists go wrong: names in capitals and surname first, clinic codes that pack three facts into a cell, hospital numbers written two ways, incident notes that hide the one word a report needs. The Complete Excel Course with AI Integration fixes each with a text function, and this page picks the lessons that teach them, from TRIM and PROPER to CONCAT, SEARCH, SUBSTITUTE, 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:

  • Turn a SURNAME, Firstname export into Firstname Surname with Text to Columns, TRIM, PROPER and CONCAT, pasted back as plain values.
  • Pull the setting, specialty or number out of a packed clinic code with LEFT, MID and RIGHT, ready to count activity by specialty.
  • Join greetings, names and address parts into letter-ready lines with CONCAT, the ampersand and TEXTJOIN, with empty address lines skipped.
  • Find a word such as fall inside free-text incident notes with SEARCH, keep FIND for case-sensitive checks, and show a plain message where there is no match.
  • Strip hyphens and stray spaces from hospital numbers with SUBSTITUTE and TRIM, so two systems' lists match in a lookup.
  • Build a matching key from a hospital number and a date, or split a pipe-separated key with TEXTSPLIT as FinanceGuard does, in a modern Excel.
  • Find any text function by describing what it should do, through Insert Function, Formula AutoComplete and Function Arguments.
  • Have the COPILOT function write short codes for ward and clinic names, and check 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.

    An HR analytics workbook where full names are built from two columns and a position code such as DAL-SAL-0001 is cut into its parts by LEFT, RIGHT and MID, the pattern for a clinic or location code.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built on a company budget, its model splits pipe-separated keys with TEXTSPLIT and turns them into month labels with LEFT, MID, DATE and TEXT inside LET, the technique for any key that combines a site, a specialty and a period.

  • Project 14

    Agentic AI in Excel

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

    The course's AI project, in which the COPILOT function writes an acronym beside each state name from a prompt typed into the cell, a text job no lookup table covers.

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 employee list on which the text functions are first written: names joined with CONCAT, the ampersand and TEXTJOIN, trimmed and re-cased, searched with FIND and SEARCH, changed with SUBSTITUTE and split at a comma, then a messier copy cleaned in a seven-task challenge.

  • Project 03

    Sales Goal Tracker

    A sales table that hosts the function library lesson: Insert Function searched by purpose finds UPPER, and Function Arguments builds it with a live preview, the way to find any text function you cannot name.

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 26 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: from there the text functions run in order, joining, cleaning, finding and splitting. Want the worksheet tools first? Lesson 22 trims and replaces on a raw sheet, and Lesson 24 brings Flash Fill. New to Excel? Begin at Lesson 1. Already joining and trimming? Go straight to Lesson 73 for codes taken apart, then Lesson 117 for keys and TEXTSPLIT.

16 of 186 lessons · 1 h 26 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 1 of 9 lessons · 13 min TRIM in a helper column, Paste Special values over the original and Find and Replace across a raw sheet: the worksheet clean-up every text formula builds on, with the warning that TRIM leaves line breaks behind.
  1. 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) 2 of 9 lessons · 9 min Flash Fill splitting first and last names by example, and Text to Columns cutting names at a space and emails at their symbol: the quick tools beside the formulas, for a list that will not change.
  1. 24 Flash Fill in Excel Split first and last names automatically 3 min
  2. 25 Text to Columns in Excel Split data by delimiter into separate columns 6 min
04 Essential formulas and functions (IF, SUMIF and more) 1 of 13 lessons · 5 min The function library: Formula AutoComplete, the Insert Function search by purpose and the Function Arguments window, used to find and build UPPER with a live preview.
  1. 38 The Excel function library Insert Function dialog and Formula AutoComplete 5 min
05 Text functions and data validation (enhancing data quality) 7 lessons · 35 min The text functions in depth on an employee table: CONCAT, the ampersand and TEXTJOIN, TRIM, UPPER, LOWER and PROPER, FIND, SEARCH and SUBSTITUTE, a comma split with Text to Columns, a department drop-down and a Ninja Challenge with its worked solution.
  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
  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
08 Advanced Excel functions: lookups, text and arrays 2 of 12 lessons · 10 min CONCAT, the ampersand and TEXTJOIN building a full name column, then LEFT, RIGHT and MID cutting a position code such as DAL-SAL-0001 into location, group and number, filled down every row.
  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 A Ninja Challenge that joins a text prefix to every order ID beside XLOOKUP results, text and lookups working together on one sheet.
  1. 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) 1 of 17 lessons · 4 min The COPILOT function inside the cells: a prompt and a cell of context return an acronym for every state, then a second use on figures, with Copilot's answers landing straight in the grid.
  1. 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) 1 of 10 lessons · 8 min FinanceGuard's model: keys stacked and sorted with SORT, UNIQUE and VSTACK, month labels made from each key with LEFT, MID, DATE and TEXT inside LET, and department and category split out with TEXTSPLIT; these 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.

Excel text functions for healthcare administrators: what do they fix in roster, clinic and referral lists, and which lessons show it on real files?

Most of the text faults that stop a clinic count or a lookup, and The Complete Excel Course with AI Integration from Coding Liquids teaches the fix for each on industry-standard projects designed after talking with people from many different industries. A roster export lists names surname first in capitals; a clinic code hides its specialty in the middle; the booking and theatre systems write hospital numbers differently; an incident note buries the one word a report needs. Each becomes a formula you can trust: a cleaned and re-ordered name, a specialty column ready for COUNTIFS, numbers in one form, a flag where the word appears. This page gathers the 16 lessons that teach those formulas, 1 hour 26 minutes in all, from the joining and cleaning lessons through codes split with LEFT, MID and RIGHT to FinanceGuard's TEXTSPLIT keys, practised on employee and HR files with a starter and a finished workbook for each.

I am asked to tidy names, codes and notes from several hospital systems: which text functions do I need, and which lesson teaches each?

About a dozen, and The Complete Excel Course with AI Integration teaches every one by name. For cleaning, TRIM takes out stray spaces and UPPER, LOWER and PROPER set the capitals (Lesson 42). For joining, CONCAT and the ampersand put names together, and TEXTJOIN adds a separator between many items while skipping empty cells (Lesson 41, Lesson 72). For finding, FIND and SEARCH return the position of a word, the first case-sensitive and the second not, and SUBSTITUTE swaps one piece of text for another (Lesson 43). For splitting, LEFT, RIGHT and MID read the start, end and middle of a code (Lesson 73), and TEXTSPLIT breaks a key at a separator (Lesson 117). Flash Fill and Text to Columns sit beside them as tools (Lesson 24, Lesson 25). Learn the cleaning group first: it repairs more hospital lists than any other.

Our roster system exports names as SURNAME, Firstname: can formulas turn them into Firstname Surname for the staff list?

Yes, in three moves The Complete Excel Course with AI Integration teaches one at a time. First split at the comma: Text to Columns, Delimited, with Comma as the separator, puts surname and first name in two columns (Lesson 44), with room left beside the column so nothing is overwritten. Then clean: TRIM removes the space left after the comma and PROPER turns SURNAME into Surname, nested in one formula as the Ninja Challenge solution nests them (Lesson 47). Then join in the new order with CONCAT or the ampersand, a space in quotation marks between the parts (Lesson 41), since Excel adds no space by itself. Paste the result back as values and delete the helpers, the habit of Lesson 42. For a list that will never change, Flash Fill (Lesson 24) can follow the new order from one example typed by hand, though its results deserve a check. Every staff list and badge then reads the same way.

Clinic codes pack the setting, the specialty and a number into one cell: can formulas pull out the specialty so activity counts by it?

Yes, with LEFT, MID and RIGHT, which The Complete Excel Course with AI Integration teaches on exactly that shape of code in Lesson 73. The lesson's position code, DAL-SAL-0001, holds a location, a department and an ID: LEFT reads the first three characters, RIGHT the last four, and MID starts at a stated position and reads a stated length, from the fifth character for three in the lesson. A clinic code built the same way, setting, specialty and a number with hyphens between, gives up its specialty to MID in one formula, filled down every row with a double-click. With the specialty in a column of its own, COUNTIF and COUNTIFS (Lesson 36, Lesson 37) count appointments or referrals by it, or a PivotTable groups them. Codes whose parts vary in length suit TEXTSPLIT instead, which cuts at the hyphen wherever it falls (Lesson 117), in a modern Excel.

Can formulas write the greeting and address lines for appointment letters from separate columns?

Yes, and The Complete Excel Course with AI Integration teaches the three ways of joining text a letter needs. The ampersand and CONCAT join pieces in order, a title, a first name and a surname with spaces in quotation marks between them (Lesson 41, Lesson 72). TEXTJOIN suits the address block: its first argument sets the separator, a comma and a space for instance, and TRUE for ignore_empty skips the blank cells, so a patient with no second address line gets no stray comma. The lesson joins names, department, manager and location with a vertical bar in exactly this way. Wrap the result in PROPER, or keep it exact, depending on how the system stored the name (Lesson 42). Lines built like this feed a mail merge or a printed list of the day's appointments, and they update when a detail in the source columns changes, which a typed letter never does.

Which incident descriptions mention a fall or a medication error: can a formula find the word wherever it sits in the note?

Yes, with SEARCH, which The Complete Excel Course with AI Integration teaches beside FIND in Lesson 43. Both return the position where a piece of text starts inside a cell, counting every character, spaces included, so a number means the word is there and an error means it is not. The difference decides which to use on free text: FIND is case-sensitive and SEARCH is not, so SEARCH catches Fall, fall and FALL alike. The lesson wraps each in IFERROR to show a plain message instead of the error, which turns the column into a readable flag: a position, or not applicable. Filter that column (Lesson 21, outside this path) and the incidents that mention a fall are listed; add a second column for medication and the two themes sit side by side. The lesson searches job titles; incident and complaint notes are searched exactly the same way.

The booking system writes hospital numbers with hyphens and the theatre system without: can a formula give both the same form so lookups find each other?

Yes, with SUBSTITUTE, and The Complete Excel Course with AI Integration explains why one character matters so much. A lookup compares text exactly, and Lesson 70 shows a single changed code turning its lookups into errors. SUBSTITUTE (Lesson 43) swaps old text for new by formula: replace the hyphen with nothing and the booking system's numbers take the theatre system's form, in a helper column you can check before anything is overwritten. TRIM (Lesson 42) removes the spaces that ride along at either end, often the culprit when two numbers look identical and still fail to match. With both lists in one form, XLOOKUP (Lesson 69) finds each patient's row, and its if-not-found argument names the stragglers. When the same fix is needed on every export, Power Query's Replace Values records it once (Lesson 157, outside this path).

Can text functions build one key from a hospital number and an appointment date, so two lists match row for row?

Yes: a joined key is the answer when no single column identifies a row, and The Complete Excel Course with AI Integration builds one in FinanceGuard. The model's keys hold a year and month, a department and a category, separated by pipes, and Lesson 117 stacks them, splits them with TEXTSPLIT and totals against them with SUMIFS. Build yours the same way with the ampersand or TEXTJOIN (Lesson 41): hospital number, a pipe, the appointment date. A date joins as its underlying serial number, which matches perfectly well as long as both lists build the key alike; where a person must read it, the same lesson turns digits into a month label with LEFT, MID, DATE and TEXT inside LET. Clean both sides first with TRIM, or a trailing space makes two identical keys differ. The model also warns that SUMIFS fails if a table name is one letter off, the same exactness every key demands.

Bed locations arrive as ward, bay and bed in one cell: which way of separating them still works when tomorrow's list is pasted in?

A formula, and The Complete Excel Course with AI Integration teaches every option so you can see why. Text to Columns (Lesson 25, Lesson 44) cuts a column at a separator in one go and Flash Fill (Lesson 24) copies a pattern from your example, but both write fixed values: paste tomorrow's bed state over the top and the split has to be done again. Formulas recalculate. LEFT, RIGHT and MID (Lesson 73) suit a location whose parts always have the same length, and TEXTSPLIT, which FinanceGuard uses with INDEX to pick the second or third part of a key (Lesson 117), suits parts of any length as long as the separator stays the same. Set the formulas once beside the pasted data and every new list splits itself. TEXTSPLIT needs a modern Excel; LEFT, RIGHT and MID run in any Excel a hospital office is likely to have.

Can the COPILOT function write a short code beside every ward and clinic name on our list?

It can, and The Complete Excel Course with AI Integration shows it doing that very kind of job. In Lesson 101 the COPILOT function goes into a cell as a formula, with a prompt in quotation marks and a cell reference as its context, and returns each state's acronym down the column, the cells showing Busy until each answer arrives. A ward or clinic list takes the same shape of prompt: a short code for each name, read from the cell beside it. The same lesson uses COPILOT for a calculation too, then shows Copilot suggesting the plain formula as it is typed, a reminder that an ordinary formula is the better tool wherever a fixed rule exists. Check every code it writes, since an AI answer can be wrong, and keep it to the names of places and services rather than anything about patients. The function needs Copilot to be part of your Microsoft 365.

Each rotation brings a new intake of junior doctors: can formulas build their email addresses and badge names in one go?

Yes, and The Complete Excel Course with AI Integration builds exactly that kind of column in its Ninja Challenge. Lesson 46 sets the task of rebuilding every email address as first name, a full stop, last name and the organisation's domain, and Lesson 47 solves it with CONCAT, then wraps the result in LOWER so every address is in small letters. Badge names come from the same parts: CONCAT or the ampersand joins first name and surname with a space (Lesson 72), and PROPER makes the capitals consistent if the intake list arrived in upper case (Lesson 42). Fill the formulas down once and the whole intake is done, however many doctors join; when the next rotation's list is pasted in, the columns rebuild themselves. Check a handful against the directory before the addresses are used, since a double-barrelled surname or a name with a space may need a hand edit.

Will PROPER turn ward codes such as ICU and AMU into Icu and Amu, and how do I stop it?

It will, because PROPER capitalises the first letter of every word and lowers the rest, exactly as The Complete Excel Course with AI Integration explains in Lesson 42. That is right for names and wrong for codes, so treat the two differently: PROPER on name and description columns, UPPER on code columns, both taught in the same lesson alongside LOWER. Where codes and words share a column, such as ward names with an abbreviation inside, clean with TRIM alone and fix the few exceptions with SUBSTITUTE (Lesson 43), which swaps a wrong form such as Icu back to ICU across the column by formula. Power Query keeps the same distinction as a recorded step, putting codes in capitals with Format, UPPERCASE (Lesson 157, outside this path). Check a sample after any change of case: a surname such as McDonald comes out of PROPER as Mcdonald and needs the same treatment.

Is there a quick way to find a text function by what it does, without a printed list?

Yes, built into Excel, and The Complete Excel Course with AI Integration teaches it in Lesson 38. Formula AutoComplete lists matching functions as soon as you type an equals sign and a few letters, and Insert Function on the Formulas tab searches by purpose: the lesson searches for average and count to see every variation, then for upper, picks UPPER and fills in its argument in the Function Arguments window, which previews the capitals before the formula is entered. The window handles the brackets, commas and order of the arguments for you, a safety net for a report going to a manager. That beats any printed list of text functions: describe what you need, such as replace or join, and read the short description Excel gives each match. The worked lessons on this page then show, in context, the functions a hospital office reaches for most often.

Which of these text functions will run on the older Excel some hospital PCs still have, and how long is the path?

Most of them, and The Complete Excel Course with AI Integration flags the newer ones as they appear. The cleaning, finding and splitting functions, TRIM, UPPER, LOWER, PROPER, FIND, SEARCH, SUBSTITUTE, LEFT, RIGHT and MID, have been in Excel for a very long time, and joining with the ampersand works everywhere. CONCAT and TEXTJOIN came later; on a shared PC with an old copy, the ampersand gives the same full name or key. The dynamic array functions of FinanceGuard's model, TEXTSPLIT, LET, VSTACK, SORT and UNIQUE, need a modern Excel such as Microsoft 365, and so does the COPILOT function, which also relies on Copilot being part of your Microsoft 365. A Mac follows every lesson here, since the requirements name Windows only for Power Pivot and Power Automate. The path runs to about 1 hour 26 minutes, and lifetime access keeps it ready for the next awkward export a system produces.

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.