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
Arguments
| Argument | required / optional | Description |
|---|---|---|
text | required | The text to split. |
col_delimiter | required | The delimiter that splits across columns. May be an array of several. |
row_delimiter | optional | A delimiter that splits down rows as well. |
ignore_empty | optional | TRUE collapses consecutive delimiters instead of leaving blanks. |
Related functions
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.
Click a cell with enough empty space to the right for every part.
Type =TEXTSPLIT( and select the source cell, then the delimiter in quotes.
Add a row delimiter as a third argument if the text should also split downwards.
Press Enter; the pieces spill and stay live as the source changes.
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. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “use textsplit in excel”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the outcome you expected before you touch the real workbook. 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. The point is a text operation that turns messy entries into clean, usable data, but the practical win is that someone else can open the file and understand what happened without asking you.
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. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. For “use textsplit 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.