How to Split One Row into Two in Excel
In this article
Splitting one row into two in Excel lets you divide cell content across multiple rows while keeping your data organized. This is useful for separating combined entries, like names and addresses, or splitting long text into manageable chunks. You can do this manually or with built-in tools like Text to Columns or Flash Fill.
What You'll Need
- A Microsoft Excel spreadsheet (works on Windows, Mac, or Excel Online).
- Data in a single row that you want to split into two or more rows.
Step-by-Step
Method 1: Using Text to Columns (Best for Delimited Data)
- Select the cell or row containing the data you want to split. If splitting a single cell, click it. If splitting an entire row, click the row number to highlight it.
- Go to the Data tab in the ribbon.
- Click Text to Columns. A dialog box will appear.
- In the Convert Text to Columns Wizard, choose Delimited if your data is separated by commas, tabs, or other characters. Choose Fixed width if your data has consistent spacing (e.g., every 10 characters). Click Next.
- Under Delimiters, check the box for the character separating your data (e.g., Comma, Tab, or Space). If using Fixed width, click in the preview to set break lines where you want the split. Click Next.
- In the Data Preview section, click the column where you want the split data to appear. By default, it will overwrite the original cell. To avoid this, select a different destination (e.g., an empty column to the right). Click Finish.
- Your data will now be split into separate columns. To move it into separate rows, copy the split cells, right-click the destination row, and select Insert Copied Cells (or paste and then transpose).
Method 2: Using Flash Fill (Best for Patterns)
- Type the first part of your split data into the cell below the original row (e.g., if splitting "John Doe, 123 Main St" into two rows, type "John Doe" in the cell below).
- Type the second part (e.g., "123 Main St") into the next cell below.
- Select both cells you just typed (the two split parts).
- Go to the Data tab and click Flash Fill (or press Ctrl + E on Windows, Cmd + E on Mac). Excel will automatically fill the remaining cells with the split data.
- Copy the split data, then right-click the row where you want it and select Insert Copied Cells to place it into new rows.
Method 3: Manual Split with Formulas
- Insert a new row below the row you want to split. Right-click the row number and select Insert.
- In the first cell of the new row, use a formula to extract part of the original cell. For example, to split "First Last" into "First" and "Last":
- In the new row, first cell:
=LEFT(A1, FIND(" ", A1)-1)(extracts text before the space). - In the next cell:
=RIGHT(A1, LEN(A1)-FIND(" ", A1))(extracts text after the space).
- In the new row, first cell:
- Copy the formula down for all cells you want to split. Then, copy the results and use Paste Special > Values to replace the formulas with static text.
- Delete the original row if no longer needed.
Method 4: Using Power Query (Best for Large Datasets)
- Select your data range, including headers if applicable.
- Go to the Data tab and click Get & Transform Data > From Table/Range. If prompted, ensure My table has headers is checked and click OK.
- In the Power Query Editor, select the column you want to split.
- Go to the Transform tab and click Split Column. Choose By Delimiter or By Number of Characters based on your data.
- Configure the split options (e.g., delimiter type, number of characters) and click OK.
- Click Close & Load to return the split data to a new worksheet. You can then copy and paste it into separate rows as needed.
Common Mistakes
- Overwriting data: Using Text to Columns without specifying a destination can overwrite adjacent cells. Always select an empty column for the output.
- Incorrect delimiters: Choosing the wrong delimiter (e.g., comma instead of tab) will split data incorrectly. Check your data first.
- Ignoring leading/trailing spaces: Extra spaces can cause splits to fail. Use TRIM to clean data before splitting.
- Not transposing: Splitting into columns instead of rows is common. Use Paste Special > Transpose to switch columns to rows.
- Forgetting to copy as values: Formulas will update if the original data changes. Always paste as values after splitting.
Tips
- Use a helper column: If splitting complex data, create a helper column to extract parts of the text before splitting (e.g., using
LEFT,RIGHT, orMID). - Check for consistency: Ensure all data in the row follows the same format (e.g., all entries use commas as delimiters). Inconsistent data may not split correctly.
- Undo mistakes: Press Ctrl + Z (Windows) or Cmd + Z (Mac) to undo a split if it goes wrong.
- Save a backup: Before splitting large datasets, save a copy of your workbook in case you need to revert.
- Use Find and Replace: If your data has inconsistent delimiters (e.g., some use commas, others use semicolons), use Find and Replace to standardize them first.
Troubleshooting
- Data doesn't split: Ensure the delimiter you selected matches the one in your data. If using Fixed width, check that the break lines are correctly placed in the preview.
- Too many columns created: This happens if your data contains extra delimiters. Clean the data first or use a different delimiter.
- Flash Fill doesn't work: Ensure you’ve typed at least two examples of the split data for Excel to recognize the pattern. If it fails, try Text to Columns instead.
- Formulas return errors: Check for typos in the formula (e.g., mismatched parentheses) or ensure the cell reference is correct. Use Evaluate Formula (under the Formulas tab) to debug.
- Power Query not available: If you don’t see Get & Transform Data, ensure you’re using Excel 2016 or later. In older versions, use Data > From Table/Range.
- Data is truncated: If splitting by character count, ensure the number of characters doesn’t exceed the cell’s width. Adjust the split or widen the column.
Frequently Asked Questions
Can I split a row into two without using formulas?
Yes. Use Text to Columns or Flash Fill for simple splits, or manually copy and paste parts of the row into new rows.
How do I split a row into multiple rows in Excel?
Use Text to Columns to split into columns first, then copy the results and use Paste Special > Transpose to convert columns into rows.
Why does Text to Columns overwrite my data?
By default, Text to Columns replaces the original data. To avoid this, specify a destination column (e.g., an empty column to the right) in the final step of the wizard.
Can I split a row based on line breaks?
Yes. If your data contains line breaks (e.g., Alt+Enter), use Text to Columns and select Other as the delimiter, then enter a line break (Ctrl+J in the delimiter field) as the separator.
How do I split a row into two rows with headers?
Split the data into columns first, then copy the headers and paste them next to the split data in the new rows. Alternatively, use Power Query to split and retain headers automatically.
Is there a way to automate splitting rows in Excel?
Yes. Use Power Query to create a repeatable process for splitting rows, or record a macro to automate the steps.