how to separate text with commas in it

compman

New Member
Joined
Aug 26, 2002
Messages
9
How do I spearate first and last names spearted by a comma? I have 21,000+ names in our database with last name,first name. I need to break out the names into 2 separate columns. Can anyone help me.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
Use Data>Text to Column. Select the delimitor option and check the comma box. Just follow the wizard.
This message was edited by lenze on 2002-10-02 13:25
 

compman

New Member
Joined
Aug 26, 2002
Messages
9
TO:lenze
MrExcel MVP

Thank you very much. What part of Montana are you from? I used to live in Ennis as a kid.
 

Jammer

New Member
Joined
Sep 26, 2002
Messages
17
Hi.

I used the Data, Text to Columns, with a space, but often get asked what to do when the name is complex, such as Last Name = Da Silva or Van De Kamp (not simple like Smith). What do you do then. I have seen a formula for this before. Thank you.
 

jmuscat

New Member
Joined
Apr 22, 2002
Messages
18
Formula for splitting firstname and lastname
=LEFT(B5,(FIND(" ",B5)))
=RIGHT(B6,(LEN(B6)-(FIND(" ",B6))))
 

Forum statistics

Threads
1,144,358
Messages
5,723,889
Members
422,524
Latest member
wirkkarn

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top