5. Text Functions & Data Cleaning

Data Cleaning with TEXTSPLIT, TRIM, and PROPER

Syntax Structure
=TEXTSPLIT(text, col_delimiter, [row_delimiter])
text: The string to split into separate columns. col_delimiter: Character dividing the words.
Live Interactive Spreadsheet ⚡ Excel 365, Excel for Web

Dynamically spill address components across columns based on comma delimiter.

fx
#A (Raw Address Input)B (City Output)C (State Output)D (ZIP Output)
2San FranciscoCA94107
3AustinTX78701
4New YorkNY10001
5SeattleWA98101
Calculated Output: ["San Francisco", " CA", " 94107"]
💡 Edit any table cell or formula to recalculate

Streamlining Messy Datasets

Excel provides dynamic array formulas like TEXTSPLIT alongside TRIM() and PROPER().

💡 Pro Tip / Best Practice
Wrap dirty user inputs in =PROPER(TRIM(A2)) to standardize all names to Title Case.
Scroll to Top