How to Use TEXTSPLIT Function in Excel Step-by-Step
Learn how to use TEXTSPLIT function in Excel step-by-step to split text values from hour, minute, and second numbers.
Hello everyone! Today i will show you how to use TEXTSPLIT function in Excel step by step. TEXTSPLIT is available in Excel 2021 and Excel 365.
What is TEXTSPLIT Function in Excel?
The TEXTSPLIT function help you split any text string into multiple cells (across columns or down rows) using delimiter separator like comma ,, space " ", dash -, or slash /. In old Excel, you need use Text to Columns tool, but TEXTSPLIT formula do it automatically and update dynamically!
📚 Related Tutorial: Want to combine text from multiple cells together instead of splitting? Check out How to Use TEXTJOIN Function in Excel!
🛠️ Formula Syntax
=TEXTSPLIT(text, col_delimiter, [row_delimiter], [ignore_empty], [match_mode], [pad_with])
text: The text string or cell you want to split (example:A1).col_delimiter: Symbol to split text across columns (example:","," ","-").[row_delimiter](Optional): Symbol to split text down into rows.[ignore_empty](Optional): PutTRUEto skip consecutive empty delimiters.[match_mode](Optional):0for case-sensitive match (default),1for case-insensitive match.[pad_with](Optional): Value to pad missing cells in 2D grid.
📊 Simple Examples
Example 1: Split text by comma into columns
=TEXTSPLIT(A1, ",")
If cell A1 contains "Apple,Orange,Banana", Excel splits it into 3 separate column cells:
| Column A | Column B | Column C |
|---|---|---|
| Apple | Orange | Banana |
Example 2: Split full name by space
=TEXTSPLIT(A1, " ")
"John Smith" ➔ Cell 1: John | Cell 2: Smith
Example 3: Split text into rows (Vertical Split)
Leave col_delimiter blank and use 3rd argument row_delimiter:
=TEXTSPLIT(A1, , ",")
If cell A1 contains "Apple,Orange,Banana", result splits vertically down into 3 rows:
Apple
Orange
Banana
Example 4: Split by multiple delimiters at same time
=TEXTSPLIT(A1, {",", ";"})
This formula splits text using both comma , and semicolon ;.
Example 5: Ignore empty blank values
=TEXTSPLIT(A1, ",", , TRUE)
Useful when text has extra consecutive commas like "Apple,,Orange,,,Banana". Setting ignore_empty to TRUE removes blank cells.
Example 6: Split date string by dash -
=TEXTSPLIT(A1, "-")
"2026-09-14" ➔ 2026 | 09 | 14
⚡ Modern Excel Text Functions Comparison
Here is quick guide comparing modern text formulas in Excel:
| Function | Purpose | Example |
|---|---|---|
TEXTSPLIT | Split text into columns or rows by delimiter | =TEXTSPLIT(A1, ",") |
TEXTBEFORE | Get text before a specific delimiter | =TEXTBEFORE(A1, "@") |
TEXTAFTER | Get text after a specific delimiter | =TEXTAFTER(A1, "@") |
TEXTJOIN | Combine text from multiple cells with delimiter | =TEXTJOIN(", ", TRUE, A1:A5) |
💡 Quick Tips for TEXTSPLIT:
TEXTSPLITis dynamic array formula available in Microsoft 365 and Excel 2021+. Make sure surrounding cells are empty so it won't show#SPILL!error!- To split into rows instead of columns, leave 2nd argument (
col_delimiter) empty and put separator in 3rd argument (row_delimiter).
📚 Related Resources & Tutorials
Related Tutorials
Opens in new tab ↗How to Use TIME Function in Excel (Video in Khmer)
Learn how to use TIME function in Excel step-by-step to build real time values from hour, minute, and second numbers.
How to Use HOUR, MINUTE, and SECOND Functions in Excel (Video in Khmer)
Learn how to extract hour, minute, and second from any time in Excel step-by-step with simple examples.
How to Use MAP Function in Excel + Tips
Learn how to use MAP function in Excel step-by-step to apply formula to each item in array with simple examples, tips.