The Complete Excel Course with AI Integration

Excel text functions for merchandise planners

Planning text arrives from three directions, supplier files, the line list and the sales export, each spelling styles, colours and stores its own way, and every lookup and SUMIFS between them depends on the text matching. The Complete Excel Course with AI Integration teaches the functions that make it match on industry-standard projects, and this page picks them out for a planner: tidying text, reading codes, building keys and labels, and Power Query for the weekly repeat.

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:

  • Strip stray spaces from supplier, style and colour names with TRIM and set their capitals with UPPER, LOWER or PROPER, so the line list reads cleanly in every report.
  • Read the season, class or size part of a style code with LEFT, RIGHT and MID, and find where a separator sits with FIND or SEARCH when the parts vary in length.
  • Build one key from store, week and style with CONCAT, the ampersand or TEXTJOIN, so SUMIFS and lookups can match two files on it.
  • Split a joined key back into its parts with TEXTSPLIT, the way FinanceGuard reads department and category out of its keys, in a modern Excel.
  • Swap separators or old codes for new with SUBSTITUTE, and flag every description that mentions a fabric or a fit with SEARCH and IFERROR.
  • Bring purchase order numbers from two systems into one format by joining the missing prefix on or stripping the extra one off.
  • Turn a period code holding a year and a month into a short month label with LEFT, MID, DATE and TEXT for the trading pack's headings.
  • Move the weekly text clean-up into Power Query as steps that trim, clean, replace values and fix the case of every new export.

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.

    Built for HR analytics, it is where LEFT, RIGHT and MID take a packed position code apart and CONCAT builds full names; the section's closing challenge then reformats order IDs with a text prefix, code-reading a planner uses on every style number.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built as a budget vs actual dashboard, its model keys every row by year and month, department and category, splits those keys with TEXTSPLIT and turns them into month labels with TEXT, a key design a planner can reuse for store, week and style.

  • Project 12

    SalesFusion

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

    Built as a sales reporting system on raw CSV exports, it moves the text clean-up into Power Query: codes trimmed, cleaned, stripped of stray hyphens and set in upper case as steps that rerun on each new file.

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 a company's employee list, it is where the core text functions are learnt: names joined and split, places and job titles trimmed and re-cased, text found and swapped by formula, the same moves a line list's style, colour and supplier text needs.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 12 of them, 1 h 2 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 41 CONCAT, the & operator and TEXTJOIN in Excel

Begin at Lesson 41 if you already write formulas: the core text functions come first, on a table of names and places. New to Excel? Start at Lesson 1 and come back once formulas feel familiar. If CONCAT and TRIM are part of your day already, go to Lesson 73 for reading codes with LEFT, RIGHT and MID, then on to Lesson 117, where FinanceGuard splits its keys with TEXTSPLIT.

12 of 186 lessons · 1 h 2 min

04 Essential formulas and functions (IF, SUMIF and more) 1 of 13 lessons · 5 min The function library: Insert Function searched by purpose, the variations it lists side by side, and the Function Arguments window that builds UPPER without a typing slip, the way to find the right text function when its 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) 4 of 7 lessons · 20 min The core text functions on an employee table: CONCAT, the ampersand and TEXTJOIN to join cells with a separator, TRIM, UPPER, LOWER and PROPER to tidy them, FIND, SEARCH and SUBSTITUTE to locate and replace text by formula, and Text to Columns at a comma. Style, colour and supplier text takes every one of them.
  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 A challenge on a messier employee file, then its solution: TRIM nested with PROPER, names split, emails rebuilt with CONCAT wrapped in LOWER, place names made uniform and IDs brought into one format.
  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 CONCAT and TEXTJOIN again for full names with a delimiter, then LEFT, RIGHT and MID on a code that packs location, department and number into one cell; the lesson itself names product codes among the codes they suit.
  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 challenge on products and orders: XLOOKUP for each order's product, a total per line, and order IDs reformatted by joining a text prefix to them, the move that brings references from two systems into one form.
  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: keys holding the year and month, the department and the category, split by pipes, read with TEXTSPLIT and turned into month labels with LEFT, MID, DATE and TEXT inside LET, then totalled with SUMIFS. It needs a modern Excel.
  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 Text cleaning in Power Query: trim, clean, replace values and set upper case on codes as saved steps, so every new export arrives tidy at a refresh. The lesson cleans region and product codes; style and store codes take the same steps.
  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.

Which text jobs in a merchandise planner's week can Excel formulas take over?

Four that come round every week, tidying names, reading codes, building keys and labelling the pack, and The Complete Excel Course with AI Integration from Coding Liquids teaches the functions for each on industry-standard projects designed after talking with people from many different industries. TRIM, UPPER, LOWER and PROPER tidy a name so one style reads one way everywhere (Lesson 42); FIND, SEARCH and SUBSTITUTE locate and replace text by formula (Lesson 43); LEFT, RIGHT and MID read the parts of a code (Lesson 73); CONCAT and TEXTJOIN build a key from several columns (Lesson 41); and TEXTSPLIT takes a key apart again, while LEFT, MID and TEXT turn a period code into a month label for the pack (Lesson 117). Once the supplier files, the line list and the sales export share their spellings and keys, XLOOKUP and SUMIFS match them line for line, and the sell-through and cover built on them stop missing stock. The 12 lessons here, 1 hour 2 minutes in all, cover all four.

