Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Elise
 
Posts: n/a
Default splitting the values from one column into two

I have spreadsheet that has a column for names. The names have been input as
follows: lastname, firstname". Is there a way to copy the first name to a
new column and the last name to a different column?
--
Elise King-Lynch
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

DataText to Columns and choose a delimiter of comma

--
HTH

Bob Phillips

"Elise" wrote in message
...
I have spreadsheet that has a column for names. The names have been input

as
follows: lastname, firstname". Is there a way to copy the first name to a
new column and the last name to a different column?
--
Elise King-Lynch



  #3   Report Post  
TomHinkle
 
Posts: n/a
Default

Data menu,
Text to columns command

It will handle delimited or fixed width data in one column to several

"Elise" wrote:

I have spreadsheet that has a column for names. The names have been input as
follows: lastname, firstname". Is there a way to copy the first name to a
new column and the last name to a different column?
--
Elise King-Lynch

  #4   Report Post  
Michael
 
Posts: n/a
Default

Data - Text to Columns, delimited, use comma as the separater. HTH
--
Sincerely, Michael Colvin


"Elise" wrote:

I have spreadsheet that has a column for names. The names have been input as
follows: lastname, firstname". Is there a way to copy the first name to a
new column and the last name to a different column?
--
Elise King-Lynch

  #5   Report Post  
ClaytonS
 
Posts: n/a
Default

Do a "Text to Column" under "Data". Be sure to insert an extra column before
you split your text first.

"Elise" wrote:

I have spreadsheet that has a column for names. The names have been input as
follows: lastname, firstname". Is there a way to copy the first name to a
new column and the last name to a different column?
--
Elise King-Lynch



  #6   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

There are probably some names that would need to be altered manually but
using your eaxample

=LEFT(A1,find(",",A1)-1)

for the last name, assum you put this in B1, then for first name in C1

=TRIM(SUBSTITUTE(A1,B1&",",""))

or you can make sure the next column to the right is empty, then do
datatext to columns, delimited, select comma and click finish

That will basically split the columns into 2

Also when you are done with the formulas, copy them, then do editpaste
special as values in place to make them independent of the name column

Regards,

Peo Sjoblom

"Elise" wrote:

I have spreadsheet that has a column for names. The names have been input as
follows: lastname, firstname". Is there a way to copy the first name to a
new column and the last name to a different column?
--
Elise King-Lynch

  #7   Report Post  
Elise
 
Posts: n/a
Default

Thanks so much.
--
Elise King-Lynch


"TomHinkle" wrote:

Data menu,
Text to columns command

It will handle delimited or fixed width data in one column to several

"Elise" wrote:

I have spreadsheet that has a column for names. The names have been input as
follows: lastname, firstname". Is there a way to copy the first name to a
new column and the last name to a different column?
--
Elise King-Lynch

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I reference every "n" cell in a column in Excel? Alma Excel Worksheet Functions 2 March 22nd 05 06:19 PM
How do you convert numbers as "text" to values for a long column . geoexcel Excel Discussion (Misc queries) 2 February 27th 05 04:31 PM
Move column values w/o formula Greg Excel Worksheet Functions 1 February 1st 05 10:01 PM
Finding the max of a column where values less than a specified number Mark Silka Excel Worksheet Functions 1 November 17th 04 03:14 PM
Can you average data in 1 column based on a range of values in another? kman24 Excel Worksheet Functions 2 November 17th 04 02:09 PM


All times are GMT +1. The time now is 01:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"