The Complete Excel Course with AI Integration

Excel text functions for government officers

A government office writes and rewrites text all day: applicants' names, file references, office codes, scheme titles and the lines that go into letters and returns. The Complete Excel Course with AI Integration teaches the formulas that build, tidy, search and split that text on industry-standard projects, and this page picks out its lessons, from TRIM and CONCAT to LEFT, MID, SUBSTITUTE, TEXTSPLIT and TEXT, each tied to a piece of register and correspondence work.

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 an office code, a year and a running number into one file reference with CONCAT, the ampersand or TEXTJOIN.
  • Tidy the names, places and codes in a register with TRIM, PROPER, UPPER and LOWER, then paste the results back as values.
  • Find every entry that mentions a scheme or a place with SEARCH, and rename an old term across a column with SUBSTITUTE.
  • Take a reference or position code apart with LEFT, RIGHT and MID, and split fields of varying length at their separator with Text to Columns.
  • Split a compound budget key into period, department and category with TEXTSPLIT, and turn a date into a month label with TEXT, in a modern Excel.
  • Assemble a name, an address or a reference line for correspondence with TEXTJOIN, skipping the parts that are empty.
  • Find any text function by what it does through Insert Function, and build it with the Function Arguments window.

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 for HR data, it is where a full name is assembled from two columns and a three-part position code is cut into its location, group and serial, the same moves that put a file reference together or take one apart.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built as a budget against actual model, its key column packs period, department and category into one string separated by bars, which TEXTSPLIT takes apart and TEXT turns into month labels, a pattern for any compound budget code.

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, it carries most of the text work on this page: names joined and split, capitals and spaces put right, job titles searched and substituted, a location split at its comma, and a challenge that brings IDs and emails into one pattern.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 14 of them, 1 h 9 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 text section begins there, on an employee list, and runs straight through to its challenge. New to formulas? Begin at Lesson 1, or with the splitting tools at Lesson 24, which need no formula at all. Already at home with TRIM and CONCAT? Go to Lesson 72 for codes taken apart with LEFT, RIGHT and MID, then to Lesson 117 for TEXTSPLIT and TEXT inside a budget model.

14 of 186 lessons · 1 h 9 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 2 of 9 lessons · 9 min Flash Fill and Text to Columns on the employee list: a name split by typing one example, then by a strict rule at the space, and an email split at the @, the quick tools for a column that arrives with two facts in one cell.
  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 on the Sales Goal Tracker: Insert Function searched by purpose, UPPER chosen from the results and built through Function Arguments with a live preview, the way to find any text function whose name escapes you.
  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 section on the employee list: CONCAT, the ampersand and TEXTJOIN to join, TRIM, UPPER, LOWER and PROPER to tidy, FIND, SEARCH and SUBSTITUTE to locate and replace, Text to Columns at a comma, a drop-down that keeps text consistent, and a challenge that applies them all to a messier list.
  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 Joining and cutting text on the PeopleInsight HR workbook: a full name assembled with CONCAT, the ampersand and TEXTJOIN, then a three-part position code taken apart with LEFT, RIGHT and MID.
  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 lookup challenge, where an order ID is rebuilt in a set style by joining a text prefix to it, beside XLOOKUP results and totals.
  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 FinanceGuard's model, where TEXTSPLIT pulls the department and category out of a compound key and LEFT, MID, DATE and TEXT turn its period into a month label, with SORT, UNIQUE, VSTACK and SUMIFS around them. It needs 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.

What would change in a government officer's week once Excel text functions are second nature?

Less retyping and fewer slips, and The Complete Excel Course with AI Integration from Coding Liquids shows exactly where each saving comes from. Text functions turn the retyped parts of the week into formulas: a file reference assembled from an office code, a year and a number (Lesson 41); applicants' names given consistent capitals and cleared of stray spaces (Lesson 42); every entry mentioning a scheme found, and an old scheme name replaced across a column (Lesson 43); a position or reference code cut into its parts (Lesson 73); a budget key split into period, department and category (Lesson 117). The lessons work on an employee list, an HR workbook and a budget model, inside industry-standard projects designed after talking with people from many different industries, and a citizens' register or a correspondence log responds to the same formulas. The 14 lessons picked out here run to 1 hour 9 minutes and end with a challenge on a messier list, so the method is tested before it meets your own files.

Which text functions does a government office lean on, and where is each one taught?