Our style codes vary in length, so the colour never starts in the same place: can a formula still find it?

Yes: find the separator first, then take the text beside it, and The Complete Excel Course with AI Integration teaches both halves. FIND returns the position of a character in a cell, counting every character up to it, spaces included (Lesson 43), and SEARCH does the same without minding capitals. MID then takes text from a start position you give it for a length you give it (Lesson 73), so a start worked out from FIND's answer follows the hyphen wherever it falls in each code, and LEFT reads everything before it. Where the parts sit in fixed places, LEFT, RIGHT and MID alone do the job, as the lesson shows on a code of location, department and number. Codes joined by one separator can also be split whole with TEXTSPLIT, which FinanceGuard uses on its pipe-separated keys (Lesson 117) in a modern Excel.

Can I build one key from store, week and style so SUMIFS and XLOOKUP match two files on it?

Yes: join the columns into one text key, and The Complete Excel Course with AI Integration teaches every way to do it. CONCAT and the ampersand join cells in order, with any separator you put in quotation marks between them (Lesson 41, Lesson 72), and TEXTJOIN takes the separator once as its first argument, with TRUE telling it to skip empty cells. Build the same key in the sales export and the stock file, and one XLOOKUP brings stock onto each sales line by store, week and style together, where no single column would match. FinanceGuard, built for budget against actual, keys its tables the same way: each key holds the year and month, the department and the category, separated by pipes, and SUMIFS totals both tables against it (Lesson 117). A pipe makes a good separator for a planner too, since it never turns up inside a style name.

Supplier descriptions arrive with double spaces and capitals all over the place: will TRIM and PROPER tidy them for the buyers' line list?

Yes, and The Complete Excel Course with AI Integration shows the routine that keeps the result. TRIM removes spaces at either end and cuts runs of spaces inside a cell down to one, and UPPER, LOWER and PROPER set the capitals, PROPER giving each word a capital first letter and lowering the rest (Lesson 42). The lesson works in a helper column, then copies the results and pastes them back as values with Paste Special, so the clean text no longer depends on a formula and the helper can go; TRIM and PROPER nest either way round when a column needs both. Use UPPER for codes and PROPER for descriptions and colour names, and the line list reads the same from the first line to the last. Tidy capitals make the buyers' copy look professional, and they matter to Power Query, which reads Navy and NAVY as two different values (Lesson 157).

Can a formula swap the separators in our codes, slashes for hyphens, before I split or match them?

Yes: that is the job SUBSTITUTE was made for, and Lesson 43 of The Complete Excel Course with AI Integration covers it. The function swaps old text for new inside a cell, every time it appears, so a code written with slashes by one supplier and hyphens by another comes out in one form, ready for MID or TEXTSPLIT to read. The lesson's own example swaps one job title for a longer one down a whole column, and the same function strips a prefix, replaces an old season code with the new one or removes a stray character, all by formula and without the risks of a sheet-wide Find and Replace. Because it is a formula, the original stays untouched beside it, so you can compare the two before pasting the clean column back as values. SUBSTITUTE does tell capitals apart, so write the old text exactly as the cells hold it.

Can I flag every line whose description mentions linen, or any other word, with a formula?

Yes, with SEARCH and IFERROR, both taught in The Complete Excel Course with AI Integration in Lesson 43. SEARCH returns the position where a word starts inside a cell and an error where the word does not appear, and it ignores capitals, so Linen, LINEN and linen all count, while FIND does the same job reading capitals exactly. The lesson wraps both in IFERROR to show a message of your choosing in place of the error, so a column beside the descriptions shows a position or No for every line. Filter that column (Lesson 21) and every linen line is on screen, ready for a fabric review or a markdown list, and COUNT on it gives how many lines mention the word, since only those hold a number. Swap the word for a fit, a pattern or a supplier's range name, and one column answers a question the planning hierarchy never asked.

Our two systems write purchase order numbers differently: can a formula bring them into one format?

Yes, and The Complete Excel Course with AI Integration sets a challenge on exactly that move. In Lesson 78 the order IDs of an orders sheet are reformatted in the style required by joining a text prefix to them, after XLOOKUP has brought in each order's product. With the ampersand or CONCAT (Lesson 41), a prefix and a hyphen go in front of a bare number from the system that leaves them out, and SUBSTITUTE strips a prefix the other way, for a report that shows plain numbers (Lesson 43). Once both files hold the same form, a lookup matches intake against orders line for line, and the open orders list stops showing deliveries that have already arrived. Check a handful of matches by eye after the first run; from then on the formula applies the same rule to every row, week after week.

Can the trading pack's headings and labels build themselves from the week's figures?

