PC Review


Reply
Thread Tools Rate Thread

Change order of text in a cell?

 
 
abqhusker
Guest
Posts: n/a
 
      7th Jan 2006
A1=John Smith, I was able to find on the internet how to reverse it to =
Smith John. Question is if A1=John L Smith, then the formula changes it
to L Smith John. Is there a formula to make John L Smith change to
Smith John L? Is there a formula that can add the comma after the last
name also? Appreciate any help you can give me. I'm tiring out looking
for the answer on the internet, primarily because I having a hard time
typing in a good keyword in google cause I'm not sure how to describe
this problem (eg text manipulation, reversing order, switch text string,
etc). Thanks in advance.

Ed
 
Reply With Quote
 
 
 
 
CLR
Guest
Posts: n/a
 
      7th Jan 2006
=MID(A1,FIND(" ",A1,FIND(" ",A1,1)+1)+1,99)&", "&LEFT(A1,FIND(" ",A1,FIND("
",A1,1)+1))

Vaya con Dios,
Chuck, CABGx3



"abqhusker" <(E-Mail Removed)> wrote in message
news:43bff99c$0$16730$(E-Mail Removed)...
> A1=John Smith, I was able to find on the internet how to reverse it to =
> Smith John. Question is if A1=John L Smith, then the formula changes it
> to L Smith John. Is there a formula to make John L Smith change to
> Smith John L? Is there a formula that can add the comma after the last
> name also? Appreciate any help you can give me. I'm tiring out looking
> for the answer on the internet, primarily because I having a hard time
> typing in a good keyword in google cause I'm not sure how to describe
> this problem (eg text manipulation, reversing order, switch text string,
> etc). Thanks in advance.
>
> Ed



 
Reply With Quote
 
abqhusker
Guest
Posts: n/a
 
      8th Jan 2006
Thanks for replying, Chuck. It works perfectly. I wish I could write
formulas like that. I have no idea what the MID, FIND, and LEFT
function work. Can you recommend a good resource for learning that kind
of stuff. In any event, thanks a million again.

Ed


CLR wrote:
> =MID(A1,FIND(" ",A1,FIND(" ",A1,1)+1)+1,99)&", "&LEFT(A1,FIND(" ",A1,FIND("
> ",A1,1)+1))
>
> Vaya con Dios,
> Chuck, CABGx3
>
>
>
> "abqhusker" <(E-Mail Removed)> wrote in message
> news:43bff99c$0$16730$(E-Mail Removed)...
>
>>A1=John Smith, I was able to find on the internet how to reverse it to =
>>Smith John. Question is if A1=John L Smith, then the formula changes it
>>to L Smith John. Is there a formula to make John L Smith change to
>>Smith John L? Is there a formula that can add the comma after the last
>>name also? Appreciate any help you can give me. I'm tiring out looking
>>for the answer on the internet, primarily because I having a hard time
>>typing in a good keyword in google cause I'm not sure how to describe
>>this problem (eg text manipulation, reversing order, switch text string,
>>etc). Thanks in advance.
>>
>>Ed

>
>
>

 
Reply With Quote
 
CLR
Guest
Posts: n/a
 
      8th Jan 2006
You're more than welcome Ed, and thanks for the nice note of appreciation.
As for learning the TEXT type formulas, the HELP file does have a basic,
albeit difficult to understand explanation.......the rest is a matter of
just playing with them back and forth until you get comfortable with them
and can get them to do what you want........and keep reading and searching
these newsgroups, and asking questions per your need.......they are the
greatest source of info on how to use Excel that I have found.........

Vaya con Dios,
Chuck, CABGx3





"abqhusker" <(E-Mail Removed)> wrote in message
news:43c072b3$0$22202$(E-Mail Removed)...
> Thanks for replying, Chuck. It works perfectly. I wish I could write
> formulas like that. I have no idea what the MID, FIND, and LEFT
> function work. Can you recommend a good resource for learning that kind
> of stuff. In any event, thanks a million again.
>
> Ed
>
>
> CLR wrote:
> > =MID(A1,FIND(" ",A1,FIND(" ",A1,1)+1)+1,99)&", "&LEFT(A1,FIND("

",A1,FIND("
> > ",A1,1)+1))
> >
> > Vaya con Dios,
> > Chuck, CABGx3
> >
> >
> >
> > "abqhusker" <(E-Mail Removed)> wrote in message
> > news:43bff99c$0$16730$(E-Mail Removed)...
> >
> >>A1=John Smith, I was able to find on the internet how to reverse it to =
> >>Smith John. Question is if A1=John L Smith, then the formula changes it
> >>to L Smith John. Is there a formula to make John L Smith change to
> >>Smith John L? Is there a formula that can add the comma after the last
> >>name also? Appreciate any help you can give me. I'm tiring out looking
> >>for the answer on the internet, primarily because I having a hard time
> >>typing in a good keyword in google cause I'm not sure how to describe
> >>this problem (eg text manipulation, reversing order, switch text string,
> >>etc). Thanks in advance.
> >>
> >>Ed

> >
> >
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change order of data in a cell David Microsoft Excel Programming 2 7th Jan 2009 04:37 PM
RE: Change order of data in a cell Seyed Microsoft Excel Programming 0 6th Jan 2009 11:25 PM
RE: Change order of data in a cell Mike H Microsoft Excel Programming 1 6th Jan 2009 09:55 PM
Re: Change order of data in a cell Ron Rosenfeld Microsoft Excel Programming 0 6th Jan 2009 09:40 PM
Change order of data in a cell Mary-Anne Microsoft Excel Misc 3 30th Oct 2008 09:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:53 PM.