Cellgrids Cellgridsby LearnWithRinkesh
Home › Excel tutorials › TEXTSPLIT Function in Excel (Split Text with a Formula)

How to Use the TEXTSPLIT Function in Excel to Split Text into Columns

By Rinkesh Shah · Business Analyst, 8 years in data · Updated 2026-10-31

▶ Video coming soon

The Text to Columns button gives a one-time result. TEXTSPLIT is a formula, so when the source text changes, the split result changes too. It is available in Microsoft 365 and Excel 2021 or newer.

Syntax

=TEXTSPLIT(text, col_delimiter, [row_delimiter])

Split a full name into two columns

If A2 holds "Priya Sharma":

=TEXTSPLIT(A2, " ")

The first name goes in the cell with the formula and the last name spills into the cell on the right.

Split by comma

If A2 has "Excel, Power BI, SQL":

=TEXTSPLIT(A2, ", ")

Split into rows instead of columns

Leave the column delimiter empty and give a row delimiter:

=TEXTSPLIT(A2, , ", ")

The skills now come down the column, one per row.

Several delimiters at once

Use an array of delimiters inside curly brackets: =TEXTSPLIT(A2, {",",";"}) splits on a comma or a semicolon.

Common mistakes

Worked example

A2 holds "Pune,Mumbai,Delhi". =TEXTSPLIT(A2,",") spills the three cities across three cells. To split down rows: =TEXTSPLIT(A2,,",").

Common mistakes

Frequently asked questions

TEXTSPLIT or Text to Columns?

TEXTSPLIT is a formula and updates by itself. Text to Columns is a one-time action.

Can it split by two delimiters?

Yes, use an array like {",",";"}.

What causes #SPILL!?

Cells in the spill area are not empty.

Practice this online, free

Reading is only half of learning Excel. Cellgrids is a free place for online Excel practice: solve Excel formula exercises in a live spreadsheet, prepare for Excel interview questions, and work through business case studies built for data analytics and business analytics roles.

Practice these formulas: TEXTSPLIT, TEXTBEFORE, TEXTAFTER.

Start Excel practice → Case studies