How to Split Cells in Excel (Text to Columns & More)

How-to basics · Updated November 23, 2026

To split cells in Excel means to divide the contents of one cell into two or more separate cells. The most common task is splitting a full name into first and last names, or splitting an address into separate columns. The fastest method is Text to Columns, which works for data separated by commas, spaces, tabs, or other delimiters. For more complex splits, you can use Flash Fill or formulas like TEXTSPLIT (Microsoft 365 only). This guide covers all the reliable ways to split cells, step by step.

What You’ll Need

  • Microsoft Excel (Microsoft 365, Excel 2021, 2019, 2016, or earlier – the core steps work in all versions).
  • The data you want to split, already in a single column.
  • An empty area to the right of your data (for the results) – or be prepared to overwrite the original data.
  • If you want to use TEXTSPLIT, you need Excel for Microsoft 365 or Excel 2024 (it is not available in older versions).

Step-by-Step

Method 1: Using Text to Columns (Delimited)

This is the most reliable method for splitting data that has a consistent separator, like a comma, space, or tab.

  1. Select the column that contains the data you want to split. For example, click on the letter at the top of column A to select the entire column, or select just the range that contains your data (e.g., A2:A10).
  2. Go to the Data tab on the ribbon.
  3. In the Data Tools group, click Text to Columns. This opens the Convert Text to Columns Wizard.
  4. In Step 1 of the wizard, choose Delimited (if your data is separated by commas, spaces, tabs, etc.) and click Next.
  5. In Step 2, check the box for the delimiter that matches your data. Common choices:
    • Tab – for data copied from a website or another program.
    • Comma – for CSV-style data.
    • Space – for splitting full names like “John Smith”.
    • If your data uses a custom delimiter (like a semicolon or a pipe symbol), check Other and type the character.

    You can also check Treat consecutive delimiters as one if you have extra spaces or multiple commas in a row. Look at the Data preview at the bottom to confirm the split looks correct. Click Next.

  6. In Step 3, you can set the data format for each new column. Usually General is fine. If you want the new columns to go somewhere other than the original column, click the Destination box and select the first cell of the target range (for example, $C$2). If you leave it as the original cell, Excel will overwrite the original data with the first part and place the rest in adjacent columns to the right. Click Finish.

Method 2: Using Flash Fill (For Quick, Pattern-Based Splits)

Flash Fill is great when your data doesn’t have a consistent delimiter but follows a pattern, like extracting the first name from a full name.

  1. Make sure you have a column to the right of your data (column B, for example).
  2. In the first cell of the new column (e.g., B2), type the part you want to extract from the first cell manually. For example, if A2 contains “John Smith”, type “John” in B2.
  3. Click the cell below (B3) and go to the Data tab.
  4. Click Flash Fill (or press Ctrl+E on Windows, Cmd+E on Mac). Excel will automatically fill the rest of the column based on the pattern you started.
  5. If Flash Fill doesn’t trigger automatically, you can also go to Home > Fill > Flash Fill.

Method 3: Using Formulas (For Dynamic Splits)

Formulas are useful when you need the split to update automatically if the original data changes. They also let you keep the original data intact.

Using TEXTSPLIT (Excel 365/2024 only):

Assume your data is in cell A2, with names separated by a comma and space: “John Smith, Jane Doe”. To split into separate cells horizontally, use:

=TEXTSPLIT(A2, ", ")

This returns two cells: “John Smith” and “Jane Doe”. If you want to split vertically (into rows), add a second argument for row delimiter: =TEXTSPLIT(A2, ", ", ", ") – but that’s not typical. For a simple split by comma, the formula above works.

Using LEFT, RIGHT, and FIND (works in all versions):

Assume cell A2 contains “John Smith” and you want first name in B2 and last name in C2.

  • In B2, enter: =LEFT(A2, FIND(" ", A2) - 1) – this finds the space and returns everything before it.
  • In C2, enter: =RIGHT(A2, LEN(A2) - FIND(" ", A2)) – this returns everything after the space.

For a comma-separated list like “Doe, John”, you can use similar formulas with a comma as the delimiter. For more complex splits, you might use MID and SEARCH together.

