মূল বিষয়বস্তুতে যান
TextAdvanced LevelAdvanced Excel (Dynamic Arrays & Automation)

How to Use TEXTSPLIT in Excel

Splits one cell into many by a delimiter and spills the pieces into neighbouring cells — no Text to Columns needed.

Direct Answer (Quick Summary)

What is TEXTSPLIT in Microsoft Excel?

TEXTSPLIT takes a delimited string and returns an array of the parts, spilling them across columns or down rows. It replaces the manual Data > Text to Columns workflow and, because it is a formula, it updates automatically when the source changes. It handles both column and row delimiters at once.

Pro Tip: Combine TEXTSPLIT with TRIM to remove the spaces that usually follow a comma: =TRIM(TEXTSPLIT(A2,",")). Spilled arrays flow through most functions automatically.

Formula Syntax

=TEXTSPLIT(text, col_delimiter, row_delimiter, ignore_empty, match_mode, pad_with)

Arguments Breakdown

ArgumentRequirementPurpose & Details
textRequiredThe delimited string to split.
col_delimiterRequiredThe character that separates values across columns.
row_delimiterOptionalAn optional character that separates values down rows.
ignore_emptyOptionalTRUE skips empty results created by consecutive delimiters.
pad_withOptionalThe value used to fill gaps when rows have different lengths.

When to Use TEXTSPLIT (Real-World Business Scenarios)

  • 1

    Splitting 'Rahul|North|55000' into three separate columns without leaving the formula bar.

  • 2

    Parsing a comma-separated tag list into individual rows for counting.

  • 3

    Building a dynamic table from a single imported string.

Step-by-Step Practical Business Example

Suppose you have the following dataset in Excel cells A1:D4:

Packed RowPart 1Part 2Part 3
Rahul|North|55000RahulNorth55000
Pooja|South|48000PoojaSouth48000
Aman|West|62000AmanWest62000
Applied Formula:Result: Spills Rahul, North, 55000 across three cells
=TEXTSPLIT(A2,"|")

How it works: Splits the packed string at each pipe and spills the three parts into the cells to the right. Change the source and the split updates instantly.

Common Errors & How to Fix Them

#SPILL!

Why it happens: The cells where the array wants to land already contain data.

Fix: Clear the neighbouring cells, or wrap the result in INDEX to pull out only the part you need.

#N/A

Why it happens: The delimiter was not found in the source string, so no split occurred.

Fix: Confirm the exact delimiter with FIND, and remember that a space after a comma is a different character.

Interactive Formula Lab

Try TEXTSPLIT Live in Your Browser

No need to launch desktop Excel. Practice formulas with real-time feedback in our HyperFormula sandbox.

Open Practice Lab

Frequently Asked Questions (TEXTSPLIT)

What does the TEXTSPLIT formula do in Excel?

TEXTSPLIT takes a delimited string and returns an array of the parts, spilling them across columns or down rows. It replaces the manual Data > Text to Columns workflow and, because it is a formula, it updates automatically when the source changes. It handles both column and row delimiters at once.

What is the syntax for TEXTSPLIT?
=TEXTSPLIT(text, col_delimiter, row_delimiter, ignore_empty, match_mode, pad_with)
What are common mistakes when using TEXTSPLIT?

#SPILL!: The cells where the array wants to land already contain data. (Clear the neighbouring cells, or wrap the result in INDEX to pull out only the part you need.) #N/A: The delimiter was not found in the source string, so no split occurred. (Confirm the exact delimiter with FIND, and remember that a space after a comma is a different character.)

Keep building your formula toolkit with these text functions.

Browse all 41 Excel formulas
Ready to Master Microsoft Excel?

Master TEXTSPLIT in Advanced Excel

Learn TEXTSPLIT along with our formula library, practice files, and verifiable certificates in our complete curriculum.

Strictly necessary