- Text functions never change the cell they read. Write them in a helper column, then paste the result as values when it should replace the original.
- LEFT, MID, RIGHT, TRIM and SUBSTITUTE always return text. That keeps the leading zeros in a code, but SUM skips the result until
VALUEturns it into a number. - TEXTBEFORE and TEXTAFTER need Excel 365 or Excel 2024, and TEXTJOIN and CONCAT need Excel 2019 or later. Older versions do the same jobs with MID, FIND and
&.
The 11 exercises
Each one is a short task on an Excel-style sheet in your browser, free and without sign-up. The checker looks at the result, so any formula that gets it right passes, and a wrong one gets the reason.
-
Join text together
&joins text from several cells, andPROPERcapitalises the first letter of each word. -
Join a list with commas
TEXTJOINjoins a range of cells into one text with a separator between them, and can skip the empty cells. -
Fix the capitals
UPPERmakes every letter a capital,LOWERmakes every letter small, andPROPERcapitalises the first letter of each word. -
Stray spaces that break a count
TRIMremoves spaces at the start and end of text and turns double spaces inside it into single ones. -
Flag the bad entries
TRIM,LENandEXACTtest typed entries for stray spaces, the wrong length and the wrong capitals, without changing them. -
First and last characters
LEFTtakes a number of characters from the start of a text, andRIGHTfrom the end. -
Pull from the middle
MIDtakes a number of characters from the middle of a text, starting at a position counted from 1. -
FIND or SEARCH?
FINDandSEARCHgive the position of one text inside another; FIND counts capitals and SEARCH ignores them. -
Split first and last names
FINDgives the position of a character, andLEFTandMIDtake the text before and after it. -
Clean a bank description
TEXTAFTERandTEXTBEFOREtake the text after or before a marker character, however long the line is. -
Swap one word for another
SUBSTITUTEswaps every copy of one piece of text for another, wherever it sits in the cell.
Do module 8 in order, step by step, in the courseAll 126 exercises
FAQ
- Which Excel text functions are worth learning first?
- TRIM,
&, LEFT and MID with FIND, and SUBSTITUTE. Between them they join, split and clean most imported lists. TEXTJOIN, TEXTBEFORE and TEXTAFTER are shorter ways to do the same jobs in newer versions. - Are Excel text functions case-sensitive?
- Some are. FIND, EXACT and SUBSTITUTE count capitals. SEARCH,
=, COUNTIF and the lookups ignore them, so "brk-311" and "BRK-311" match. - Formula or Flash Fill?
- Flash Fill (Ctrl+E) is quicker for a one-off list, but it types fixed values, so nothing updates when the source changes. A formula updates, and it is what these exercises check: typed-in results don't pass.