View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Reversing order of text

For names including a comma, use:
=MID(A1,FIND(", ",A1)+2,255) & " " & LEFT(A1,FIND(",",A1)-1)
For names without a comma, use:
=MID(A2,FIND(" ",A2)+1,255) & " " & LEFT(A2,FIND(" ",A2)-1)
--
Gary''s Student - gsnu200909


"Sonics" wrote:

Within a cell, how do I reverse the position of a last name, first name to
first name then last name? Ex: Doe John to John Doe or Doe, John to John Doe.