Excel Functions Tutorials
- Excel Tips
- Excel vs Access
- Excel Rows vs Columns
- Apple Numbers vs Excel
- 3D Reference in Excel
- Absolute Reference in Excel
- Mixed References in Excel
- Excel Reference to Another Sheet
- Array Formulas in Excel
- Arrays in Excel VBA
- Auto Numbering in Excel
- AutoFit in Excel
- AutoCorrect in Excel
- AutoSave in Excel
- AutoRecover in Excel
- Bullet Points in Excel
- Break Links in Excel
- Barcode in Excel
- Change Case in Excel
- CAGR Formula in Excel
- Calculate Age in Excel
- Calculate Percentage in Excel Formula
- Cell Reference in Excel
- Checklist in Excel
- Circular Reference in Excel
- Column Sort in Excel
- Column Lock in Excel
- Move Columns in Excel
- Custom List in Excel
- Consolidate in Excel
- Combine Cells in Excel
- Compare Two Columns in Excel
- Compare and Match Columns in Excel
- Compound Interest Formula in Excel
- Convert Columns to Rows in Excel
- Convert Date to Text in Excel
- Convert Numbers to Text in Excel
- Convert Text to Numbers in Excel
- Convert Excel to CSV
- Count Characters in Excel
- Count Rows in Excel
- Count Unique Values in Excel
- Countif not Blank in Excel
- Create Templates in Excel
- Family Tree in Excel Template
- Custom Number Format in Excel
- Delete Row Shortcut in Excel
- Divide in Excel Formula
- Drop Down List in Excel
- Dynamic Tables in Excel
- Dashboard in Excel
- KPI Dashboard in Excel
- Date to Text in Excel
- Date Format in Excel
- Database in Excel
- Delta Symbol in Excel
- $ Symbol in Excel
- Excel Column to Number
- Edit Drop-Down List in Excel
- Equations in Excel
- Exponents in Excel
- Excel Extensions
- Excel Translate
- Excel Not Responding
- Excel Find and Replace
- Find and Select in Excel
- Excel Subtraction Formula
- Excel Formula for Grade
- Excel as Calculator
- Excel Formula Not Working (Updating)
- Excel Table Styles & Formats
- Excel vs Google Sheets
- External Links in Excel
- Excel Alternate Row Color
- Excel Worksheet Tab
- Extract Number from String Excel
- Evaluate Formula in Excel
- Find Duplicates in Excel
- Finding Links in Excel
- Filter Shortcut in Excel
- Formatting in Excel
- Format Numbers to Millions & Thousands in Excel
- Format Phone Numbers in Excel
- Formula Errors in Excel
- Fractions in Excel
- Frequency Distribution in Excel
- Group in Excel
- Group Worksheets in Excel
- Group Columns in Excel
- Hide Formula in Excel
- Hiding a Column in Excel
- Highlight Every Other Row in Excel
- Highlight Duplicates in Excel
- How to Create a Formula in Excel?
- How to Create an Excel Spreadsheet?
- How to Add Text in Excel Formula?
- How to Create Dashboard in Excel?
- How to Copy Sheet in Excel?
- How to Delete Pivot Table?
- How to Calculate Percentage Increase in Excel?
- How to Multiply in Excel Formula?
- How to Unhide Columns in Excel?
- Insert Date in Excel
- Insert Calendar in Excel
- Import Data into Excel
- Insert Comment in Excel
- Insert Hyperlinks in Excel
- Insert Multiple Rows in Excel
- Insert Row Shortcut in Excel
- Insert New Worksheet in Excel
- Insert (Embed) an Object in Excel
- Insert Image in Excel Cell
- Insert Page Break in Excel
- Line Breaks in Excel
- Linear Interpolation in Excel
- Leading Zeros in Excel
- Last Day of the Month in Excel
- Logical Operators in Excel
- Lookup Table in Excel
- Mortgage Calculator in Excel
- Moving Average in Excel
- Not Equal to in Excel
- Numbering in Excel
- Name Manager in Excel
- Page Numbers in Excel
- Page Break in Excel
- Personal Budget Template in Excel
- Project Management Template in Excel
- Percentage Difference in Excel (Increase / Decrease)
- Pivot Table Calculated Field & Formula
- Pivot Table Sort
- Pivot Table From Multiple Sheets
- Print Comments in Excel
- Print Excel Gridlines
- Print in Excel
- Print Preview in Excel
- Print Area in Excel
- Print Titles in Excel
- Print Labels From Excel
- Project Timeline in Excel
- Protect Sheet in Excel
- Ratio in Excel Formula
- Random Numbers in Excel
- Randomize List in Excel
- Refresh Pivot Table in Excel
- Relative References in Excel
- Remove Blank Rows in Excel
- Remove Duplicates in Excel
- Remove Duplicates from Excel Column
- Remove Hyperlinks in Excel
- Remove Space in Excel
- Remove Leading Spaces in Excel
- Remove Watermark in Excel
- Row Limit in Excel
- Rows and Columns in Excel
- Rows to Columns in Excel
- Row Header in Excel
- Search in Excel
- Search For Text in Excel
- Share an Excel Workbook
- Shortcut to Merge Cells in Excel
- Show Formula in Excel
- Split Cells in Excel
- Separate Text in Excel
- Strikethrough in Excel
- Strikethrough Text in Excel
- Sum by Color in Excel
- Subscript in Excel
- Superscript in Excel
- Themes in Excel
- Timesheet Calculator in Excel
- Top 20 Keyboard Shortcuts in Excel
- Unmerge Cells in Excel
- Uppercase in Excel
- Word Count in Excel
- Word Cloud in Excel
- Watermark in Excel
- Weighted Average in Excel
- Wildcard in Excel
- Financial Functions in Excel (17+)
- Logical Functions in Excel (15+)
- TEXT Functions in Excel (29+)
- Lookup Reference in Excel (44+)
- Maths Functions in Excel (52+)
- Date and Time Function in Excel (22+)
- Statistical Function in Excel (50+)
- Information Functions in Excel (5+)
- Excel Charts (48+)
- Excel Tools (98+)
- VBA (162+)
- Power Bi (35+)
Separate Text in Excel (Table of Contents)
Separating Text in Excel
Texts in Excel can appear in different ways. Maybe there is a text which is joined by some kind of symbol or the text is like a first name and the last name. There will be some point in our life where we will want those texts separated.
The problem statement is explained above that we will come towards some sort of data where we need to separate those texts from one to another. But how do we separate those texts from one another? There is one very basic way to do it copy the desired text in their each desired respective cells. Or, we can use some pre-given excel tools to do so.
How to Separate Text in Excel?
There are two methods to separate Texts in Excel:
- Separate Text in Excel Using “Text to Columns Method“: which further has its own two bifurcations:
- Delimited: This feature splits the text which is being joined by characters, Commas, Tabs, Spaces, Semicolon or any other character such as a hyphen (-).
- Fixed Width: This feature splits the text which is being joined with spaces with some certain width.
- Separate Text Using Excel Formulas: We can use formulas like the Len Function to calculate the length of the string and separate the values by knowing the position of the characters.
Let us learn these methods using examples.
Example #1 – Delimiter Method to Separate Text in Excel
First things first, where do we find this feature text to columns in excel. It is under data Tab in the Data Tools Section.
Consider the following data,
We want to separate the first name and the last name and have the contents of the last name in the B column.
#1 – To do this select the column containing the data i.e. A column.
#2 – Under Data Tab in the Data tools section Click on Text To Columns.
#3 – A dialog box appears for text to columns wizard.
#4 – As we are going to use the delimiter method first, Select the delimited option and click on next and another dialog box appears.
#5 – For the current data our texts are separated in excel by spaces so select Space option as a delimiter ( By default excel selects Tab as a delimiter). Click on Next.
#6 – We can see that our data preview that our texts are separated with first and last name. Click on Finish to see the result.
#7 – We have successfully separated our excel text by using text to column delimiter method.
Example #2 – Using Fixed Width Method to Separate Text in Excel
We already know where the option of text to the column is in Excel. It is in the Data Tab under the data tools section.
Now we consider the following data,
There is a survey company which is conducting a survey for the feedback of a restaurant. The users give their feedback as Good or Bad but every response is saved by a timestamp which means with every response time is recorded, specific Data and time in Hours and minutes.
I need to separate the Date with the time in the data. Below is the data,
Step #1 – We do need to separate the contents of column A but there is data is in column B so we need to insert another column between column A and column B. To do that, Select Column B and press CTRL + +.
It adds another column between both the columns and shifts the data from previous column B to column C.
Step #2 – Now select the data in Column A, and click on Text to the column under Data Tab in the Data Tools Section.
A dialog box appears for text to columns wizard.
Step #3 – This time we are using fixed width method so make sure that the fixed method option is selected and click on next another Text to Column Wizard dialog box appears.
Step #4 – In the data preview, we can see that the data is being separated into three parts which are Data Time and the meridian which is AM and PM.
We need only data and time so hover the mouse around the second line and double click on it and it disappears.
Step #5 – Now click on next, another Text to Column Wizard dialog box appears. There you need to click on the Finish button.
Now, the data is separated with Date in one column and time in another.
Step #6 – Currently, the formatting of the data in column B is not correct so we need to correct it. Select the contents on column B and in the Home tab under the numbers section the default selection is custom we need to change it to time.
Step #7 – Now we have successfully separated our excel data using Text to Columns Fixed Width Method.
Example #3 – Using Formulas for Separating Text in Excel
We can also use excel formulas to separate the text and numbers which is joined together. Of course, we can remove that data by using Text to columns but for complex situations, we use formulas for this.
Let us consider the following Data:
We have products in column A with their respective product codes. We need product in one column and product code in another. We want to use formulas to do this.
Step #1- To this, we need to first count the number of digits and separate that much number from the character.
Step #2- We need Product Name in B Column and Product Code in C column.
Step #3- First, we will separate the digits so that then we can separate the text in excel from the data. In C2 write the following excel formula to separate text
We use right to function as we know the numbers are in the right.
Step #4- Now in Cell B2 write the following Formula,
Step #5- Press Enter and we have successfully separated our data from Product Name and code by using Len function.
Step #6- Now drag the respective formulas to cell B6 and cell C6 Respectively.
Things to Remember in Separating Text in Excel (text to column & formula)
- If we are using Text to Columns Method always make sure that we have an additional column so that the data in any column doesn’t get replaced.
- If we are separating Texts in excel by using excel formulas we need to make sure of the positioning of the characters.
This has been a guide to Separate Text in Excel. Here we discuss how to Separate Text in Excel using two methods 1) “Text to Column” (Delimited & Fixed Width) and 2) using Excel Formulas along with practical examples and downloadable excel template. You may learn more about excel from the following articles –