Add comma after first word only

sunshine0322

New Member
Joined
Oct 28, 2010
Messages
4
I have an excel list of about 300+ names. Each name is in the same cell written as "LAST NAME FIRST NAME MIDDLE INITIAL" with no commas. (Ex. Doe Jane A). I need a way to insert a comma ONLY after the first word in the cell so it will read "Doe, Jane A". Is there any way to do this without having to do this all manually?

Thanks!
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi

=REPLACE(A1,FIND(" ",A1),0,",")

copied down in an adjacent column and then copy+paste special> values over the originals.
 
Upvote 0
Hi & welcome to the Board!

Try
Excel Workbook
AB
1Doe Jane ADoe, Jane A
Sheet1
Excel 2003
Cell Formulas
RangeFormula
B1=REPLACE(A1,FIND(" ",A1),0,",")
 
Upvote 0
Okay now my worksheet looks like this

Excel Workbook
AB
1Doe Jane ADoe, Jane A
Sheet1


Is there any way to now delete column A without messing up my formula for column B? Each time I try to delete column A now, it causes column B to say "REF#".
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

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
Back
Top