How to split cells in Excel? 6 easy methods

Microsoft Excel is a great tool for working with data of all types, including text. You can import or paste data from just about anywhere in just about any format, which can lead to the need to split cell contents. For instance, you may have tables where an entire record – with field delimiters – is contained in a single cell. Perhaps you have cells with the full names of customers, but you need to split the first and last names. Regardless of the reason, Microsoft Excel has multiple solutions.

In this guide, you will learn six different methods of splitting cells in Microsoft Excel. First, you will learn how to use the text-to-columns wizard to specify exactly how you want the contents split. Second, you will learn to use the flash fill tool to split cell contents based on patterns. Third, you will learn how to use a built-in text function so the split cells will remain updated: TEXTSPLIT. Fourth, you will learn how to use Power Query to split cells and how to split them into rows instead of columns. Finally, you will also learn how to split merged cells.

Split cells using Text to Columns

If you need to split the text in a cell into several cells, you can use the text-to-columns tool. The wizard will guide you through the process, and you can specify whether the contents are separated by a specific delimiter or have a fixed width.

Follow the steps below to use the text-to-columns tool to split full names into first and last names.

1. Select the cells containing the full names. On the Data tab, click the ‘Text to columns’ button.

How to split cells in Excel — Text to Columns button on the Data tab with the full names selected

2. In this case, the names are separated by a space, so you should choose ‘Delimited’ and click ‘Next’.

Split cells in Excel — Convert Text to Columns wizard, step 1, with Delimited selected

3. Select the delimiter from those available or choose ‘Other’ and type it into the text box. Click ‘Next’ to specify the destination and data types. If you want to replace the existing cells, click ‘Finish’.

Split cells in Excel — wizard step 2 with Space checked as the delimiter

4. Select the destination cell and click ‘Finish’.

Split cells in Excel — wizard step 3 with the destination set to cell B2

5. The first and last names are now in separate cells.

Split cells in Excel — full names split into first and last names in columns B and C

Split cells using Flash Fill

If you need to split the contents of a cell, you can use the Flash Fill tool. In fact, you can also use it to extract part of the contents. For simple patterns, providing a single sample cell is enough for Microsoft Excel to recognize the pattern, while more complex patterns may need two or three.

1. Open the spreadsheet containing the cells you want to split. In the column to the right, reproduce the contents of the corresponding cell to the left up to the point where you want to split.

Split cells in Excel with Flash Fill — first name typed as a sample next to the full name

2. Grab the fill handle and drag it down to the last cell. Click the button in the bottom right corner and select ‘Flash fill’.

Split cells in Excel with Flash Fill — Auto Fill options menu with Flash Fill highlighted

3. As you can see, Excel has interpreted the pattern correctly. Repeat steps 1 and 2 for the last name.

Split cells in Excel with Flash Fill — first and last names filled in from the pattern

Split cells using TEXTSPLIT

In the examples below, you will learn how to use the TEXTSPLIT function to split the contents of a cell. One of the benefits of using formulas is that the split cells will update when the original data changes.

Follow the steps below to split a full address delimited by commas into separate cells.

1. Type the TEXTSPLIT function into an empty cell.

Split cells in Excel with TEXTSPLIT — formula started next to a column of full addresses

2. Click the cell that contains the text you want to split, then type a comma.

3. Type the delimiter between quotation marks. In this case, the text is delimited by commas.

Split cells in Excel with TEXTSPLIT — cell A2 and a comma delimiter entered in the formula

4. Close the parenthesis and press ‘Enter’. Drag the fill handle to copy the formula to the last row.

Split cells in Excel with TEXTSPLIT — addresses split into street, city, state, and country columns

Split cells into columns or rows using Power Query

Power Query is a very versatile tool that can be used to manipulate data in any way you want. This includes splitting the contents of cells into separate columns or even separate rows. Follow the steps below to split cell contents using Power Query.

1. Select the cells you want to split and go to the Data tab to access Power Query. If you’re using a Mac, copy the table and launch Power Query, as shown below.

Split cells in Excel with Power Query — Get Data menu with Launch Power Query Editor

2. Click ‘Enter data’.

Split cells in Excel with Power Query — Enter data button in the Power Query Editor

3. Paste the table contents using the Cmd + V shortcut. Click ‘OK’ to move to the next window.

Split cells in Excel with Power Query — Create table dialog with the Paste option

4. Click ‘Transform’, then ‘Split column’ to see the options. In this case, the text is separated by delimiters.

Split cells in Excel with Power Query — Transform tab with Split column by delimiter

5. If you want to split the contents to separate columns, select the separator and click ‘OK’.

Split cells in Excel with Power Query — Split column dialog with Comma as the separator

6. To split the contents into separate rows, select ‘Advanced’ and under ‘Split into’, select ‘Rows’. Click ‘OK’ to apply.

Split cells in Excel with Power Query — advanced options with the Split into Rows setting

7. In this case, the text has been split into columns, which you can rename by double-clicking on the headers.

Split cells in Excel with Power Query — split columns renamed, with the Close & load button

8. Finally, click ‘Close & load’ to send the new table back to Excel.

Split cells in Excel with Power Query — split table loaded back into the worksheet

Split cell contents to rows using functions

Using Power Query is not the only way to split cell contents into rows; you can combine TRANSPOSE and TEXTSPLIT to achieve the same result.

1. Wrap the TRANSPOSE function around the TEXTSPLIT function, as shown below.

Split cells into rows in Excel — TRANSPOSE wrapped around TEXTSPLIT in the formula bar

2. Press ‘Enter’ to see the results. However, you won’t be able to drag the formula as usual since the results of the formula need to spill over 4 cells.

Split cells into rows in Excel — one address split down four rows

Split merged cells

To split merged cells, select them and click the toolbar button with the merge options. Select ‘Unmerge cells’.

Split merged cells in Excel — Merge & Centre menu with Unmerge Cells highlighted

The merged cell has been split, and the contents transferred to the cell on the left.

Split merged cells in Excel — header unmerged, with the text kept in the first cell

Conclusion

You have a lot of options when it comes to splitting cells in Microsoft Excel. You now know how to split cell contents using the text-to-columns tool, where you can specify the delimiters in the original text and specify the data types in the new split cells. You also know how to use the flash fill tool to split cell contents based on a pattern. If you need to keep the split cells linked so that they are updated with changes, you know how to use built-in functions.

Depending on your version of Microsoft Excel, you can use the TEXTSPLIT function directly or combine other text functions, such as SEARCH, LEN, RIGHT, and LEFT. However, Power Query offers the most flexibility when it comes to splitting cells, as well as keeping the data connected. Finally, you also know how to split cell contents into rows instead of columns and how to split merged cells.

To learn more about working with cells in Microsoft Excel or Google Sheets, take a look at the articles below.

You may also like…

Combine multiple Excel columns into one — spreadsheet grid icon with highlighted rows

How to combine multiple Excel columns into one?

There are many ways to combine multiple columns into a single column in Excel. Here’s how to do it without losing any data.

How to share Excel file for multiple users — Excel icon with a paper plane next to a group of people

How to share an Excel file for multiple users?

Learn how to share Excel file for multiple users with OneDrive, protect a shared workbook, and choose who can edit it in Microsoft 365.

How to remove read only from Excel — Excel logo next to a crossed-out pencil

How to remove read only from Excel?

If you received an Excel file you’d like to edit but it’s read-only, there are ways to work around it. Here’s how to remove read-only in Excel.