The easiest way to split text in an Excel cell is to select it, then choose Data > Text to Columns and follow the wizard to separate the contents by a delimiter such as a comma or space. In Microsoft 365, you can also use the TEXTSPLIT function when you want the result to update automatically as the source text changes.
What “splitting a cell” means in Excel
Excel does not divide one worksheet cell into two smaller cells the way a table in a word processor can. A cell is the basic unit at the intersection of a row and a column. When people ask how to split a cell, they usually mean separating the text inside it and putting the pieces into neighboring cells. For example, “Maya Chen” in A2 might become “Maya” in A2 and “Chen” in B2, or a comma-separated address might be spread across several columns.
The distinction matters because the methods below move or return pieces of the cell’s contents; they do not create multiple cells inside the original grid position. If you need more visible space in a layout, you can merge adjacent cells, adjust row height or column width, or add rows and columns, but those actions do not split one cell into independently editable sections.
Before separating data, consider what the result should look like. A one-time cleanup of a pasted list calls for a different tool than a formula-driven report that must refresh when its source changes. Also check whether the separator is consistent: names may use spaces, while records often use commas, tabs, pipes, or semicolons.
Use Text to Columns for a quick one-time split
Text to Columns is Excel’s built-in option for splitting existing values into adjacent columns. It is useful for cleaning imported or pasted data, and it works without writing a formula. On Excel for Microsoft 365 for Windows, use these steps:
- Select the cells containing the text. For a list, select the whole source column or the specific range, not just one example cell.
- Choose Data > Text to Columns.
- Select Delimited if a character separates the pieces. Choose Fixed width if the values line up at consistent character positions, then select Next.
- For Delimited, select the relevant separator, such as Tab, Comma, Space, or Other. If needed, enter a custom character in the Other box. The preview shows how Excel plans to divide the values.
- Choose a destination if you do not want the results to overwrite the source cells. For example, set the destination to B2 to place the output starting there, then select Finish.
Suppose A2 contains Chen, Maya, Seattle. Selecting Comma separates the text into three columns. If a delimiter appears more than once in a row, the option to treat consecutive delimiters as one can prevent unwanted empty columns. That can help with repeated spaces, but it may not be appropriate when empty fields carry meaning.
The wizard also offers a text qualifier, commonly a quotation mark, for data where separators appear inside quoted text. This is useful with properly formatted imported data: a comma inside a quoted address should not necessarily count as a field boundary. Check the preview rather than assuming every comma or space should split the text.
Split text automatically with TEXTSPLIT
For a split that recalculates when the source value changes, use TEXTSPLIT. It is available in Microsoft 365 and Excel 2024. The result is a dynamic array: Excel places the pieces in neighboring cells automatically, provided those cells are clear.
With the text Maya Chen | Sales | Seattle in A2, enter this in B2 to split at the exact separator, including the spaces around the vertical bar:
=TEXTSPLIT(A2, " | ")
Excel returns Maya Chen, Sales, and Seattle across B2:D2. The source in A2 remains unchanged. If you edit A2, the formula’s results update. To split on a single comma instead, with the source text in A2, use =TEXTSPLIT(A2, ","). Any spaces immediately after the comma remain part of the next piece, so a value such as Chen, Maya may show a leading space before Maya. You can choose a more exact delimiter or clean the resulting text separately.
TEXTSPLIT also accepts a row delimiter when you want results vertically. For instance, with a semicolon-separated list in A2, this formula places each item in a separate row beginning at B2:
=TEXTSPLIT(A2, , ";")
Here the second argument is left blank because there is no column delimiter, and the third argument specifies the row delimiter. If the formula returns a spill error, inspect the cells where the results need to appear; even one occupied cell can block the output. Excel for Mac and Excel for the web use the same function syntax when TEXTSPLIT is available, though ribbon layouts and feature availability can vary.
Choose the method that fits the job
Use Text to Columns when you are making a one-time change to a selected range. It is straightforward, offers a preview, and can split many rows at once. Its main trade-off is that it writes results into the worksheet, so you need to plan where those results will go and keep a copy of the original if you might need it.
Use TEXTSPLIT when you want a formula result that responds to changes in the source. It is convenient for ongoing lists and repeatable reports, but it requires a supported Excel version and empty cells for its output. For a single cell or a small range, either method may be easy; for a worksheet that gets refreshed regularly, a formula is often easier to maintain.
Another built-in option is Flash Fill. If you type a few examples of the desired pieces in a neighboring column, Excel may recognize the pattern and fill the rest. On Windows, select Data > Flash Fill, or use Ctrl+E. Flash Fill is useful for patterns that are hard to describe with one delimiter, but it creates values rather than a live formula. Review the results, especially when names or formats are inconsistent.
Prevent common splitting problems
- Results overwrite nearby data: Text to Columns writes into adjacent cells unless you specify another destination. Check the preview and the cells to the right before selecting Finish. If those cells contain anything important, move the results to a clear area first.
- Names split at the wrong place: Splitting on every space can separate a first name and surname, but it can also break middle names, compound surnames, or titles into extra pieces. If each record has a reliable separator, such as a comma between surname and given name, use that instead. Otherwise, inspect the data and consider whether a simple split is suitable.
- Empty pieces appear: Repeated delimiters or a delimiter at the beginning or end can produce blank results. In Text to Columns, check the consecutive-delimiters option when it fits the data. In TEXTSPLIT, the optional ignore-empty argument can help; read the function’s argument order carefully before adding optional settings.
- Leading zeros disappear: A piece such as a ZIP code or product ID may be interpreted as a number, causing zeros at the start to vanish. In the Text to Columns wizard, set the affected column’s data format to Text before finishing. If using a formula, remember that the result may be interpreted according to Excel’s normal value handling; apply a suitable text format or preserve the value as text where required.
- Dates change unexpectedly: Text that resembles a date may be converted using Excel’s regional date settings. In the wizard, select the affected output column and choose Text if you need to retain its literal characters rather than convert it to a date value. Check the results before using them in calculations.
- TEXTSPLIT shows a spill error: Clear any values, merged cells, or other obstructions in the intended output range. A dynamic array cannot place its full result if cells in its spill area are occupied.
If you make an unwanted Text to Columns change, use Undo immediately with Ctrl+Z on Windows. On Mac, use Command+Z. Undo is not a substitute for planning: save a copy or work on a duplicate column when the source data is important.
Keep the original data and manage the results
Before a large split, duplicate the source column or copy the worksheet. This is especially helpful when the separator is inconsistent or the data contains leading zeros, dates, or quoted fields. After splitting, compare a few rows from the top, middle, and bottom against the original. Look for extra columns, missing pieces, and records that did not follow the common pattern.
With Text to Columns, the output is ordinary cell content. You can copy and paste it elsewhere, sort it, or edit individual pieces. With TEXTSPLIT, the output is linked to the formula and spills into adjacent cells. If you need to turn those results into fixed values, copy the spill range and use Paste Special > Values. Keep the formula or source data if you may need to regenerate the split later.
Excel for Mac has a Text to Columns command on the Data tab, though the wizard’s appearance can differ from Windows. In Excel for the web, use TEXTSPLIT where the function is available; ribbon options may vary with the version and account. The important safety steps are the same: check the delimiter, ensure the output area is clear, and verify how Excel interprets the resulting values.
Frequently Asked Questions
Can I split one Excel cell into two actual cells?
Not inside the same grid position. You can separate its contents into neighboring cells with Text to Columns, TEXTSPLIT, or Flash Fill, but Excel does not divide a single cell into smaller independently editable cells.
How do I split a cell by a comma?
Select the relevant cells and choose Data > Text to Columns, then select Delimited and Comma. In Microsoft 365 or Excel 2024, you can instead use TEXTSPLIT with a comma delimiter, such as =TEXTSPLIT(A2, ","), assuming the source text is in A2.
How do I split a full name into first and last names?
If every name has exactly one space and two parts, split on a space using Text to Columns or TEXTSPLIT. If names may contain middle names, multiple spaces, or compound surnames, a simple space split may produce incorrect pieces; check the results or use a consistent separator in the source data.
Does Text to Columns change the original cell?
It writes the split pieces into the worksheet, starting at the selected range or the destination you specify. If the output overlaps existing data, those values can be overwritten. Choose an empty destination or save a copy before you finish.
Why is TEXTSPLIT not working in my Excel?
TEXTSPLIT requires Microsoft 365 or Excel 2024. In an older version, use Data > Text to Columns for a one-time split, or check whether Flash Fill can recognize the pattern. In supported versions, also confirm the formula’s delimiter matches the text and that the spill range is unobstructed.
Related
- Examples of Ratings in Excel: Scores, Stars, and Rules
- Can Excel Read Outlook Emails, Contacts, and Calendar?
- Power Query Overflow Errors: Causes and Fixes
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Count Excel Without Blanks: COUNTA and Other MethodsTo count cells that are not blank in Excel, use =COUNTA(A2:A20), replacing A2:A20 with your range. COUNTA counts…
- Excel Shortcut to Insert Cells and Shift Them DownIn Excel for Microsoft 365 on Windows, select the cell or range, press Ctrl+Shift+Plus (+)—usually Ctrl+Shift+= on a…
- Excel Cell Character Limit: What 32,767 Really MeansAn Excel cell can contain up to 32,767 characters. That is the maximum stored in one cell in…
- How to Keep Date Format in ExcelTo keep dates consistent in Excel, select the cells or column, open Format Cells, choose a date format,…
- Google Sheets IMPORTRANGE: Setup, Uses, and Common FixesGoogle Sheets’ IMPORTRANGE function brings a cell range from one spreadsheet into another and keeps the imported results…
- Google Sheets Duplicate Rows: Find and Remove ThemYes. In Google Sheets, select the data range and choose Data > Data cleanup > Remove duplicates to…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.