The Complete Excel Course with AI Integration

Excel text functions for quantity surveyors

Half of every bill is words: item descriptions, trade names, units and the codes that tie each line to a cost plan, pasted in from PDFs and supplier quotes in every shape. The Complete Excel Course with AI Integration gives that text its own toolkit on industry-standard projects, and its path for a QS runs from splitting by example to joining, cleaning, searching and taking codes apart by formula.

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:

  • Build item codes and line labels from their parts with CONCAT, the & operator and TEXTJOIN, such as a section prefix joined to an item number with a dash.
  • Take a cost code or a drawing number apart with LEFT, RIGHT and MID, pulling out the trade prefix, the element and the running number.
  • Strip stray spaces from descriptions pasted from PDFs and supplier quotes with TRIM, and set trade and material names in one style with PROPER, LOWER or UPPER.
  • Find a word inside a description with FIND or SEARCH, and replace one term with another down a whole column by formula with SUBSTITUTE.
  • Split a column at a comma or a space with Text to Columns, or with Flash Fill from an example you type, when the split is a one-off.
  • Break a packed key into its parts with TEXTSPLIT and turn a date into a month label with TEXT, in a modern Excel.
  • Find the text function a job needs by describing it in the Insert Function dialog, and build it with Function Arguments.
  • Repeat a text clean-up on every new export with Power Query's Replace Values, Trim, Clean and case steps.

Projects

What you will build.

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

  • Project 06

    PeopleInsight HR workbook

    Employee data joined across sheets with one formula.

    An HR analytics workbook in the course, it shows LEFT, RIGHT and MID taking a code like DAL-SAL-0001 apart into location, group and number, and TEXTJOIN building full names; a QS code of trade, element and item comes apart the same way.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built as a budget variance model, it reads keys that pack a month, a department and a category into one text, split with TEXTSPLIT and labelled with TEXT, the treatment a cost code packing package and element needs.

  • Project 12

    SalesFusion

    A sales report that refreshes itself from a folder of files.

    A Power Query project on sales files, it makes the text clean-up permanent: codes stripped of spaces and stray characters and put in capitals by recorded steps, every time a new export arrives.

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

    Kept for HR records, this employee list is where the text functions begin: names joined and split, capitals fixed, spaces trimmed, words found and swapped, a location split into city and state, and a challenge that rebuilds every email address.

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 12 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 24 Flash Fill in Excel

Start at Lesson 24 if you can write a simple formula: splitting by example and by delimiter come first, then the text functions proper from Lesson 41. Never used Excel? Lesson 1 is the place to begin. Fluent with CONCAT and TRIM already? Jump to Lesson 73, where LEFT, RIGHT and MID take codes apart, and on to TEXTSPLIT in Lesson 117.

14 of 186 lessons · 1 h 12 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 2 of 9 lessons · 9 min Splitting without a formula: Flash Fill follows an example you type, and Text to Columns cuts at a space or another delimiter, with an empty column inserted first so nothing is overwritten. The lessons split names and email addresses; a code and its description part the same way.
  1. 24 Start here 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 Finding the right function: Formula AutoComplete as you type, and the Insert Function dialog searched by purpose, with UPPER built through Function Arguments and its 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 Joining, cleaning and searching text on an employee table: CONCAT, the ampersand and TEXTJOIN put pieces together; TRIM and the three case functions tidy them; FIND and SEARCH give a word's position and SUBSTITUTE swaps one word for another; a comma-separated column becomes two; a drop-down protects the result; and a seven-task challenge, with its solution, tests the lot.
  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
08 Advanced Excel functions: lookups, text and arrays 2 of 12 lessons · 10 min Codes built and taken apart, on HR data: CONCAT, the ampersand and TEXTJOIN for full names, then LEFT, RIGHT and MID splitting a code like DAL-SAL-0001 into location, group and number. A cost code made of trade, element and item yields to the same three functions.
  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
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 1 of 10 lessons · 8 min Text inside a model, in a modern Excel: keys that pack a month, a department and a category between pipes are split with TEXTSPLIT, and LET with LEFT, MID, DATE and TEXT turns each key's year and month into a readable label, before SUMIFS brings in the figures.
  1. 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 min
15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 6 min The same clean-up made permanent: Power Query trims, cleans and upper-cases codes and replaces unwanted characters as recorded steps that run again on every new export.
  1. 157 Clean text in Power Query Trim, clean, replace values and fix text case 6 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.

TEXTJOIN, LEFT, MID and TRIM keep appearing in Excel tips for quantity surveyors: where can I learn them properly, in a sensible order?

