Prefer reading? The same steps are written out below the video.
TEXTSPLIT (Excel 365) splits text wherever a character you choose, the delimiter, appears. Unlike Text to Columns, the result updates when the source changes. Its arguments are TEXTSPLIT(text, col_delimiter, [row_delimiter], [ignore_empty], [match_mode]).
A2 holds a comma-separated list of fruits. In C2:
=TEXTSPLIT(A2,",")
Each fruit spills into its own column.
Leave the column delimiter empty and give the row delimiter instead:
=TEXTSPLIT(A2,,",")
The two commas skip the second argument, so the list runs down the rows.
When names are separated by “, “, include the space in the delimiter so there are no leading spaces:
=TEXTSPLIT(A2,", ")
For text like Name=Ann, Age=34, City=Paris, use one delimiter for columns and another for rows:
=TEXTSPLIT(A2,"=",", ")
The equals sign splits across, and the comma-space splits down, giving a neat grid.
If the text mixes commas and semicolons, put them in curly braces, and wrap TRIM around the result to remove stray spaces:
=TRIM(TEXTSPLIT(A2,,{",",";"}))
By default TEXTSPLIT doesn’t ignore empty values, so two delimiters in a row create an empty cell. That keeps columns lined up when some scores are missing:
=TEXTSPLIT(A2,", ")
To split on both ” x ” and ” X “, set the fifth argument (match mode) to 1:
=TEXTSPLIT(A2," x ",,,1)
Including the spaces around the x stops leading and trailing spaces in the results.
Dates are stored as numbers, so convert them to text first, then split on the slash:
=TEXTSPLIT(TEXT(A2,"dd/mm/yyyy"),"/")
Use Data > Text to Columns, or combine LEFT, RIGHT, MID and SEARCH or FIND to pull out each piece.
My Excel Tips & Shortcuts: 100+ Powerful Hacks course collects a hundred time-saving techniques like this one.
WATCHING ON YOUTUBE?
11 step-by-step courses on Excel, Power BI, Python and AI, all on Udemy with lifetime access.