Five families carry most of the load, and The Complete Excel Course with AI Integration teaches each on a working file. CONCAT, the ampersand and TEXTJOIN join pieces of text, from a full name to a reference (Lesson 41, Lesson 72). TRIM, UPPER, LOWER and PROPER tidy spaces and capitals (Lesson 42). FIND and SEARCH report where a word or a character sits, and SUBSTITUTE swaps one piece of text for another (Lesson 43). Characters at a fixed place in a code come out with LEFT, RIGHT and MID, reading from the front, the back or a given position (Lesson 73). TEXTSPLIT cuts text at a separator, and TEXT turns a date or a number into text in a pattern you choose (Lesson 117). Around them sit two tools that need no formula at all, Flash Fill and Text to Columns (Lesson 24, Lesson 44), and the Insert Function dialog for the day a function's name escapes you (Lesson 38). Learn the families, and the right function for a new task is usually obvious.

Can formulas build a full file reference from an office code, a year and a running number?

Yes: joining text is the first thing the text section of The Complete Excel Course with AI Integration teaches (Lesson 41). CONCAT, or the shorter ampersand, strings pieces together in order, so an office code, a dash, the year and a running number become one reference, much as the lesson joins an ID, a dash and a full name. TEXTJOIN does the same with one separator typed once, a dash or a slash, and its TRUE setting skips empty cells, so a missing part leaves no doubled separator behind. The lookup challenge (Lesson 78) rebuilds an order ID in a set style by joining a text prefix to it, the same move as stamping a section code onto a serial number. Where the year comes from a date, TEXT turns the date into text first, as FinanceGuard's model does for its month labels (Lesson 117). Written in a table column, the reference then appears by itself for every new case.

Our references vary in length, so LEFT and MID with fixed counts break: what then?

Cut at the separator instead of counting characters, which The Complete Excel Course with AI Integration teaches three ways. Text to Columns splits a column at a dash, a slash or a comma wherever it falls (Lesson 25, Lesson 44), so an office code of two letters and one of four both come out whole; Treat consecutive delimiters as one stops a doubled separator pushing parts into the wrong column. TEXTSPLIT does the same by formula, so the parts update when the reference changes: FinanceGuard uses it on keys separated by a vertical bar (Lesson 117), and it needs a modern Excel. FIND reports the position of the first dash (Lesson 43), which tells LEFT where to stop when the first part varies in length. LEFT, RIGHT and MID with fixed counts (Lesson 73) stay the quickest choice for codes built to a strict pattern, such as a three-letter prefix and a four-digit serial.

Can formulas create the email addresses or user names for a new intake of staff from their names?

Yes: the challenge solution in The Complete Excel Course with AI Integration does exactly this (Lesson 47). CONCAT joins the first name, a full stop, the last name and the domain, and LOWER wrapped round the whole formula puts the address in small letters, however the names were typed. The same pattern builds a user name or a staff code from initials and a number. Two cautions come from the text lessons themselves: TRIM the names first (Lesson 42), or a stray space ends up inside the address, and look over names with a space or an apostrophe in them, since a formula follows the rule you give it and nothing more. Where two officers share a name, the ampersand adds a number before the domain. Filled down a table column, the formula produces every address in the intake at once, ready to paste as values into the request your IT team needs.

How do I find every entry that mentions a scheme or a place, whatever its capitals?

SEARCH finds them, and The Complete Excel Course with AI Integration sets it beside FIND so the difference is plain (Lesson 43). Both return the position of a piece of text inside a cell, a number wherever the word appears, but FIND matches capitals exactly while SEARCH ignores them, so SEARCH catches Housing, HOUSING and housing alike in a free-text notes column. A cell without the word gives an error from either function, so the lesson wraps each in IFERROR and shows a readable note in its place. A helper column of SEARCH results, filtered to the rows that hold a number, gives you every case that mentions a scheme, a street or a district. For a quick look without a formula, the Contains filter does the same by hand (Lesson 21). Both suit a register's notes or description column, where the word you need could sit anywhere in a sentence typed by someone else.

A scheme has been renamed: can SUBSTITUTE update the register without a risky Find and Replace?

Yes, and the formula route is the safer one, as The Complete Excel Course with AI Integration shows (Lesson 43). SUBSTITUTE takes the text, the old wording and the new, and returns the changed version in a column of its own: the lesson turns every Accountant into Accountant Pro without touching anything else. Because the result sits beside the original, you can compare the two before anything is replaced, then paste the new column back as values. Find and Replace is quicker but blunter, and Lesson 22 shows the danger: a Replace All aimed at a dash stripped every dash in the sheet until the column was selected first. One detail matters for official names: SUBSTITUTE matches capitals exactly, so Scheme and scheme are different to it, and a TRIM and PROPER pass beforehand (Lesson 42) makes sure every instance is caught. When a department or a scheme is renamed, the register follows quickly, with a check at every step.