Method 4: Using Power Query (For Advanced or Repeated Splits)

  1. Select your data range and go to Data > From Table/Range (or From Sheet in newer versions). This opens Power Query.
  2. In the Power Query editor, select the column you want to split.
  3. Go to Home > Split Column > By Delimiter. Choose the delimiter (comma, space, custom, etc.) and choose whether to split into columns or rows.
  4. Click OK, then Close & Load to put the split data back into a new worksheet.

Common Mistakes

  • Not leaving enough empty columns: If you split a cell into three parts but only have one empty column to the right, Excel will overwrite data in the adjacent columns. Always ensure there are enough empty columns.
  • Choosing the wrong delimiter: If your data has multiple spaces or inconsistent separators, the split may not work as expected. Use the preview in Text to Columns to verify.
  • Using Text to Columns on a single cell instead of a column: If you only select one cell, Excel will only split that one cell, not the whole column.
  • Forgetting to adjust the destination: If you don’t set a destination, Excel overwrites the original column with the first part, which can be confusing if you wanted to keep the original.
  • Using TEXTSPLIT in an older version of Excel: The formula will return a #NAME? error if your version doesn’t support it.

Tips

  • Always make a backup copy of your workbook before splitting data, especially if you’re overwriting original cells.
  • Use the Data preview in Text to Columns to see exactly how your data will be split before you finish.
  • If you need to split data into rows (not columns), use Power Query’s Split Column > By Delimiter and choose “Rows” instead of “Columns”.
  • For splitting by fixed width (e.g., first 3 characters, then next 5), use Text to Columns and choose Fixed width instead of Delimited.
  • Flash Fill is great for cleaning up data, but it’s not dynamic – if the original data changes, the flash-filled results won’t update. Use formulas for dynamic results.
  • Keyboard shortcut for Text to Columns: Alt + A + E (Windows) – this opens the wizard quickly.

Troubleshooting

Problem: The split didn’t work – the data stayed in one cell.

Check that you selected the correct column and that the delimiter you chose actually appears in the data. Also, make sure you clicked Finish in the wizard. If you’re using Flash Fill and it didn’t trigger, type the expected result in the first two cells, then press Ctrl+E.

Problem: I get a #NAME? error when using TEXTSPLIT.

This means your Excel version doesn’t support TEXTSPLIT. Use Text to Columns instead, or use LEFT/RIGHT/FIND formulas.

Problem: The split overwrote data in adjacent columns.

This happens when there wasn’t enough empty space. Undo with Ctrl+Z, then either insert new columns or set a different destination in the Text to Columns wizard.

Problem: Some rows split correctly, but others don’t.

Your data may have inconsistent delimiters (e.g., some rows have a comma, others have a semicolon). Use Power Query to handle multiple delimiters, or clean the data first using Find & Replace.

Problem: Flash Fill doesn’t recognize the pattern.

Try giving it more examples – type the expected result for at least two or three rows, then press Ctrl+E. If it still fails, use Text to Columns or formulas.

Frequently Asked Questions

Can I split a cell into two rows instead of columns?

Yes. Use Power Query: load your data, select the column, go to Split Column > By Delimiter, and choose “Rows” in the split options. This will create new rows for each part.

How do I split a cell by line break (new line)?

In Text to Columns, check Other and press Ctrl+J (Windows) or Cmd+J (Mac) to insert a line break as the delimiter. The preview will show the split correctly.

What’s the difference between Text to Columns and Flash Fill?

Text to Columns splits based on a delimiter or fixed width and is static – the results don’t update if the original data changes. Flash Fill uses pattern recognition and also creates static results. For dynamic results that update automatically, use formulas like TEXTSPLIT or LEFT/RIGHT.

Can I split a cell with multiple delimiters, like commas and spaces?

Yes. In Text to Columns, you can check multiple delimiter boxes (e.g., comma and space) and also check “Treat consecutive delimiters as one” to handle messy data. In Power Query, you can use the “Custom” delimiter and specify a regular expression, but that’s more advanced.

Will splitting cells affect the rest of my spreadsheet?

Only if you overwrite existing data. To be safe, always insert new columns before splitting, or set the destination to a blank area. Formulas that reference the original cell may break if you overwrite it, so consider using formulas that reference the original cell instead of splitting in place.

How do I split a cell into multiple columns without losing the original?

Use Text to Columns and set the Destination to the first cell of a blank range (e.g., $C$2). Or use formulas that reference the original cell, leaving it untouched.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.