๐ Excel Basics #36 โ Text to Columns
Sometimes multiple pieces of information are stored inside a single Excel cell.
For example:
"Rahul,IT,Pune"
You may want to separate this into:
Rahul | IT | Pune
Excel's Text to Columns feature can do this quickly.
๐ What is Text to Columns?
Text to Columns splits the contents of one column into multiple columns based on a specific separator or fixed position.
Go to:
Data โ Text to Columns
There are two main options:
๐ Delimited
๐ Fixed Width
๐ 1. Delimited
Use Delimited when different pieces of data are separated by a character.
Common delimiters:
โข Comma ","
โข Space
โข Tab
โข Semicolon ";"
โข Other custom characters
Example
Suppose A2 contains:
"Rahul,IT,Pune"
Select the column and choose:
Data โ Text to Columns โ Delimited โ Comma
Excel separates the data into:
Name | Department | City
Rahul | IT | Pune
๐ 2. Space as a Delimiter
Suppose:
"Rahul Sharma"
is stored in one cell.
Using Space as the delimiter can split it into:
First Name | Last Name
Rahul | Sharma
โ ๏ธ Be careful with this method if names contain multiple words.
For example:
"Rahul Kumar Sharma"
would be split into three columns.
๐ 3. Fixed Width
Use Fixed Width when data is aligned based on character positions rather than a separator.
Example:
101 Rahul IT
102 Priya HR
103 Amit Finance
You can place column breaks at specific positions to separate the fields.
๐ 4. Text to Columns for Dates
Text to Columns can also help when dates are stored as text and need to be converted or split.
For example:
"17-08-2026"
You can use the wizard to specify the appropriate date format.
๐ 5. Important: Check the Destination
By default, Excel may place the split data into columns next to the original data.
โ ๏ธ If those columns already contain information, the existing data can be overwritten.
You can specify a different Destination in the Text to Columns wizard.
๐ Real-World Example
Suppose you receive customer data like:
Customer Details
Rahul,IT,Pune
Priya,HR,Mumbai
Amit,Finance,Delhi
You can split the single column using:
Data โ Text to Columns โ Delimited โ Comma
Result:
Name | Department | City
Rahul | IT | Pune
Priya | HR | Mumbai
Amit | Finance | Delhi
Now the data can be easily filtered, sorted, analyzed, or used in Pivot Tables.
๐ Text to Columns vs Formulas
Text to Columns
โ Quick one-time transformation.
Text Functions
โ Useful when you want the transformation to update dynamically as the source data changes.
For example:
"LEFT()", "RIGHT()", "MID()", "TEXTBEFORE()", and "TEXTAFTER()" can be useful alternatives depending on your Excel version and requirement.
๐ Common Mistakes
โ Forgetting to check the preview before finishing.
โ Using the wrong delimiter.
โ Overwriting existing data in neighboring columns.
โ Splitting names or addresses incorrectly because they contain the chosen delimiter.
โ
Best Practices
โข Always preview the result before clicking Finish.
โข Make sure the destination columns are empty.
โข Keep a backup when transforming important data.
โข Choose the delimiter carefully.
โข For repeatable workflows, consider formulas or Power Query instead of repeatedly using Text to Columns manually.
๐ก Double Tap โค๏ธ For More
10August 28, 2026 1.5K 6