The Complete Excel Course with AI Integration from Coding Liquids teaches them in a working order, joining first, then cleaning, searching and splitting, on industry-standard projects designed after talking with people from many different industries. Joining: CONCAT, the & operator and TEXTJOIN build an item code from a section prefix and a number, or a full line label for a report (Lesson 41, Lesson 72). Cleaning: TRIM and PROPER tidy descriptions pasted from PDFs and supplier quotes (Lesson 42). Searching: FIND, SEARCH and SUBSTITUTE locate and swap words by formula (Lesson 43). Splitting: LEFT, RIGHT and MID lift the trade prefix or the element out of a cost code (Lesson 73), and TEXTSPLIT breaks a packed key apart in a modern Excel (Lesson 117). Every one of them works on the text half of a bill, and together they fill 14 lessons that take 1 hour 12 minutes.

Can I build each item's code from its section, trade and number with a formula?

Yes, and The Complete Excel Course with AI Integration gives you three ways to join the parts. Lesson 41 starts with CONCAT, which takes the pieces in order, then shows the & operator doing the same in shorthand, and joins an ID, a dash and a name into one label: exactly the shape of a section prefix, a dash and an item number. TEXTJOIN, taught in the same lesson, takes the separator once for any number of parts, which suits a code of four or five pieces. Lesson 72 repeats the joins on HR data with a space between first and last names, the reminder that Excel adds no space of its own, so every separator goes in quotation marks. Fill the formula down the bill and each line carries a code built the same way, with no typing slips to chase before the bill goes out.

Can LEFT, RIGHT and MID split a cost code into its package, element and item number?

Yes, and The Complete Excel Course with AI Integration practises it on a code built the same way. Lesson 73 splits DAL-SAL-0001 into its parts: LEFT takes the first three characters, RIGHT the last four, and MID starts at the fifth character and reads three, so location, group and number land in columns of their own. A cost code of package, element and item yields to the same three functions when each part has a fixed length, and FIND, from Lesson 43, gives the position of a dash for codes whose parts vary in length. Fill the three formulas down and every line of the bill carries its package, element and item number as separate fields, ready to sort, filter and total by any of them. For a one-off split, Flash Fill copies an example instead (Lesson 24). The lesson splits employee position codes; a cost code has the same anatomy.

For a tender enquiry I need every subcontractor contact's email address: can formulas build them from names and the firm's domain?

Yes, and The Complete Excel Course with AI Integration sets exactly that task in its text challenge. Lesson 46 asks for every email to be rebuilt as first name, a full stop, last name and the company's domain, with CONCAT as the hint, and Lesson 47 solves it: CONCAT joins the parts, then LOWER wraps the whole formula so every address comes out in small letters. The names are made ready first, tidied with TRIM and PROPER and split into first and last with Text to Columns on the space. For an enquiry list that means one formula, filled down, and every contact addressed the same way, with no typing slip to bounce an invitation back. Check each firm's own address pattern before you rely on it, since the formula reproduces whatever pattern you give it, and keep the domain in a cell of its own so one edit serves a whole firm.

Do UPPER, LOWER and PROPER matter when SUMIFS ignores capitals anyway?

They matter for how the bill reads and for the few tools that do see capitals, and all three are taught in Lesson 42 of The Complete Excel Course with AI Integration. You are right about the totals: conditional sums and counts, XLOOKUP and PivotTables all treat Formwork and FORMWORK as one trade, so a change of capitals on its own never divides a figure. What capitals change is the page: a cost report whose trade names arrive in three styles looks careless to a client, and PROPER fixes it in one formula, nested with TRIM when the spacing is wrong too. They also change results where case counts: FIND is case-sensitive while SEARCH is not (Lesson 43), SUBSTITUTE matches only the case you type, and Power Query reads Formwork and FORMWORK as two separate values, which is why its cleaning lesson sets codes in capitals (Lesson 157).

Can a formula swap an old trade name for a new one across the whole bill?

Yes, SUBSTITUTE does it, and The Complete Excel Course with AI Integration teaches it beside its search partners in Lesson 43. The lesson replaces one job title with a longer version throughout a column by formula, the same move that renames Partitions to Drylining across a bill, or swaps an outdated element name for the one in your cost plan. Unlike Find and Replace (Lesson 22), SUBSTITUTE leaves the original column untouched and shows the result beside it, so you can check the change before you commit it with Paste Special values. It matches capitals exactly as typed, so make sure the old name is written one way throughout, or tidy it with PROPER first. For a rename you will apply to every month's export, Power Query's Replace Values records the same swap as a step (Lesson 157).

Can I put a valuation's month into a heading that updates itself?

