search
social.me.dia
« Combining data from multiple cells with Concatenate in Excel | Main | Paste the resulting values, not the formula with Paste Special in Excel »
Friday
Sep122008

Distributing data across columns with Text to Columns in Excel

In Excel, you can take a cell and split its text across columns in a number of ways. The easiest of these is to use the Text to Columns command under the Data menu in Excel.

For example, if you have a cell that contain both first and last names, you can use the Text to Columns command to split the data in each cell across multiple columns using a delimiter, a special character that indicates at what point data should be split. In this example, we will use a space as the delimiter.

To split text in a cell across columns:



  1. Select the cells you wish to affect.

  2. In the Datamenu, click Text to Columns.

  3. In the Wizard, select Delimiter, then click Next.

  4. In the Delimiters area, check Space, then click Finish.


Before Text to Columns Before Text to Columns

After Text to Columns After Text to Columns

Note: In this example, a new Column C was inserted prior to beginning the steps to split the cell data. The result of using the Text to Columns command is that the split data is saved into cells to the right of the original cell. If any preexisting data is in danger of being overwritten Excel warns you and gives you an opportunity to cancel.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>