Can formulas assemble a name, an address or a reference line ready to paste into a letter?

Yes: TEXTJOIN is built for it, and The Complete Excel Course with AI Integration teaches it on staff details (Lesson 41). You give it the separator once, a comma and a space for an address, then the cells to join, and TRUE tells it to skip any that are empty, so an address with no second line closes up neatly. The lesson joins names, department, manager and location with a vertical bar between them; swap in house, street, town and postcode, and the address of a reply is one formula. For a salutation or a reference line, the ampersand joins fixed words to a cell, such as a greeting before PROPER of the applicant's name (Lesson 42), and TEXT writes a date into the sentence in the style you choose (Lesson 117). Built once as columns of a register, these formulas hand you the opening of every letter, ready to paste into your template.

Dates joined into a letter or a reference come out as five-digit numbers: is the TEXT function the cure?

Yes: TEXT turns a date or a number into text in a pattern you choose, so it can join a sentence or a reference without losing its look, and The Complete Excel Course with AI Integration puts it to work inside FinanceGuard's model (Lesson 117), where LEFT, MID and DATE rebuild a date from a compound key and TEXT shows it as a short month-and-year label. The five-digit number appears because Excel stores every date as a number, and joining text shows that number raw; wrap the date in TEXT first and the letter reads properly. When the value must stay a number, to be summed, sorted or charted, a number format is the better tool, and the course teaches those too: custom date formats in Lesson 39 and Lesson 74, and custom number formats that show variances with colours and signs in Lesson 119. Knowing which of the two to reach for keeps a register's figures calculable and its correspondence readable.

Could the COPILOT function fill in codes or abbreviations for a list of place names?

It can, and The Complete Excel Course with AI Integration shows it doing almost exactly that (Lesson 101): a list of states in one column, and in the next a COPILOT formula whose prompt asks for each one's abbreviation, with the state's cell as context. The cells show Busy, then fill one by one. For a draft or a one-off list, that saves real typing. For codes that must match an official list, the dependable route is a lookup against the approved table, which the course teaches with XLOOKUP (Lesson 69): the same input always returns the same code, and a missing one says so. Treat any column filled by AI the way Lesson 99 advises, reading every value before it counts. The COPILOT function needs Copilot in your Microsoft 365 and is still reaching Excel installations, so yours may not show it yet.

Which lesson helps me find a text function when I cannot remember its name?

Lesson 38 of The Complete Excel Course with AI Integration is the one, and it pays off for every function on this page. Formulas, then Insert Function, opens a search box where you describe what you want: the lesson searches for upper and gets UPPER, and a search for count or average lists every variant, so you pick the most fitting one rather than the first you remember. The Function Arguments window then asks for each input in turn, shows a live preview of the result and handles the brackets and commas, a safety net for a formula going into a return. Formula AutoComplete offers the names as you type an equals sign and a few letters. The lesson builds UPPER on a label in the Sales Goal Tracker, but the search finds PROPER, SUBSTITUTE or TEXTJOIN just as readily, which makes the dialog the fastest way back to a function you met once and forgot.

Can text formulas break apart a budget code that holds the period, the department and the head?

Yes: FinanceGuard does it on its own budget keys, and The Complete Excel Course with AI Integration builds the formula with you (Lesson 117). Each key holds the period, the department and the category in one string, separated by vertical bars. TEXTSPLIT cuts the key at every bar and INDEX picks the piece you want, the second for the department and the third for the category, while LEFT, MID, DATE and TEXT turn the period into a month label. A double-click on the fill handle completes the columns beside the list of keys. Your own budget codes, a cost centre, a head of account and a year joined by dashes or slashes, split the same way once the separator is swapped. TEXTSPLIT needs a modern Excel; in an older one, Text to Columns (Lesson 44) makes the same cut by hand. With the parts in columns of their own, SUMIFS can total allocation and spending by department and by head.

Once a formula has tidied a column, should I keep it or paste the results as values?

Paste values when the job is done, keep the formula when the text must follow its source: The Complete Excel Course with AI Integration shows both. For a one-off tidy-up, the text lessons use a helper column, check the result, copy it and paste it back with Paste Special values, then delete the helper (Lesson 42); the clean data then stands on its own and no longer depends on a formula. The challenge solution does the same for names, departments and places (Lesson 47). For text that must follow its source, such as a reference built from an office code and a number, keep the formula in a table column, where it fills itself in for each new row (Lesson 19). For an export that arrives monthly with the same untidy text, Power Query records the trimming, cleaning and capitals as steps that repeat on each new file (Lesson 157). The deciding question is simple: will this text change after today?

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.