Excel gives you seven ways to divide one cell's contents across multiple columns, but only two of them keep the original data intact. Text to Columns handles a full selection with a delimiter or fixed width you specify exactly. Flash Fill copies a pattern you demonstrate in the next column, then predicts the rest. Formulas use LEFT, RIGHT, MID, TEXTBEFORE, and TEXTAFTER and update automatically when the source changes. Power Query splits on every delimiter by position and remembers the steps on refresh. The Split tool inside the ribbon's Data tab covers several odd cases the others cannot. Manual retyping works for five cells, not five hundred.
The word "split" carries two meanings inside one workbook, and the confusion costs people real data. You can split the contents of one cell into several cells, which is what this article covers. You can also split a merged cell back into its original grid, which is a formatting operation with a different menu path. The second case is the one Excel labels with the Merge Cells button, and it discards data without warning. Keep those two operations separate in your head and the steps below will land where you expect.
What the Ribbon's Split Commands Do and Where to Find Them
Excel's Data tab carries a command group called Data Tools. The button labelled Text to Columns opens the Convert Text to Columns Wizard in three steps: choose delimited or fixed width, set the delimiter or width markers, then pick a destination and a column format for each output field. That is the only ribbon route to true cell-content splitting, and it overwrites the cells to the right of your selection by default.
Two other buttons get confused with it. Flash Fill sits under Data > Flash Fill and fills down a pattern from a single typed example. Split Text to Columns appears under Data > Get & Transform Data for selected table columns, but it launches Power Query's split routine against the whole loaded table rather than the selection. And the Split button inside the Home tab under Merge & Center splits a merged cell back into individual cells, which has nothing to do with content.
Microsoft's Excel help documentation describes the Convert Text to Columns Wizard as the recommended route for one-off splits and Power Query as the route for repeats. The wizard has been unchanged in layout since Excel 2003, so old tutorials still match the screens you see in Microsoft 365. If your Excel shows a "Data" tab missing entirely, the workbook is in Excel for the web, which doesn't expose Text to Columns in the standard interface.
How to Split One Cell Across Columns With Text to Columns
Use this method for a one-time split of a contiguous column where the pieces follow a clear delimiter. It processes every row in the selection at once and needs no formulas. Back up the sheet first, because the output overwrites adjacent cells.
1: Click the column header of the cells you want to split. If the text spills over several columns, select the whole block, not just the first column. 2: Go to Data > Text to Columns. The Convert Text to Columns Wizard opens on step 1. 3: Choose Delimited if the pieces are separated by a character such as a comma, semicolon, pipe, or space. Choose Fixed Width if each piece occupies the same character positions on every row. 4: Click Next. In step 2 for delimited, tick the delimiter boxes you see. Use the Other box and type a character if the list doesn't include yours. 5: Click Next. In step 3, set each output column's format. Set the destination cell in the Destination box, which defaults to the original column's top-left cell. 6: Click Finish. Excel overwrites the cells to the right and, if column formats suggest a date, may convert your text into Excel dates.
Here are the failure cases worth knowing before you click Finish. A cell containing commas inside quotation marks, such as an address with a street name and an apartment, gets cut at the wrong comma unless you accept Excel's text qualifier field. Leading zeros get stripped if you leave a column in General format, so set that output column to Text before clicking Finish. And when the original column sits beside populated data, the default destination wipes those cells silently.
Excel does not offer a warning dialog before the destination overwrite. Recovery runs through Ctrl+Z or reopening an unsaved-previously version from File > Info > Version History, which requires the workbook to be in OneDrive. For anything with dozens of rows, work on a duplicate sheet first — this is a two-second touch on the tab bar and it saves an hour of rebuilding.
How to Split the First and Last Name Without a Delimiter that Fits
Names break the comma-based split because there is no consistent separator. "Anne Marie Smith" has two spaces, "Smith, Anne Marie" has a comma and one space, and "Anne-Marie Smith" has a hyphen and a space. Text to Columns with a space delimiter gives you three fields on the first row and two on the second, misaligning every output column after that row. Formula approaches handle this better because they can target the last space rather than the first.
For a first name and a last name where the middle name is always present, three formulas in three helper columns cover most cases. Put the full name in A2, then use =LEFT(A2,FIND(" ",A2)-1) for the first word, =TEXTBEFORE(A2," ",2,1) for the middle word if it exists, and =TEXTAFTER(A2," ",2,0) for everything after the first space. TEXTBEFORE and TEXTAFTER arrived in Microsoft 365 in the latter half of 2022 and need no nesting. Older Excel versions don't recognise them and fall back to error #NAME?.
For real name data with unpredictable formats, Power Query's Split Column > By Delimiter dialog offers a "Right-most" position option that takes everything after the final instance of a character. That single setting solves the "Smith, Anne Marie" case in one step without formulas. If you cannot tolerate a formula column and don't want to learn Query, the flat rule is this: split at the last space, not the first, whenever middle names or double-barrelled surnames are in play.
Use Flash Fill When the Pattern Is Visible in Your Own Example
Flash Fill reads the first few examples you type in a new column and fills down the rest of the selection without requiring you to describe the rule. It is the fastest tool for splitting a compound cell when the split does not map to a single delimiter.
Type the desired first output into the first cell beside your source data. Press Ctrl+E, or go to Data > Flash Fill. Excel predicts the pattern and fills the remaining rows. Change one predicted value and Flash Fill re-predicts for that row only. If the pattern is ambiguous, add a second example in row two, then press Ctrl+E again.
The method goes wrong in four predictable ways. It needs enough rows to detect the pattern, so ten rows of data often produce worse predictions than a thousand rows do. It matches a full range that spills or shrinks, but the range itself does not update when new rows are added below — so re-run Ctrl+E after pasted additions. Hidden rows cause Flash Fill to skip the hidden values and produce a mismatched column. And it runs on the workbook's data behind a view you don't see unless you scroll, so always eyeball the bottom third of the resulting range before trusting it.
According to Microsoft's support documentation, Flash Fill is turned off by default in Excel 2013 and earlier versions and must be enabled under File > Options > Advanced > Automatically Flash Fill. In Microsoft 365 and Excel 2021, it's on by default. If Ctrl+E does nothing on a fresh installation, that Advanced checkbox is your first stop.
The Formula Methods: TEXTBEFORE, TEXTAFTER, and Their Older Cousins
Formula splitting keeps the source cell untouched and updates automatically when the source changes, which powers downstream reports and dashboards without re-running a wizard. The trade-off is that the destination cells still occupy columns you did not plan.
TEXTBEFORE(text, delimiter, instance_num, match_mode) takes text up to the Nth instance of a delimiter. TEXTAFTER(text, delimiter, instance_num, match_mode) returns everything after. For a string "Smith|Anne|QA Lead" in A2, =TEXTBEFORE(A2,"|") returns "Smith", =TEXTAFTER(A2,"|",1) returns "Anne|QA Lead", and =TEXTBEFORE(TEXTAFTER(A2,"|",1),"|") returns "Anne". Both functions accept a match_mode of 0 for case-sensitive or 1 for case-insensitive matching; the default is case-sensitive.
For Excel 2019 and earlier, the equivalent formulas are longer but well-documented. First part: =LEFT(A2,FIND("|",A2)-1). Middle part: =MID(A2,FIND("|",A2)+1,FIND("|",A2,FIND("|",A2)+1)-FIND("|",A2)-1). Last part: =RIGHT(A2,LEN(A2)-FIND("|",A2,FIND("|",A2)+1)). The nesting gets ugly at three or more fields, and errors appear whenever a row contains fewer delimiters than expected.
Microsoft documents TEXTBEFORE and TEXTAFTER as part of the text function set available to Microsoft 365 subscribers and to Excel 2024 and Excel 2021 with the latest updates. Formula splitting breaks whenever the source contains more delimiters than the formula anticipates — a cell like "Smith, Anne, QA Lead, London" with three commas into a two-delimiter formula drops the trailing city without an error. Wrap the whole formula in IFERROR(...,"") to catch rows where the delimiter count doesn't match.
Power Query Splits on Every Delimiter and Remembers the Rule
Power Query is Excel's built-in ETL tool and lives under Data > Get & Transform Data. It offers Split Column > By Delimiter and Split Column > By Number of Characters, plus a fourth choice — By Digit to Non-Digit and vice versa — that no formula offers in one step.
Load your data from the current sheet via Data > Get & Transform Data > From Table/Range. Once Power Query's editor opens, right-click the column header and choose Split Column > By Delimiter. Pick from the drop-down: a fixed-list delimiter such as comma or space, a custom character, or a special string such as a carriage return. Choose how many splits to perform — every occurrence, the right-most, the left-most, or one specific count. Each option produces new columns, not overwrites.
The reason to prefer Power Query over Text to Columns is the Applied Steps pane on the right. Every split you define gets recorded as a step, so on the next monthly file you change the source and click Refresh. The split re-runs without dialogue boxes. Power Query writes the query as M code, and the split step appears in that code as Table.SplitColumn, which survives file substitutions without user input.
Power Query's limit is the case where the delimiter appears a variable number of times on different rows. Split by every delimiter throws an error if you then try to type-retain columns with empty placeholders — one row produces four fields and another produces five, and the extra field ends up misaligned. Use Split Column > By Delimiter > Right-most for the "everything after the final delimiter" case, and check the query's step-by-step output before clicking Close & Load.
The Merge Rule That Swallows Your Data Without a Split
Excel's Merge Cells button creates one large cell spanning several columns or rows, and unmerging it later returns only the top-left cell's content. Every other cell in the merged block stays empty. Excel's support documentation states this exception openly in a paragraph most readers skip: "If you merge cells and later decide to unmerge them, only the top-left cell's data is retained." That sentence is the single most important line in the feature.
The workaround is to fill the merged values down first. Select the merged range, copy it, then paste-merge into a scratch column that isn't merged. Now you have one value per row instead of one value spanning many. Unmerge the original block. Paste the scratch column back into the first column of the range. Now unmerge the row is safe because each row already carries its own copy of the merged value.
Excel does show one shared cell reference in the formula bar when you select a merged cell, and downstream formulas that reference any of the merged cells in the block resolve to that same top-left reference. This is why lookups against merged ranges fail, and why CSV exports break — the CSV writer emits only the top-left value plus empty commas for the rest of the block. Merge is a formatting shortcut for headings, never for data.
Splitting Merged Cells Back into Individual Grid Cells
The Split button at Home > Merge & Center opens a dropdown with "Unmerge Cells" as the bottom menu item. Select the merged block, click Split, and Excel restores the original row-and-column boundaries. Only the top-left cell contains a value; the rest become empty, as noted above. The Merge & Center button itself is a toggle on some Excel builds, but not on all, so use the dropdown to avoid accidentally re-merging.
Unmerging a block that spanned two columns doesn't try to divide the content between the two cells. Excel placed the value in the top-left cell when the merge was made and no rule exists to slice text based on the merged shape. To distribute column B across A and B, follow the unmerge with a Text to Columns split against the row that holds the surviving value.
Two adjacent failure scenarios are worth memorising. If your data came into Excel as a merged range that was actually a header span, wrapping the table from Home > Format as Table converts the range into a structured table and rejects merged cells — you'll be prompted to unmerge or cancel. On Excel for the web, Merge & Center is available but the undo history after unmerging is shorter, so save a version before you unmerge a large block.
Decide Which Method Fits by Data Volume, Recurrence, and Delimiter Count
Method fit depends on how often the same split runs, how many distinct delimiters appear, and whether the destination needs to update automatically after source edits. Choose one method per project; combining two destroys the audit trail.
| Method | Best for | Delimiter flexibility | Updates automatically | Overwrites neighbouring cells |
|---|---|---|---|---|
| Text to Columns | One-time domestic split with a clear delimiter | Delimited, fixed width, other character | No | Yes, by default |
| Flash Fill | Visible pattern in first example row | Not stated by user; inferred from example | No — re-run when rows added | No |
| TEXTBEFORE / TEXTAFTER | Recurring split with stable delimiter | Any delimiter and instance number | Yes | No |
| Power Query | Monthly file that must refresh | Any delimiter, any position, per-column | Yes — on Refresh | No |
| Split (unmerge) | Restoring grid from a merged block | N/A — cannot split content | No | No |
The verdict splits on what happens next month. If the workbook is a one-off and the delimiter is a comma, run Text to Columns, but do it on a copy of the sheet. If the workbook is refreshed monthly and needs to stay alive across files, spend the half hour building a Power Query. Formulas win if a downstream pivot table must reflect source edits without a Refresh; Query wins if the source format itself changes shipment to shipment.
There's one cost computation worth doing before picking formulas. Every split formula needs a helper column. If you split four fields, you re-spend four extra columns and possibly drag a workbook past Excel's 16,384-column per-sheet limit in a wide report. On a 300-column reporting sheet, four helpers is 1.3% of the column budget — trivial. On a 12,000-column planning workbook, four helpers is not the problem; learning Power Query is.
FAQ
Does splitting cells in Excel delete the original value?
Not if the method you choose protects the source. Text to Columns overwrites the original column unless you set a new Destination cell in step 3. Flash Fill, TEXTBEFORE, TEXTAFTER, and Power Query all leave the source column untouched. Merge-then-unmerge is the only one that permanently loses data, and only for the merged block.
How much of Excel's 1,048,576-row limit does a Power Query split consume?
None at refresh — Power Query's underlying data stays inside the query and doesn't consume rows until it loads to a sheet. Load to the Data Model for the cleanest handling of monthly files larger than 500,000 rows.
Why does my Text to Columns split put the wrong data in the wrong column?
Two usual causes. The destination cell in step 3 wasn't changed from the default, so the output started inside an existing data block and pushed adjacent columns out of position. Or the ISO 8601 date format that got misread in step 3 turned "2026-11-12" into "11/12/2026" because the leading-digit format was left on General. Set the column format to Text before Finish.
Can I split a cell into rows instead of columns?
Yes, through Power Query. Right-click the column header and choose Split Column > By Delimiter > Rows, not Columns. Excel's Text to Columns wizard has no row-split option; the Query route fills to a flat table with more rows.
Does the Split button at Home > Merge & Center also cut a name into first and last?
No. Split is the unmerge command only. It restores borders and leaves the top-left value alone. The naming overlap is a menu quirk — two different operations share the word "split."
How do Flash Fill and Text to Columns compare on a 10,000-row file?
Flash Fill processes in under a second on Microsoft 365 because it runs in memory and only writes results. Text to Columns also processes the whole range at once. The difference is editability: Text to Columns finalises its output, whereas Flash Fill can be re-run with Ctrl+E each time the pattern should be recalculated. For a static file, both finish quickly; the difference shows up when the workbook refreshes daily.
What is the difference between Split and Text to Columns when the delimiter is a semicolon?
Text to Columns handles a semicolon through the Other box on step 2, and it converts the whole selected column in one wizard run. Split handles only merged-cell formatting. Semicolon delimited files are common exports from European-locale CSV writers, where the comma is a decimal separator and the semicolon is the field separator — Text to Columns is the correct tool for that case.
Will TEXTBEFORE work if I share the file with a colleague on Excel 2016?
No. The function returns #NAME? on any build before Microsoft 365, Excel 2021, or Excel 2024. Share the file as values (Paste Special > Values) or rebuild the split with LEFT/MID/RIGHT and FIND so older versions can read it. Microsoft's own compatibility checker flags these text functions under File > Info > Check for Issues.
How do I avoid splitting the merged header row when I run Text to Columns?
Select only the data column itself and set a Destination cell in an empty column. Text to Columns will not blanket the sheet; it acts on the selection plus the destination box you specify. If a merged header sits above your data, click the data column header, not the row.
Does merging count as a "split cell" in Microsoft's documentation?
No. Microsoft's Excel help calls merge "combining two or more cells into one" and split "dividing the contents of one cell into two or more." The buttons share vocabulary but not purpose. Reading the support article once settles the terminology question in under five minutes.