Excel library

Excel Text Formulas

Text formulas clean up and reshape data that arrives in the wrong form: names in one cell that belong in two, codes with extra characters, numbers stored as text, stray spaces that break lookups.

LEFT, RIGHT and MID pull out parts of a string; FIND and SEARCH tell them where to cut. SUBSTITUTE, TRIM and CLEAN tidy things up, and TEXTJOIN or CONCAT put pieces back together. In Microsoft 365, TEXTSPLIT, TEXTBEFORE and TEXTAFTER do in one step what used to take a nested formula.

The tutorials below cover extracting text and numbers, splitting and combining cells, removing characters and spaces, replacing values and blanks, and changing case.

Start here

More in Text