TEXTSPLIT Function in Excel

If you just need to textsplit function in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: use =TEXTSPLIT(text, delimiter) — it splits a string across columns and spills the parts live, unlike the one-off Text to Columns wizard. Function availability: TEXTSPLIT: Excel 2024+. These are Microsoft's version markers; earlier perpetual releases do not include these functions. Check the actual product and update channel before using the formula. A marker does not establish an identical Web/Mac workflow or Google Sheets support.

On this page8

Syntax

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

Arguments

Argumentrequired / optionalDescription
textrequiredThe text to split.
col_delimiterrequiredThe delimiter that splits across columns. May be an array of several.
row_delimiteroptionalA delimiter that splits down rows as well.
ignore_emptyoptionalTRUE collapses consecutive delimiters instead of leaving blanks.

Related functions

TEXTBEFORE and TEXTAFTERLEFT/RIGHT/MIDTRIM
▤Annotated stepsExcel
1

Function availability: TEXTSPLIT: Excel 2024+. These are Microsoft's version markers; earlier perpetual releases do not include these functions. Check the actual product and update channel before using the formula. A marker does not establish an identical Web/Mac workflow or Google Sheets support.

2

Click a cell with enough empty space to the right for every part.

3

Type =TEXTSPLIT( and select the source cell, then the delimiter in quotes.

4

Add a row delimiter as a third argument if the text should also split downwards.

5

Press Enter; the pieces spill and stay live as the source changes.

Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

What this does

TEXTSPLIT breaks text at a delimiter and spills the pieces into neighbouring cells. The difference from Text to Columns is that it is a formula: it recalculates when the source changes, where the wizard is a one-time action that has to be repeated after every import. It can split across columns and down rows simultaneously with two delimiters, accepts an array of delimiters to handle inconsistent data, and pads ragged results so the spill stays rectangular. Requires Excel 365, and needs empty cells to spill into or it returns #SPILL!. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. For “textsplit function in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected formula change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a text operation that turns messy entries into clean, usable data useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

Splitting a comma-separated string in A2: =TEXTSPLIT(A2, ",") spills the parts across the row and updates whenever A2 changes. Handling a file whose fields use either a comma or a semicolon: =TEXTSPLIT(A2, {",", ";"}). Turning a multi-line, comma-delimited block into a grid: =TEXTSPLIT(A2, ",", CHAR(10)). TEXTSPLIT makes splitting a live formula instead of a manual step, which is what removes it from the list of chores after every import. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.

In Google Sheets

Function availability: TEXTSPLIT: Excel 2024+. These are Microsoft's version markers; earlier perpetual releases do not include these functions. Check the actual product and update channel before using the formula. A marker does not establish an identical Web/Mac workflow or Google Sheets support. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. For “textsplit function in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.

Common mistakes

  • Placing it where cells to the right are occupied, which returns #SPILL!.
  • Using it in Excel 2021 or earlier, where it does not exist — Text to Columns is the fallback.
  • Forgetting ignore_empty on data with consecutive delimiters, which leaves blank columns between the parts.

Frequently asked questions

What is the difference from Text to Columns?

TEXTSPLIT is a live formula that updates with the source. Text to Columns is a one-off action you must repeat after every import.

Can I split on more than one delimiter?

Yes — pass an array: =TEXTSPLIT(A2, {",", ";"}).

Why does TEXTSPLIT return #SPILL!?

The cells the result needs are not empty. Clear them and it spills.

Which Excel release does this formula require?

Function availability: TEXTSPLIT: Excel 2024+. These are Microsoft's version markers; earlier perpetual releases do not include these functions. Check the actual product and update channel before using the formula. A marker does not establish an identical Web/Mac workflow or Google Sheets support.