Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 131
Default Sorting table of numbers with different place values

How can I sort cells with letters and numbers, and the numerical digits have
different place values. For instance here is a simple list without decimals,
AA21, AA100, AA1, AA2. Is there a formula or macro that will sort the cells
as AA1, AA2, AA2, AA21, AA100?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,071
Default Sorting table of numbers with different place values

No. You will need to use a helper column. In that column place only the
numerical portion of the entry. You can do this with a formula. Post back
if you can furnish more detail about the entries and want help with that
formula. Having done that, you sort all the columns by that helper column.
Then you delete the helper column. HTH Otto
"Lynn" wrote in message
...
How can I sort cells with letters and numbers, and the numerical digits
have
different place values. For instance here is a simple list without
decimals,
AA21, AA100, AA1, AA2. Is there a formula or macro that will sort the
cells
as AA1, AA2, AA2, AA21, AA100?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 131
Default Sorting table of numbers with different place values

Thanks for the help Otto. Here is a better example of the items that need to
be in correct order. BE4-1.0L60 should be the first item after a sort.
BE16-2.0L400
BE16-2.5L200
BE16-2.5L250
BE16-2.5L315
BE16-2.5L400
BE4-1.0L100
BE4-1.0L125
BE4-1.0L160
BE4-1.0L60
BE4-1.0L80
BE4-1.2L100
BE4-1.2L125
BE4-1.2L160


"Otto Moehrbach" wrote:

No. You will need to use a helper column. In that column place only the
numerical portion of the entry. You can do this with a formula. Post back
if you can furnish more detail about the entries and want help with that
formula. Having done that, you sort all the columns by that helper column.
Then you delete the helper column. HTH Otto
"Lynn" wrote in message
...
How can I sort cells with letters and numbers, and the numerical digits
have
different place values. For instance here is a simple list without
decimals,
AA21, AA100, AA1, AA2. Is there a formula or macro that will sort the
cells
as AA1, AA2, AA2, AA21, AA100?




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
Compare values and place corresponding value in another sheet Whitney Excel Discussion (Misc queries) 3 April 14th 09 04:45 PM
Sorting Values in Pivot Table Bruce Excel Discussion (Misc queries) 4 October 22nd 08 09:20 PM
Zero displayed in place of negative values TC Excel Discussion (Misc queries) 3 May 9th 07 08:07 PM
Automatic Sorting of Top Ten values in a table Learning Excel Excel Discussion (Misc queries) 2 April 20th 07 08:32 PM
Look up values and place in spreadsheet jh3016 Excel Discussion (Misc queries) 10 July 26th 05 12:43 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"