Yes: text joined to cell values by formula makes a heading that rewrites itself, and The Complete Excel Course with AI Integration teaches the parts. The ampersand and CONCAT join words and cell contents in one line (Lesson 41), so a heading can read the category name and the week from the cells that hold them. For month labels, FinanceGuard turns each key's year and month into a short month-and-year label with LEFT, MID, DATE and TEXT inside LET (Lesson 117), the tidy way to turn a period code into a heading a reader understands. TEXTJOIN strings a list together with commas in one cell, handy for a line naming the week's top styles. Point the labels at the cells that change each Monday, and the pack's titles and notes stay right without a word retyped, however many weeks the season runs.

Our style codes begin with the season: can a formula catch lines still carrying last season's prefix?

Yes: read the prefix with LEFT and test it with IF, both taught in The Complete Excel Course with AI Integration. LEFT returns a set number of characters from the start of a cell (Lesson 73), so the season letters at the front of each style code land in a column of their own. An IF beside it compares them with the current season held in one cell and returns Current or Old, the same pattern Lesson 30 uses to label each sale Achieved or Missed. Filter to the Old lines (Lesson 21) and the carry-over stock sits in one view, ready for the markdown plan or a transfer between stores. Because the season lives in one cell, changing it at the turn of the season relabels the whole line list at once. Mixed capitals in the prefix make no difference here: the equals sign reads Aw and AW as the same value.

Could the trimming and capitals be fixed inside Power Query, so I never write TRIM on the weekly export again?

Yes: Power Query does the same text work as steps saved with the query, and The Complete Excel Course with AI Integration teaches it in Lesson 157. Trim and Clean sit on the Transform tab's Format menu beside UPPERCASE and the other case options, Replace Values swaps or strips text in any column picked, and every action is recorded in order so it runs again on next week's file at a refresh. The lesson trims and upper-cases region and product codes and strips hyphens out of product IDs, the same treatment a planner's style and store codes need, and Clean removes the line breaks that TRIM leaves behind. Keep the worksheet functions for the one-off file and for building keys and labels; let the query take on the routine tidying of every export, so the text is clean before a formula ever touches it.

When I need a text function I have not met yet, how do I find it without leaving Excel?

Search for it by what it does, which The Complete Excel Course with AI Integration teaches in Lesson 38. The Insert Function dialog on the Formulas tab takes a plain description and lists the functions that match, with a line on what each does; the lesson searches for average and count and gets every variation, AVERAGEIF and COUNTIFS among them. Type an equals sign and the first letters of a name, and Formula AutoComplete lists every function that begins that way. Pick one and the Function Arguments window asks for each argument in turn and previews the result, as the lesson shows by building UPPER on a label, so no misplaced bracket or comma reaches a formula in the buyers' report. The lesson's point about simply asking an AI is worth keeping: seeing the variations side by side helps you choose the most efficient one for the job.

Our size runs sit in one cell as S, M, L and XL with commas between: can a formula take them apart or put them back together?

Yes, both ways, and The Complete Excel Course with AI Integration teaches the tools. Text to Columns at a comma splits the cell into neighbouring columns in one pass (Lesson 44), with Treat consecutive delimiters as one stopping a doubled comma from pushing a size into the wrong column. TEXTSPLIT does it by formula, splitting at any separator and updating when the cell changes; FinanceGuard uses it with INDEX to take the second and third parts of a pipe-separated key (Lesson 117), which reads one size out of a run just as well, in a modern Excel. Going the other way, TEXTJOIN gathers the sizes a store carries into one cell with a comma between them and TRUE to skip the empty ones (Lesson 41). A size run held in one cell is easy to read; held one size to a column, it is easy to count and total.

Can I build each line's description from its colour, fabric and fit columns for the range review sheet?

Yes, by joining the attribute columns, and The Complete Excel Course with AI Integration teaches every piece. TEXTJOIN takes a separator once and then the cells to join, with TRUE so a line with no fabric listed leaves no double space or stray comma (Lesson 41); CONCAT and the ampersand do the same with the separator typed between each part (Lesson 72). Wrap the result in PROPER for a description that reads well, or in LOWER, as the challenge solution does when it rebuilds every email from first and last names (Lesson 47). Written once in a table column, the formula fills down to every line and rewrites a description the moment an attribute changes, so the range review sheet and the line list never disagree. The lessons join names, departments and places; colours, fabrics and fits join in exactly the same way.

The text lessons practise on employee data: will they carry over to style codes and store names?

They carry over completely, because text functions care about characters, not about what the characters mean, and The Complete Excel Course with AI Integration picks its examples for the patterns they teach. A position code of location, department and number is taken apart in Lesson 73 exactly as a style code of season, class and colour would be; names and places are trimmed and re-cased in Lesson 42 as supplier and colour names are; and a key of year and month, department and category is split in Lesson 117 as a key of week, store and style would be. Employee data is simply familiar to every learner, which leaves your attention free for the functions. Rebuild one formula on your own line list after each lesson and the method moves into your week straight away, with the finished practice files there to compare against when something does not match.

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.