PC Review


Reply
Thread Tools Rate Thread

converting cell data / opposite?

 
 
Jorge
Guest
Posts: n/a
 
      9th Sep 2004
Hello Excel gurus...

I have a cell/column containing a persons name:
John Doe

I'd like to convert cell/column to read:
Doe, John

What formula is used in order to make this happen?
I've tried left/right/len commands out the wazzoo (technical word) - I
give... uncle....

Any help?
Jorge


 
Reply With Quote
 
 
 
 
JulieD
Guest
Posts: n/a
 
      9th Sep 2004
Hi Jorge

in another cell use
=RIGHT(C14,FIND(" ",C14)-1) &", " & LEFT(C14,FIND(" ",C14))

where C14 has the original data in it

Cheers
JulieD

"Jorge" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello Excel gurus...
>
> I have a cell/column containing a persons name:
> John Doe
>
> I'd like to convert cell/column to read:
> Doe, John
>
> What formula is used in order to make this happen?
> I've tried left/right/len commands out the wazzoo (technical word) - I
> give... uncle....
>
> Any help?
> Jorge
>
>



 
Reply With Quote
 
Jorge
Guest
Posts: n/a
 
      9th Sep 2004
Julie (thank you)

Works okay except for some reason longer names it cutting off first few
xters?

ie
Walter Robinson
returns result
binson, Walter

Any clue?
Jorge

"JulieD" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> Hi Jorge
>
> in another cell use
> =RIGHT(C14,FIND(" ",C14)-1) &", " & LEFT(C14,FIND(" ",C14))
>
> where C14 has the original data in it
>
> Cheers
> JulieD
>
> "Jorge" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hello Excel gurus...
> >
> > I have a cell/column containing a persons name:
> > John Doe
> >
> > I'd like to convert cell/column to read:
> > Doe, John
> >
> > What formula is used in order to make this happen?
> > I've tried left/right/len commands out the wazzoo (technical word) - I
> > give... uncle....
> >
> > Any help?
> > Jorge
> >
> >

>
>



 
Reply With Quote
 
JulieD
Guest
Posts: n/a
 
      9th Sep 2004
Hi Jorge

sorry it's

=RIGHT(C14,LEN(C14)-FIND(" ",C14)) &", " & LEFT(C14,FIND(" ",C14))

(second time today i've made the same mistake!)

Cheers
JulieD


"Jorge" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Julie (thank you)
>
> Works okay except for some reason longer names it cutting off first few
> xters?
>
> ie
> Walter Robinson
> returns result
> binson, Walter
>
> Any clue?
> Jorge
>
> "JulieD" <(E-Mail Removed)> wrote in message
> news:#(E-Mail Removed)...
> > Hi Jorge
> >
> > in another cell use
> > =RIGHT(C14,FIND(" ",C14)-1) &", " & LEFT(C14,FIND(" ",C14))
> >
> > where C14 has the original data in it
> >
> > Cheers
> > JulieD
> >
> > "Jorge" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Hello Excel gurus...
> > >
> > > I have a cell/column containing a persons name:
> > > John Doe
> > >
> > > I'd like to convert cell/column to read:
> > > Doe, John
> > >
> > > What formula is used in order to make this happen?
> > > I've tried left/right/len commands out the wazzoo (technical word) - I
> > > give... uncle....
> > >
> > > Any help?
> > > Jorge
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Jorge
Guest
Posts: n/a
 
      9th Sep 2004
Thanx Julie...
I saw the LEN out was the issue...

Have a good dy!

Jorge

"JulieD" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> Hi Jorge
>
> sorry it's
>
> =RIGHT(C14,LEN(C14)-FIND(" ",C14)) &", " & LEFT(C14,FIND(" ",C14))
>
> (second time today i've made the same mistake!)
>
> Cheers
> JulieD
>
>
> "Jorge" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Julie (thank you)
> >
> > Works okay except for some reason longer names it cutting off first few
> > xters?
> >
> > ie
> > Walter Robinson
> > returns result
> > binson, Walter
> >
> > Any clue?
> > Jorge
> >
> > "JulieD" <(E-Mail Removed)> wrote in message
> > news:#(E-Mail Removed)...
> > > Hi Jorge
> > >
> > > in another cell use
> > > =RIGHT(C14,FIND(" ",C14)-1) &", " & LEFT(C14,FIND(" ",C14))
> > >
> > > where C14 has the original data in it
> > >
> > > Cheers
> > > JulieD
> > >
> > > "Jorge" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > Hello Excel gurus...
> > > >
> > > > I have a cell/column containing a persons name:
> > > > John Doe
> > > >
> > > > I'd like to convert cell/column to read:
> > > > Doe, John
> > > >
> > > > What formula is used in order to make this happen?
> > > > I've tried left/right/len commands out the wazzoo (technical word) -

I
> > > > give... uncle....
> > > >
> > > > Any help?
> > > > Jorge
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Earl Kiosterud
Guest
Posts: n/a
 
      10th Sep 2004
Jorge,

You may find you'll need the first and last names separated into separate
columns, such as to do a sort by last name. You might want to consider
converting your table. Here are two formulas, just parts of Julie's

Last Name: =RIGHT(C14,LEN(C14)-FIND(" ",C14))
First Name: =LEFT(C14,FIND(" ",C14))

You could put these in a couple of columns (copied down with the fill handle
as necessary), then you could make it permananent, allowing you to remove
the original column with the full names. Select the columns, Copy, then
with them still selected, Edit - Paste Special - Values. Now remove the
original full name column.

Where needed, you could combine them into full names. If the last name in
C15, and the First name in C16, you could use

Doe, John: =C15 & ", " & C16
John Doe: =C16 & " " & C15
--
Earl Kiosterud
mvpearl omitthisword at verizon period net

President Bush on sovereignty:
http://www.tastefullystated.com/sovereignty.wmv

-------------------------------------------

"Jorge" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello Excel gurus...
>
> I have a cell/column containing a persons name:
> John Doe
>
> I'd like to convert cell/column to read:
> Doe, John
>
> What formula is used in order to make this happen?
> I've tried left/right/len commands out the wazzoo (technical word) - I
> give... uncle....
>
> Any help?
> Jorge
>
>



 
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
Copy tab name to a cell or opposite RG Microsoft Excel Worksheet Functions 1 18th Feb 2010 10:21 AM
Converting data format within a cell rylv5050 Microsoft Excel Programming 1 9th Feb 2009 08:55 PM
converting numerical data in one cell to word data in another cell Vishnu Microsoft Excel Worksheet Functions 2 4th Jun 2008 03:14 PM
Converting data in one cell to 3 different cells =?Utf-8?B?U3RldmU=?= Microsoft Excel Worksheet Functions 6 12th Jul 2006 02:00 PM
Converting data in >20 cells in a column - into one cell JL Microsoft Excel Worksheet Functions 2 16th Dec 2003 06:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:31 AM.