Note: This article is also available as a PDF download.
When importing data into a worksheet, it is often necessary to separate the cell contents into two columns. For example, say you’ve imported the list of names shown in Figure A.
For your mailing program, you need to separate the first and last names into two columns. Follow these steps:
- Select A2:A10.
- Go to Data | Text To Columns. In Excel 2007, click the Data tab and then click the Text To Columns command in the Data Tools group.
- In Step 1 of the Convert Text To Columns Wizard, click Delimited (Figure B).
- Click Next to advance to Step 2 of the wizard, then select the Space check box and clear the Tab check box in the Delimiters section (Figure C).
- Click Next to advance to Step 3, then click Text under Column Data Format (Figure D).
- Click on the second column in the Data Preview window and then click Text under Column Data Format (Figure E).
- Enter D2 in the Destination text box and click Finish.
Figure F shows the results.
Miss an Excel tip?
Check out the Microsoft Excel archive and catch up on other Excel tips.
Help users increase productivity by automatically signing up for TechRepublic’s free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.