Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Use Excels Text To Columns command to separate first and last names

By Mary Ann Richardson 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: 1. Select A2:A10. 2. 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. 3. In Step 1 of the Convert Text To Columns Wizard, click Delimited (Figure B).

Version 1.0 February 2, 2009

Figure A

Figure B
Page 1 Copyright 2009 CNET Networks, Inc., a CBS Company. All rights reserved. TechRepublic is a registered trademark of CNET Networks, Inc For more downloads and a free TechRepublic membership, please visit http://techrepublic.com.com/2001-6240-0.html

Use Excels Text To Columns command to separate first and last names

4. 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). 5. Click Next to advance to Step 3, then click Text under Column Data Format (Figure D).

Figure C

Figure D

Page 2 Copyright 2008 CNET Networks, Inc., a CBS Company. All rights reserved. TechRepublic is a registered trademark of CNET Networks, Inc For more downloads and a free TechRepublic membership, please visit http://techrepublic.com.com/2001-6240-0.html

Use Excels Text To Columns command to separate first and last names 6. Click on the second column in the Data Preview window and then click Text under Column Data Format (Figure E). 7. Enter D2 in the Destination text box and click Finish. Figure F shows the results.

Figure E

Figure F

Page 3 Copyright 2008 CNET Networks, Inc., a CBS Company. All rights reserved. TechRepublic is a registered trademark of CNET Networks, Inc For more downloads and a free TechRepublic membership, please visit http://techrepublic.com.com/2001-6240-0.html

You might also like