Using Text to Columns to clean up data

Dan Holme

October 30, 2007

1 Min Read
ITPro Today logo in a gray background | ITPro Today

The Text to Columns command will allow you to clean up Excel data in a variety of scenarios, such as:

  • Database imports where numbers are being treated as text by Excel.

  • Situations where you need to convert a column of one datatype to another.

  • Problems caused by phantom spaces or characters at the end of cells.

  • Scenarios where you want to "split up" data (e.g. First from last name, WBS levels, etc.)

To use Text to Columns:

  1. Select the column (or cells) you wish to convert

  2. Choose Data → Text To Columns.

  3. Step through the wizard.

    Pay attention to whether you have a delimiter (something that allows you to "split" the data) or whether you are wanting to do a "fixed width" conversion. Also pay attention to the format of the destination column.

    You can put the converted data onto the same column/cells or onto a different range. When in doubt, choose a different target range--it's always easy to cut and paste the results later.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like