Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Reversing Text in cells

I have a list of names in a column that were entered as First Name then Last
Name. Is there a way to transposing all of the names so that they read Last
Name, then First Name?

Example:

currently - Chris Lopez
desired outcome - Lopez, Chris
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Reversing Text in cells

=RIGHT(A1,LEN(A1)-FIND(" ",A1,1)) & ", " & LEFT(A1,FIND(" ",A1,1))
--
Gary''s Student - gsnu200765
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Reversing Text in cells

Thank you!!!!

"Gary''s Student" wrote:

=RIGHT(A1,LEN(A1)-FIND(" ",A1,1)) & ", " & LEFT(A1,FIND(" ",A1,1))
--
Gary''s Student - gsnu200765

  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Reversing Text in cells

=RIGHT(A1,LEN(A1)-FIND(" ",A1,1)) & ", " & LEFT(A1,FIND(" ",A1,1))

Returns a trailing space......this drops it

=RIGHT(A1,LEN(A1)-FIND(" ",A1,1)) & ", " & LEFT(A1,FIND(" ",A1,1)-1)

Vaya con Dios,
Chuck, CABGx3



"Gary''s Student" wrote:

=RIGHT(A1,LEN(A1)-FIND(" ",A1,1)) & ", " & LEFT(A1,FIND(" ",A1,1))
--
Gary''s Student - gsnu200765

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Reversing Text in cells

As long as the names are only 2 word names:

=MID(A1&", "&A1,FIND(" ",A1)+1,LEN(A1)+1)

If you have names like: John Paul De La Cruz Sr. = good luck!!!

--
Biff
Microsoft Excel MVP


"Truc Lopez" wrote in message
...
I have a list of names in a column that were entered as First Name then
Last
Name. Is there a way to transposing all of the names so that they read
Last
Name, then First Name?

Example:

currently - Chris Lopez
desired outcome - Lopez, Chris





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
REVERSING CELLS? FARAZ QURESHI Excel Discussion (Misc queries) 1 January 18th 07 07:19 PM
Reversing a column. How? [email protected] Excel Discussion (Misc queries) 5 December 21st 06 09:04 PM
Reversing characters of cells starguy Excel Discussion (Misc queries) 12 June 13th 06 05:54 PM
reversing entry american New Users to Excel 4 May 30th 06 11:11 PM
Reversing First & Last Name Magic Excel Worksheet Functions 3 April 6th 05 08:18 PM


All times are GMT +1. The time now is 05:24 PM.

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"