TEXTSPLIT Function in Excel: Split Text Into Cells

TEXTSPLIT Function in Excel: Split Text Into Cells featured illustration

📎 This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 5 October 2026

TextLevel: ExpertAvailable in: Excel 365 / 2021+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. TEXTSPLIT in practice
  6. Where you will use it
  7. Worked example
  8. Mistakes people make
  9. Related functions
  10. Continue learning

TEXTSPLIT splits text by a delimiter into columns and/or rows — a formula version of Text to Columns that updates automatically.

Advertisement

Syntax

=TEXTSPLIT(text, col_delimiter, [row_delimiter], [ignore_empty])
Argument What it means
col_delimiter Splits across columns.
row_delimiter Splits down rows.

Examples

Example 1

=TEXTSPLIT(A2, ",")

“Delhi,Mumbai,Pune” across three cells.

Example 2

=TEXTSPLIT(A2, , ",")

Down three rows.

TEXTSPLIT in practice

Where you will use it

  • Split names or addresses
  • Break CSV text into columns
  • Parse imported codes

Worked example

TextFormulaResult
Ravi,Kumar,Pune=ARRAYTOTEXT(TEXTSPLIT(A2,{",","-",";"},,TRUE))Ravi, Kumar, Pune
INV-2026-145=ARRAYTOTEXT(TEXTSPLIT(A3,{",","-",";"},,TRUE))INV, 2026, 145
a;b;;c=ARRAYTOTEXT(TEXTSPLIT(A4,{",","-",";"},,TRUE))a, b, c

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Empty partsignore_empty TRUE drops them
Rows and columnsSecond delimiter splits into rows

TEXTBEFORE · TEXTJOIN · SUBSTITUTE

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

⚡ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

📎 Practice files for this article

  • 📗
    Practice workbook: Text & cleaning24 tasks on realistic sales data — type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX · 35 KB

Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong

Leave a Reply

Your email address will not be published. Required fields are marked *