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.
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
3 rows
| Ada Lovelace | London | 1815 |
| Grace Hopper | New York | 1906 |
| Alan Turing | London | 1912 |
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 tool above 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. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
In Google Sheets
Some functions on this page are newer additions to Excel: they are in current Microsoft 365 and Excel for the web, while older perpetual Excel versions return #NAME?. Google Sheets maintains its own function list, so confirm each function exists there before relying on the same formula. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. Here is the takeaway for “use textsplit in excel”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.
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.