Text Excel 365 ◉ 13 views Dynamic Array

=TEXTSPLIT()

TEXTSPLIT function

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for Mac
=TEXTSPLIT(text,col_delimiter,[row_delimiter],[ignore_empty], [match_mode], [pad_with])
Hover argument names in the table for details.
Output typeArray
Popularity55 / 100
VolatileNo
Dynamic ArrayYes
📥 Download sample .xlsx — Coming soon ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =TEXTSPLIT() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
📥 Download TEXTSPLIT.xlsx — Coming soon ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

🧠 🧠 Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
text Text Required The text you want to split.
col_delimiter Text Optional The text that marks the point where to spill the text across columns.
row_delimiter Text Optional The text that marks the point where to spill the text down rows.
ignore_empty Logical Optional Specify TRUE to ignore consecutive delimiters. Defaults to FALSE, which creates an empty cell.
match_mode Number Optional Specify 1 to perform a case-insensitive match. Defaults to 0, which does a case-sensitive match.
pad_with Number Optional The value with which to pad the result. The default is #N/A.

▣ Examples

▦ Data
CellValue
A2 Dakota Lennon Sanchez
A3 To be or not to be
A4 1,2,3;4,5,6
A5 Do. Or do not. There is no try. -Anonymous
A6 Do. Or do not. There is no try. -Anonymous
A7 Do. Or do not. There is no try. -Anonymous
A8 Do. Or do not. There is no try. -Anonymous
A9 Do. Or do not. There is no try. -Anonymous
A10 Dakota Lennon Sanchez
A11 To be or not to be
A12 1,2,3;4,5,6
A13 Do. Or do not. There is no try. -Anonymous
A14 Do. Or do not. There is no try. -Anonymous
A15 Do. Or do not. There is no try. -Anonymous
A16 Do. Or do not. There is no try. -Anonymous
A17 Do. Or do not. There is no try. -Anonymous
Example 1 =TEXTSPLIT(A2, " ")
Example 2 =TEXTSPLIT(A3, " ")
Example 3 =TEXTSPLIT(A2,",",";")
Example 4 =TEXTSPLIT(A2,".")
Example 5 =TEXTSPLIT(A2,{".","-"})
Example 6 =TEXTSPLIT(A2,{".","-"},,FALSE)
Example 7 =TEXTSPLIT(A2,,".")
Example 8 =TEXTSPLIT(A2,,{".","-"})
Example 9 =TEXTSPLIT(A2,,{".","-"},TRUE)
Example 10 =TEXTSPLIT(A2," ",".",TRUE)

§ Remarks

  • If there is more than one delimiter, then an array constant must be used. For example, to split by both a comma, and a period, use =TEXTSPLIT(A1,{",","."}).

✦ Tips

  • If there is more than one delimiter, then an array constant must be used. For example, to split by both a comma, and a period, use =TEXTSPLIT(A1,{",","."}).

⚠ Common Errors

#N/A The default is #N/A.
Fix: اگر می‌خواهید به جای #N/A مقدار دیگری نمایش داده شود، آرگومان pad_with را با مقدار دلخواه پر کنید.

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.