#1   Report Post  
Posted to microsoft.public.excel.misc
quinner
 
Posts: n/a
Default Changing text order


Hope someone can help.

How can I change this: (Lastname, firstname) all in the same cell
to: (Firstname Lastname) all in the same cell?
I need to invert the order of the names and eliminate the comma. I
think there is a function that will help me but I cannot find it.
Please help. Thanks.


--
quinner
------------------------------------------------------------------------
quinner's Profile: http://www.excelforum.com/member.php...o&userid=31594
View this thread: http://www.excelforum.com/showthread...hreadid=512874

  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Changing text order

Use Data Text to Columns... with the comma as the separator to convert the
cell into two cells Last name in A1 and first name in B1. Then reverse the
order with

=B1 & " " & A1
--
Gary's Student


"quinner" wrote:


Hope someone can help.

How can I change this: (Lastname, firstname) all in the same cell
to: (Firstname Lastname) all in the same cell?
I need to invert the order of the names and eliminate the comma. I
think there is a function that will help me but I cannot find it.
Please help. Thanks.


--
quinner
------------------------------------------------------------------------
quinner's Profile: http://www.excelforum.com/member.php...o&userid=31594
View this thread: http://www.excelforum.com/showthread...hreadid=512874


  #3   Report Post  
Posted to microsoft.public.excel.misc
Cutter
 
Posts: n/a
Default Changing text order


You can use something like this: (with your data in A1)

=RIGHT(A1,SEARCH(" ",A1)-1)&" "&LEFT(A1,SEARCH(",",A1)-1)


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=512874

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
Using Concatenate function to generate text in Text Box Mary S. Charts and Charting in Excel 1 December 14th 05 08:55 PM
How to keep leading zero without changing field to text field? Deni Excel Discussion (Misc queries) 1 October 24th 05 10:48 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
How to stop text changing to date Abbi Excel Discussion (Misc queries) 2 June 7th 05 08:49 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 10:01 PM.

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

About Us

"It's about Microsoft Excel"