Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
southern
 
Posts: n/a
Default How do I convert last name, first name in cells to first name las.

Cells contain names in last name, first name order. I wish to convert to
first name last name (no comma) without retyping. Thanks
  #2   Report Post  
Michael
 
Posts: n/a
Default

Assuming your data is in column A. Select the names in Column A. Make sure
that Columns B and C are blank. In Excel 2003, click on data,
text-to-columns and choose delimited and comma. The last name of the first
entry will be in A2 and the first name will be in B2. In C2 type =B2&" "&A2
to concatenate the name with first name first and then copy down the formula
in C2 as far as necessary. As a last step be sure to copy Column C, go to
Edit - paste special -values and paste back on Column C.

"southern" wrote:

Cells contain names in last name, first name order. I wish to convert to
first name last name (no comma) without retyping. Thanks

  #3   Report Post  
BobT
 
Posts: n/a
Default

=TRIM(MID(A1,FIND(",",A1,1)+2,256)&" "&LEFT(A1,FIND
(",",A1,1)-1))
-----Original Message-----
Cells contain names in last name, first name order. I

wish to convert to
first name last name (no comma) without retyping. Thanks
.

  #4   Report Post  
CyberTaz
 
Posts: n/a
Default

FWIW- Michael's reply should give you what you want if the data is
consistant, but I would offer another thought when it comes to the "In C2
type..." step on - leave it out. Store the first & last names in separate
columns in order to more easily produce true alpha sorts and filters, mail
merge, etc. based on the content of either field. You can always use his
concatenation formula to combine the content of the two fields for display
purposes, but it is very limiting to store it that way.

Even if your current needs don't require it, sooner or later it will pay
off. Make sense? |:)

"southern" wrote:

Cells contain names in last name, first name order. I wish to convert to
first name last name (no comma) without retyping. Thanks

  #5   Report Post  
David
 
Posts: n/a
Default

?B?c291dGhlcm4=?= wrote

Cells contain names in last name, first name order. I wish to convert
to first name last name (no comma) without retyping. Thanks


One more way:
=IF(A1="","",RIGHT(A1,LEN(A1)-FIND(" ",A1))&" "&LEFT(A1,FIND(",",A1)-1))

--
David
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
convert cells containing alpha to numeric ezu Excel Worksheet Functions 14 January 9th 05 10:01 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
To safety merge cells without data destroyed, and smart unmerge! Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:17 AM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:09 AM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM


All times are GMT +1. The time now is 09:38 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"