TEXTSPLIT Function in Excel

“textsplit function in excel” comes up constantly, so this page leads with the exact answer, gives you a tool to try it on your own numbers, and only then explains the detail. Everything works in Excel on Windows and Mac and maps almost one-to-one to Google Sheets. Copy the answer above and get back to work, or read on to turn a one-off fix into something you never have to look up again.

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.

Syntax

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

Arguments

ArgumentDescription
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
ƒxText to Columns SplitterLive
Columns found
3

3 rows

Ada LovelaceLondon1815
Grace HopperNew York1906
Alan TuringLondon1912
Runs entirely in your browser — your data never leaves this page.
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. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.

In Google Sheets

Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. If you take one thing from this page on “textsplit function in excel”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.

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.