Yes, with TEXT and the & operator, and The Complete Excel Course with AI Integration shows both. In FinanceGuard, Lesson 117 uses TEXT inside a LET formula to turn a year and month into a short month-and-year label, the same function that writes a valuation heading's period from a date cell, so changing the date rewrites the heading. The & operator from Lesson 41 then joins that label to fixed words such as Valuation for, giving one heading in a single cell. TEXT takes number formats as well as date formats, so a certified total can sit inside a sentence with its thousands separators; the codes it accepts are the custom formats FinanceGuard gives its variance columns (Lesson 119). Point the heading at the valuation's own date cell and the report retitles itself every month without a keystroke.

Every line that mentions reinforcement needs checking against the bar schedule: can a formula mark them for me?

Yes: The Complete Excel Course with AI Integration covers the two functions that look inside text. Lesson 43 uses FIND to return the position where a letter or word starts in each cell, and SEARCH to do the same while ignoring capitals, so Reinforcement and reinforcement both count. Where the word is missing the functions return an error, which the lesson wraps in IFERROR to show a readable message instead, giving you a column that marks every description holding the word and labels the rest plainly. Filter or sort on that column and the reinforcement items gather together for checking against the bar schedule. For a quick look without a formula, a Text Filter set to Contains does the same from the filter arrow (Lesson 21). The lesson searches job titles; the descriptions in a bill give way to the same search.

If ChatGPT writes the formula that splits our cost codes, how do I check it splits every row correctly?

By knowing the functions it used and testing them, both of which The Complete Excel Course with AI Integration teaches. Lesson 95 has Copilot and ChatGPT write formula columns and then checks them the way a reviewer would: one row worked by hand against the formula, the logic and any threshold read before inserting, and a scroll down the column to confirm the results hold. ChatGPT works in its own window on a copy of the file and hands back a changed copy, so its formula reaches your workbook by hand. Because Lesson 73 has already taught you LEFT, RIGHT and MID, you can read what it wrote and spot a MID that starts one character too early. A four-step checklist for AI results follows in Lesson 99. The AI drafts quickly; the split is right only once you have checked it.

Can a joined code act as the key that XLOOKUP or SUMIFS matches on?

Yes, and it is one of the most useful things a text formula does for a QS. Join the trade and the element with an & and a separator (Lesson 41) and the result is a single key that a rate library or a cost plan can be matched on, even when neither column is unique alone. The Complete Excel Course with AI Integration shows the reverse in FinanceGuard, where SUMIFS totals budget and actual against keys that pack several fields into one text, and TEXTSPLIT reads them back apart (Lesson 117). Two rules keep joined keys reliable: build them with the same separator on both sheets, and TRIM every part first (Lesson 42), because a stray space makes two keys that look identical fail to match. XLOOKUP itself is taught in Lesson 69, beyond this page's path, ready for the key you have built.

Every month's cost export needs the same codes split and names trimmed: must I rebuild the formulas each time?

Build them once and let the structure carry them, and The Complete Excel Course with AI Integration shows two ways. Keep the export in a table and a text formula written in its first row fills the whole column, then copies itself into every row the next export adds, because a table extends its formulas as it grows (Lesson 19). The sturdier route hands the work to Power Query: Replace Values, Trim, Clean and a case change become steps that run again on each new export (Lesson 157), and the original file is never touched. Choose the formula route for a workbook you add to by hand and the query route for an export that lands every month in the same layout. Either way the splitting and trimming are done once, and next month's figures arrive already tidy.

I have never nested one function inside another: can I manage TRIM inside PROPER?

Yes, and The Complete Excel Course with AI Integration builds up to it gently. Lesson 42 first uses TRIM, UPPER, LOWER and PROPER one at a time, then nests TRIM and PROPER for a location column and points out that they work either way round, because each simply hands its result to the other. Lesson 47 does it again on a messy list, with the formula written as TRIM round PROPER and its result pasted over the original as values. If brackets and commas worry you, Lesson 38 shows the Insert Function dialog, where you search for a function by what it does and Function Arguments fills in the brackets for you with a live preview. By the end of the path, a formula with one function wrapped round another reads as naturally to you as a single SUM, and the bill's descriptions get the benefit.

Can a formula write a one-line summary of each bill item, skipping any blank fields?

Yes, TEXTJOIN is built for it, and The Complete Excel Course with AI Integration teaches it in Lesson 41. The lesson joins several columns, names, department, manager and location, into one string with a vertical bar between each, and explains ignore_empty: set to TRUE, an empty cell leaves no stray separator behind. On a bill, the same formula writes one line per item from its code, description, unit and trade, ready to paste into a cost report or a tender query, and a missing unit simply drops out instead of leaving a gap. Lesson 72 repeats TEXTJOIN with a space as the separator and FALSE to keep empty cells, so you see both behaviours side by side. Change any field and its summary line rewrites itself at once.

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.