#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default sort

I need to sort columns that contain both letters & digits.

Example:
ab3
ab13
ab1

Would sort like:
ab1
ab13
ab3

When I want to sort like:
ab1
ab3
ab13

Is there a way to do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default sort

Try splitting the column into two columns, one that contains the text and one
that contains the numbers using the "Text to Columns" function in the data
menu.

Use the standard sort feature to sort the text colunm in the first field and
the data colunm in the second.

Finally, you can recombine the columns using the CONCANTENATE function.

Regards...

"frans" wrote:

I need to sort columns that contain both letters & digits.

Example:
ab3
ab13
ab1

Would sort like:
ab1
ab13
ab3

When I want to sort like:
ab1
ab3
ab13

Is there a way to do this?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default sort

Christopher,
Thanks for the help. This does work however, whatever I choose to separate
the column on I lose.
Example: I split the column on "b"
Then I get a column with a and one with the number but the b is gone:
a 13

Is there a way to prevent this?
Thanks.


"ChristopherTri" wrote:

Try splitting the column into two columns, one that contains the text and one
that contains the numbers using the "Text to Columns" function in the data
menu.

Use the standard sort feature to sort the text colunm in the first field and
the data colunm in the second.

Finally, you can recombine the columns using the CONCANTENATE function.

Regards...

"frans" wrote:

I need to sort columns that contain both letters & digits.

Example:
ab3
ab13
ab1

Would sort like:
ab1
ab13
ab3

When I want to sort like:
ab1
ab3
ab13

Is there a way to do this?

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
How to sort on data field [email protected] Excel Discussion (Misc queries) 0 August 30th 06 10:08 AM
how to sort anything that looks like a number as a number cyndiwise notsowise Excel Discussion (Misc queries) 4 August 29th 06 08:19 PM
Saving Sort Criteria (or Sort Lists) Jim J. Excel Worksheet Functions 1 July 25th 06 10:55 AM
Select rows and sort based on type Sarah Excel Discussion (Misc queries) 0 October 11th 05 05:06 PM
"-" ignored in sort Mike H Excel Discussion (Misc queries) 8 January 2nd 05 07:48 AM


All times are GMT +1. The time now is 01:23 PM.

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"