A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

alpha numeric sorting



 
 
Thread Tools Display Modes
  #1  
Old October 9th, 2009, 05:11 AM posted to microsoft.public.excel.misc
troubled
external usenet poster
 
Posts: 37
Default alpha numeric sorting

I have a list of names, a comma, then numbers. How do I sort by the numbers.
example

John Doe,245
jane Doe,123
Robert k,999
Dan Doe,522 Sort to

Jane Doe,123
John Doe,245
Dan Doe,522
Robert K,999

Thanks

  #2  
Old October 9th, 2009, 05:26 AM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default alpha numeric sorting

You can using a helper column

--With the data in Col A apply the below formula in ColB cell B1 and copy
down.
=0+MID(A1,FIND(",",A1)+1,99)

--This will extract the numbers..Select ColA and ColB.; Sort by ColB. Once
sorted you can remove ColB or keep it hidden...(for future sorts..)

If this post helps click Yes
---------------
Jacob Skaria


"troubled" wrote:

I have a list of names, a comma, then numbers. How do I sort by the numbers.
example

John Doe,245
jane Doe,123
Robert k,999
Dan Doe,522 Sort to

Jane Doe,123
John Doe,245
Dan Doe,522
Robert K,999

Thanks

  #3  
Old October 9th, 2009, 07:32 AM posted to microsoft.public.excel.misc
David Biddulph
external usenet poster
 
Posts: 8,714
Default alpha numeric sorting

Data/ Text to columns, with comma as delimiter, then select both columns and
sort by the second column.
--
David Biddulph

"troubled" wrote in message
...
I have a list of names, a comma, then numbers. How do I sort by the
numbers.
example

John Doe,245
jane Doe,123
Robert k,999
Dan Doe,522 Sort to

Jane Doe,123
John Doe,245
Dan Doe,522
Robert K,999

Thanks



  #4  
Old October 9th, 2009, 10:16 PM posted to microsoft.public.excel.misc
LXG
external usenet poster
 
Posts: 8
Default alpha numeric sorting

=RIGHT(A1,3)
where A1 equals first data then copy down then sort
assumes all right three characters are numbers


"David Biddulph" wrote:

Data/ Text to columns, with comma as delimiter, then select both columns and
sort by the second column.
--
David Biddulph

"troubled" wrote in message
...
I have a list of names, a comma, then numbers. How do I sort by the
numbers.
example

John Doe,245
jane Doe,123
Robert k,999
Dan Doe,522 Sort to

Jane Doe,123
John Doe,245
Dan Doe,522
Robert K,999

Thanks




 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:28 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.