Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
american
 
Posts: n/a
Default reversing entry

Hello,

I am a teacher and many times I receive names of students in excel files for
example as John Doe. I would like to know if anyone knows of a way to convert
the name to Doe, John in an easy step so the name can be alphabetized.

If you know please let me know at american @ pressenter . com

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.newusers
JE McGimpsey
 
Posts: n/a
Default reversing entry

One way (assuming only 2 names):

=MID(A1,FIND(" ",A1)+1,255) & ", " & LEFT(A1,FIND(" ",A1)-1)

In article <60ff037be7cc5@uwe, "american" <u22419@uwe wrote:

Hello,

I am a teacher and many times I receive names of students in excel files for
example as John Doe. I would like to know if anyone knows of a way to convert
the name to Doe, John in an easy step so the name can be alphabetized.

If you know please let me know at american @ pressenter . com

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.newusers
gls858
 
Posts: n/a
Default reversing entry

american wrote:
Hello,

I am a teacher and many times I receive names of students in excel files for
example as John Doe. I would like to know if anyone knows of a way to convert
the name to Doe, John in an easy step so the name can be alphabetized.

If you know please let me know at american @ pressenter . com

Thanks


I would suggest using the text to column feature and separate the name into
two columns FirstName and LastName. This will allow you to sort by
either field.

Here's a link to a sample on the MS site.

http://office.microsoft.com/en-us/as...498511033.aspx



gls858
  #4   Report Post  
Posted to microsoft.public.excel.newusers
David McRitchie
 
Posts: n/a
Default reversing entry

Must get confusing with double first name like "Nancy Jo"
or compound last names like "van Buren"

First And Last Names
http://www.cpearson.com/excel/FirstLast.htm

Unless you are trying to save space it probably would be easier to
work with across applications if you used separate columns. The
main advantage to using a comma is the hope that someone doesn't
have both a very long last name *and* firstname.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"gls858" wrote in message ...
american wrote:
Hello,

I am a teacher and many times I receive names of students in excel files for
example as John Doe. I would like to know if anyone knows of a way to convert
the name to Doe, John in an easy step so the name can be alphabetized.

If you know please let me know at american @ pressenter . com

Thanks


I would suggest using the text to column feature and separate the name into
two columns FirstName and LastName. This will allow you to sort by
either field.

Here's a link to a sample on the MS site.

http://office.microsoft.com/en-us/as...498511033.aspx



gls858



  #5   Report Post  
Posted to microsoft.public.excel.newusers
gls858
 
Posts: n/a
Default reversing entry

David McRitchie wrote:
Must get confusing with double first name like "Nancy Jo"
or compound last names like "van Buren"

First And Last Names
http://www.cpearson.com/excel/FirstLast.htm

Unless you are trying to save space it probably would be easier to
work with across applications if you used separate columns. The
main advantage to using a comma is the hope that someone doesn't
have both a very long last name *and* firstname.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"gls858" wrote in message ...
american wrote:
Hello,

I am a teacher and many times I receive names of students in excel files for
example as John Doe. I would like to know if anyone knows of a way to convert
the name to Doe, John in an easy step so the name can be alphabetized.

If you know please let me know at american @ pressenter . com

Thanks

I would suggest using the text to column feature and separate the name into
two columns FirstName and LastName. This will allow you to sort by
either field.

Here's a link to a sample on the MS site.

http://office.microsoft.com/en-us/as...498511033.aspx



gls858




Yes, I can see where my suggestion wouldn't work in some cases. I hadn't
thought about the double names. Thanks for pointing that out.

gls858
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
prevent data entry into cell? keif Excel Worksheet Functions 3 April 3rd 06 08:37 PM
How do I compare the entry in one cell against all other cells Micki Excel Discussion (Misc queries) 1 February 10th 06 02:46 AM
Restricting entry in B1 on the basis of entry in A1 Biff Excel Worksheet Functions 0 December 3rd 05 03:41 AM
limit text entry in a range of cells QTPRM Excel Discussion (Misc queries) 2 May 25th 05 03:52 AM
Data Validation / Cell Entry Steve Jones Excel Discussion (Misc queries) 4 March 23rd 05 03:23 PM


All times are GMT +1. The time now is 05:22 AM.

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"