Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
I have a column A which has first and last name separated by a comma as follows: *Cloumn A* Bernhardt,Gail Wygonik, Mark Patel,Arpna Now, what I need is to be able to separate the two into 2 columns so I can get, col. B and C: *Col B* *Col C* Bernhardt Gail Wygonik Mark Patel Arpna Thanks for your help! MSA |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
DataText To Columns with a delimiter of comma
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "MSA" wrote in message ... Hi I have a column A which has first and last name separated by a comma as follows: *Cloumn A* Bernhardt,Gail Wygonik, Mark Patel,Arpna Now, what I need is to be able to separate the two into 2 columns so I can get, col. B and C: *Col B* *Col C* Bernhardt Gail Wygonik Mark Patel Arpna Thanks for your help! MSA |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use the following formula in column B:
=LEFT(A1,FIND(",",A1,1)-1) Use the following formula in column C: =RIGHT(A1,LEN(A1)-(FIND(",",A1,1))) -- Kevin Backmann "MSA" wrote: Hi I have a column A which has first and last name separated by a comma as follows: *Cloumn A* Bernhardt,Gail Wygonik, Mark Patel,Arpna Now, what I need is to be able to separate the two into 2 columns so I can get, col. B and C: *Col B* *Col C* Bernhardt Gail Wygonik Mark Patel Arpna Thanks for your help! MSA |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Data (menu), text to columns
data delimited comma --- HTH, David McRitchie, Microsoft MVP - Excel My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "MSA" wrote in message ... Hi I have a column A which has first and last name separated by a comma as follows: *Cloumn A* Bernhardt,Gail Wygonik, Mark Patel,Arpna Now, what I need is to be able to separate the two into 2 columns so I can get, col. B and C: *Col B* *Col C* Bernhardt Gail Wygonik Mark Patel Arpna Thanks for your help! MSA |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this:
For a name in A1 (eg Bernhardt,Gail) Last name B1: =TRIM(LEFT(A1,FIND(",",A1)-1)) First name C1: =TRIM(MID(A1,FIND(",",A1)+1,LEN(A1))) Does that help? *********** Regards, Ron XL2002, WinXP "MSA" wrote: Hi I have a column A which has first and last name separated by a comma as follows: *Cloumn A* Bernhardt,Gail Wygonik, Mark Patel,Arpna Now, what I need is to be able to separate the two into 2 columns so I can get, col. B and C: *Col B* *Col C* Bernhardt Gail Wygonik Mark Patel Arpna Thanks for your help! MSA |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi MSA,
There is a function Text to Columns under the Data menu. If you copy the data to column B and use the Text to Columns function under the Data menu, choosing Delimited and comma as the delimiter, it will convert the data into columns B and C Anthony "MSA" wrote: Hi I have a column A which has first and last name separated by a comma as follows: *Cloumn A* Bernhardt,Gail Wygonik, Mark Patel,Arpna Now, what I need is to be able to separate the two into 2 columns so I can get, col. B and C: *Col B* *Col C* Bernhardt Gail Wygonik Mark Patel Arpna Thanks for your help! MSA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing a comma separated text file and save it. | Excel Discussion (Misc queries) | |||
combine rows into one cell separated by comma | Excel Discussion (Misc queries) | |||
how could I import a text file with comma separated values into ex | Excel Worksheet Functions | |||
Count comma separated numbers, numbers in a range with dash, not t | Excel Discussion (Misc queries) | |||
Going from column to comma separated list... | Excel Discussion (Misc queries) |