Split names by using the Convert Text to Columns Wizard Excel 2007

Author: mety Labels::

Use the Convert Text to Columns Wizard to separate simple cell content, such as first names and last names, into different columns.

Full name First name Last name
Syed Abbas SyedAbbas
Molly Dempsey MollyDempsey
Lola Jacobsen LolaJacobsen
Diane Margheim DianeMargheim

Depending on your data, you can split the cell content based on a delimiter, such as a space or a comma, or based on a specific column break location within your data

Split content based on a delimiter

Use this method if your names have a delimited format, such as "First_name Last_name" (where the space between First_name and Last_name is the delimiter) or "Last_name, First_name" (where the comma is the delimiter).

Split space-delimited content

To complete these steps, copy the following sample data to a blank worksheet.

ShowHow to copy an example

  1. Create a blank workbook or worksheet.
  2. Select the example in the Help topic.

    Note Do not select the row or column headers.

    Selecting an example from Help

  3. Press CTRL+C.
  4. On the worksheet, select cell A1, and then press CTRL+V.
  5. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.
1
2
3
4
A
Syed Abbas
Molly Dempsey
Lola Jacobsen
Diane Margheim
  1. Select the range of data that you want to convert.
  2. On the Data tab, in the Data Tools group, click Text to Columns.
  3. In Step 1 of the Convert Text to Columns Wizard, click Delimited, and then click Next.
  4. In Step 2, select the Space check box, and then clear the other check boxes under Delimiters.

    The Data preview box shows the first and last names in two separate columns.

    Text to Columns Wizard - Step 2 of 3

  5. Click Next.
  6. In Step 3, click a column in the Data preview box, and then click Text under Column data format.

    Repeat this step for each column in the Data preview box.

  7. If you want to insert the separated content into the columns next to the full name, click the icon to the right of the Destination box, and then select the cell next to the first name in the list (B2, in this example).

    Destination of splitted contents

    Important If you do not specify a new destination for the new columns, the split data will replace the original data.

  8. Click the icon to the right of the Convert Text to Columns Wizard.

    Text to Columns Wizard Step 3 of 3

  9. Click Finish.

Split comma-delimited content

To complete these steps, copy the following sample data to a blank worksheet.

1
2
3
4
A
Abercrombie, Kim
Cavaglieri, Giorgio
Ito, Shu
Philips, Carol
  1. Select the range of data that you want to convert.
  2. On the Data tab, in the Data Tools group, click Text to Columns.
  3. In Step 1 of the Convert Text to Columns Wizard, click Delimited, and then click Next.
  4. In Step 2, select the Comma check box, and then clear the other check boxes under Delimiters.

    The Data preview box displays the first names and last names in two separate lists.

    Text to Columns Wizard - Step 2 of 3

  5. Click Next.

  6. In Step 3, click a column in the Data preview box, and then click Text under Column data format.

    Repeat this step for each column in the Data preview box.

  7. If you want to show the separated content in the columns next to the full name, click the icon to the right of the Destination box, and then select the cell next to the first name in the list (B2, in this example).

    Destination of splitted contents

    Important If you do not specify a new destination for the new columns, the divided data will replace the combined data.

  8. Click the icon to the right of the Convert Text to Columns Wizard.

    Convert Text to Columns Wizard Step 3 of 3

  9. Click Finish.

Split cell content based on a column break

You can also customize how you want your data to be separated by specifying a fixed column break location.

  1. Select the cell or range of cells.
  2. On the Data tab, in the Data Tools group, click Text to Columns.
  3. In Step 1 of the Convert Text to Columns Wizard, click Fixed Width, and then click Next.
  4. In the Data preview box, drag a line to indicate where you want the content to be divided.

    Text to Columns Wizard - Step 2 of 3

    Tip To delete a line, double-click it.

  5. Click Next.
  6. In Step 3, select a column in the Data preview box, and then click a format option under Column data format.

    Repeat this step for each column in the Data preview box.

  7. If you want to show the split content in the columns next to the full name, click the icon to the right of the Destination box, and then click the cell next to the first name in the list.

    Choose destination of extracted cell content

    Important If you do not specify a new destination for the new columns, the divided data will replace the original data.

  8. Click the icon to the right of the Convert Text to Columns Wizard.

    Convert Text to Columns Wizard Step 3 of 3

0 comments |

Labels

Blog Archive

Powered by Blogger.

I made these pages for me and my friends to help solving the problem we face regarding Computer & internet, if anyone wants me to answer a question or find out about some information please send me email and I will try to reply.*P.S. some of the article I wrote and the other I found on the internet I posted them in sprit of learning and shearing, please forgive me if you found something you don’t want to be in my blog, email me and I will delete them. Thank you for your interest in my pages.امل نجم Amal Nagm

banner 1 banner 2