Excel: Separate Text Into Different Cells [Complete Guide]
Working with data in Excel often means dealing with information that has been entered into a single cell even though it actually contains several separate pieces of information. For example, you may have a list of full names in one column, product details separated by commas, or addresses containing multiple parts. Instead of manually copying each piece into a separate cell, Excel provides several ways to separate text into different cells.
The easiest method for many users is Text to Columns, which splits text based on spaces, commas, tabs, semicolons, or other characters. Newer versions of Excel also provide functions such as TEXTSPLIT, which can automatically divide text using formulas.
This guide explains several methods in simple steps so even a beginner can choose the right approach for their data.
Excel: Separate text into different cells

Suppose column A contains the following data:
- John Smith
- David Brown
- Sarah Wilson
If you want the first names in column A and last names in column B, you can separate the text using a space as the delimiter.
Similarly, if a cell contains John, Smith, 25, New York, you can split each item into its own cell by using the comma as the separator.
The method you choose depends on the type of data you have and the version of Excel you are using.
Step 1: Select the Text You Want to Separate
Start by opening your Excel workbook and locating the column that contains the text you want to split.
For example, imagine that column A contains full names. Click the first cell containing the data, then select the complete range you want to process. You can drag your mouse down the column to select multiple cells.
If your data has a heading such as Full Name, select the data below the heading rather than including the heading itself.
It is also a good idea to check the cells next to your data before continuing. Excel may place the separated information into those columns, so make sure they are empty or contain information that you have safely moved elsewhere.
Step 2: Open the Text to Columns Tool
After selecting your data, go to the Data tab on the Excel ribbon.
Look for the Text to Columns option and select it. Excel will open the Convert Text to Columns Wizard.
This tool is designed to take text from one column and divide it into multiple columns.
For beginners, this is one of the simplest ways to separate text because Excel guides you through the process instead of requiring you to create a formula.
Step 3: Choose the Correct Separation Method
Excel will normally give you two choices: Delimited and Fixed width.
Choose Delimited if your text contains a character that separates the individual pieces of information. Common delimiters include spaces, commas, tabs, semicolons, and other characters.
For example, if your cell contains:
John, Smith, Sales
A comma separates each piece of information, so Delimited is the appropriate option.
Choose Fixed width when the text is organized according to specific character positions rather than a separator.
For most everyday Excel tasks, Delimited will be the option you need.
Click Next to continue.
Step 4: Select the Delimiter
Excel will now ask you what character separates the text.
- If your data contains names such as John Smith, select Space.
- If your data looks like John, Smith, select Comma.
- If the information is separated by tabs, select Tab.
You can also select Other and enter a custom character. For example, if your data is written as John|Smith|25, enter the vertical bar character in the Other box.
As you select a delimiter, Excel displays a preview of how the data will be separated. Carefully check this preview before moving forward.
If the preview looks correct, click Next.
Step 5: Choose the Destination for the Separated Text
Excel will then ask where you want to place the separated information.
The Destination box normally contains the location of your original data. You can leave the default location if you are comfortable with Excel replacing the existing data with the separated results.
However, beginners should be careful here.
If the original data is important, select an empty cell where you want the new columns to begin. For example, you could select B2 if your original information starts in A2.
This allows you to keep the original data while creating a separate copy.
After choosing the destination, click Finish.
Step 6: Check the Results
Excel will now separate the text according to the delimiter you selected.
For example, if A2 contains John Smith, Excel may place John in A2 and Smith in B2.
If your original data contained John, Smith, 25, Excel could place John, Smith, and 25 into three separate columns.
Take a moment to check several rows. This is particularly important when working with large datasets because inconsistent separators can produce unexpected results.
For example, some rows may contain extra spaces or missing information, which can cause the results to appear differently.
Alternative Method: Use the TEXTSPLIT Function
If you are using a newer version of Excel that supports TEXTSPLIT, you can separate text using a formula.
Suppose cell A2 contains:
John,Smith,25
Click an empty cell and enter:
=TEXTSPLIT(A2,”,”)
Press Enter.
Excel will split the text at every comma and place the results into separate cells across the row.
This method is particularly useful when you want the result to update automatically whenever the original text changes.
For example, if you change A2 to David,Brown,30, the TEXTSPLIT result can update automatically.
The formula approach is also useful when you are building reusable worksheets where the source data may change regularly.
Alternative Method: Separate Text Using Flash Fill
Another beginner-friendly option is Flash Fill.
Suppose column A contains full names such as John Smith. In column B, manually type John for the first row.
In the next row, start typing the first name. Excel may recognize the pattern and display the remaining first names as a suggested preview.
Press Enter to accept the Flash Fill suggestion.
You can then repeat the process for last names in another column.
Flash Fill is useful when Excel can recognize a consistent pattern. However, it is not always suitable for complicated or inconsistent data.
Separate First and Last Names With Formulas
If you regularly work with names, formulas can provide more control.
For newer Excel versions, TEXTBEFORE can extract the text before a space.
For example:
=TEXTBEFORE(A2,” “)
This can return the first name from a cell containing John Smith.
You can use TEXTAFTER to return the text after the space:
=TEXTAFTER(A2,” “)
These functions are especially useful when you want your worksheet to update automatically instead of permanently splitting the original data.
Separate Text Into Rows Instead of Columns
Sometimes you may want each piece of text to appear on a separate row rather than across columns.
The TEXTSPLIT function can handle this by using a row delimiter.
For example, if A2 contains values separated by commas and you want each value displayed vertically, you can use a formula such as:
=TEXTSPLIT(A2,,”,”)
The exact formula depends on whether your separator is intended to divide columns or rows.
This can be useful when converting a list stored in one cell into a vertical list for further analysis.
How to Separate Text by Comma in Excel
To separate comma-separated information, select the data and open Data > Text to Columns.
Choose Delimited, click Next, select Comma, and check the preview.
Choose an appropriate destination and click Finish.
For example, Apple,Red,25 can become three separate cells containing Apple, Red, and 25.
How to Separate Text by Space in Excel
If words are separated by spaces, choose Space as the delimiter in Text to Columns.
For example, John Smith can be separated into John and Smith.
Be careful with addresses or sentences because spaces may occur many times. In those situations, using a formula or another delimiter may provide better results.
Excel is automatically splitting text every time you paste it
If Excel automatically splits text into different cells every time you paste it, the most common cause is that the copied text contains tabs, commas, or other delimiters that Excel interprets as column separators.
Try these methods.
Method 1: Paste the Text Inside a Cell
This is the simplest way to keep pasted text in one cell.
Step 1: In Excel, select the cell where you want the complete text.
Step 2: Press F2 or double-click the cell to enter cell-editing mode.
Step 3: Paste your text using Ctrl + V.
Step 4: Press Enter.
Excel should keep the pasted content inside that single cell instead of distributing it across multiple cells.
Method 2: Use the Formula Bar
If double-clicking the cell doesn’t work, use the Formula Bar.
Step 1: Select the destination cell.
Step 2: Click inside the Formula Bar at the top of Excel.
Step 3: Paste your text there using Ctrl + V.
Step 4: Press Enter.
This is particularly useful when the copied text contains tabs or line breaks that Excel would normally interpret as separate cells.
Method 3: Use Paste Special
You can also try Excel’s paste options.
Step 1: Copy the text.
Step 2: Right-click the destination cell.
Step 3: Select Paste Special.
Step 4: Choose an appropriate text-only option, if available in your Excel version.
Step 5: Check whether the complete content remains in one cell.
Method 4: Add an Apostrophe Before the Text
If you are entering text manually, type an apostrophe before the content.
For example:
‘John, Smith, 25, New York
Then press Enter.
Excel will treat the entry as text rather than trying to interpret parts of it as data. The apostrophe normally won’t appear in the cell’s displayed value.
If You Are Copying From a Website
This is especially common when copying tables or text from a website.
Web pages often contain hidden tabs, table columns, or HTML formatting. When you paste directly into Excel, Excel recognizes that structure and distributes the content across multiple cells.
In that situation, try:
Copy text → select one Excel cell → press F2 → paste → Enter
If you want to paste an entire web table into one cell, this method is usually more reliable than ordinary Ctrl + V.
FAQs
Can I separate text from one cell into multiple cells in Excel?
Yes. You can use Text to Columns, TEXTSPLIT, Flash Fill, or other text functions depending on your Excel version and requirements.
What is the easiest way to separate text in Excel?
For most beginners, Text to Columns is the easiest method. It provides a step-by-step wizard and works well with common separators such as spaces and commas.
How do I split a cell by comma in Excel?
Select the cells, open Data > Text to Columns, choose Delimited, select Comma, check the preview, choose the destination, and select Finish.
Can Excel automatically separate text?
Yes. Functions such as TEXTSPLIT can automatically divide text based on a delimiter. Flash Fill can also recognize certain patterns and complete the remaining data.
Will Text to Columns change my original data?
It can. Depending on the destination you choose, Excel may place the separated results over existing cells. To protect your original information, choose an empty destination or create a copy of the data first.
Can I separate text into rows?
Yes. With supported Excel versions, TEXTSPLIT can separate information into rows as well as columns by using the appropriate row delimiter.
Summary
Excel provides several practical ways to separate text into different cells. For a simple one-time task, Text to Columns is usually the best starting point. It can divide information using spaces, commas, tabs, semicolons, and custom delimiters.
If you use a newer version of Excel and want results that update automatically, TEXTSPLIT, TEXTBEFORE, and TEXTAFTER provide more flexible formula-based solutions. Flash Fill is another convenient choice when Excel can recognize a clear pattern.
Before splitting your data, always check the original information and make sure the destination cells are empty.
With the right method, you can quickly turn messy text stored in one cell into clean, organized Excel data.
