Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default LAST, FIRST to First Last

I have data in LAST, FIRST and used this formula...

=TRIM(MID(A2,FIND(",",A2)+1,99))&" "&LEFT(A2,FIND(",",A2)-1)

Is there a way to change it from all caps to just capitalized names.

Ex.
currently - DOE, JOHN
change to - John Doe
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default LAST, FIRST to First Last

Hi,

Like this

=PROPER(TRIM(MID(A2,FIND(",",A2)+1,99))&" "&LEFT(A2,FIND(",",A2)-1))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Erinayn" wrote:

I have data in LAST, FIRST and used this formula...

=TRIM(MID(A2,FIND(",",A2)+1,99))&" "&LEFT(A2,FIND(",",A2)-1)

Is there a way to change it from all caps to just capitalized names.

Ex.
currently - DOE, JOHN
change to - John Doe

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default LAST, FIRST to First Last

Use the Proper function

=Proper(TRIM(MID(A2,FIND(",",A2)+1,99))&" "&LEFT(A2,FIND(",",A2)-1))


--
HTH...

Jim Thomlinson


"Erinayn" wrote:

I have data in LAST, FIRST and used this formula...

=TRIM(MID(A2,FIND(",",A2)+1,99))&" "&LEFT(A2,FIND(",",A2)-1)

Is there a way to change it from all caps to just capitalized names.

Ex.
currently - DOE, JOHN
change to - John Doe

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default LAST, FIRST to First Last

Perfect awesome to both of you!!

"Jim Thomlinson" wrote:

Use the Proper function

=Proper(TRIM(MID(A2,FIND(",",A2)+1,99))&" "&LEFT(A2,FIND(",",A2)-1))


--
HTH...

Jim Thomlinson


"Erinayn" wrote:

I have data in LAST, FIRST and used this formula...

=TRIM(MID(A2,FIND(",",A2)+1,99))&" "&LEFT(A2,FIND(",",A2)-1)

Is there a way to change it from all caps to just capitalized names.

Ex.
currently - DOE, JOHN
change to - John Doe

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default LAST, FIRST to First Last

Another one...

=PROPER(MID(A2&" "&A2,FIND(",",A2)+2,LEN(A2)-1))

--
Biff
Microsoft Excel MVP


"Erinayn" wrote in message
...
I have data in LAST, FIRST and used this formula...

=TRIM(MID(A2,FIND(",",A2)+1,99))&" "&LEFT(A2,FIND(",",A2)-1)

Is there a way to change it from all caps to just capitalized names.

Ex.
currently - DOE, JOHN
change to - John Doe





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



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