Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default sort in numberical order

help! I can't seem to get excell to sort in real numerical order ie 1, 2, 3,
4, 5 and NOT 1, 10, 100, 2, 20, etc. my data is definatatly sorted in
number format
Using excell 2003
hope someone can help
thanks
Dawn
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default sort in numberical order

I think your numbers are really text values that look like numbers, for
it to sort in the way you say.

Pete

Dawn wrote:
help! I can't seem to get excell to sort in real numerical order ie 1, 2, 3,
4, 5 and NOT 1, 10, 100, 2, 20, etc. my data is definatatly sorted in
number format
Using excell 2003
hope someone can help
thanks
Dawn


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default sort in numberical order

How do i make sure there really numbers? all numbers are preceeded by the
letters TMB, could this be why?
Dawn

"Pete_UK" wrote:

I think your numbers are really text values that look like numbers, for
it to sort in the way you say.

Pete

Dawn wrote:
help! I can't seem to get excell to sort in real numerical order ie 1, 2, 3,
4, 5 and NOT 1, 10, 100, 2, 20, etc. my data is definatatly sorted in
number format
Using excell 2003
hope someone can help
thanks
Dawn



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default sort in numberical order

Hi Dawn,

So, you have values like TMB1, TMB2, TMB10 etc in your column? If you
want these to be sorted correctly you should make the numerical part
have the same number of digits by inserting leading zeros.

Assume that these values are in column A starting in cell A2, and that
you could have up to 4 digits after the TMB part. In the first blank
column (eg F2), enter this formula:

="TMB"&TEXT(RIGHT(A2,LEN(A2)-3),"0000")

The 4 zeros at the end determine how many leading zeros to add - you
can increase this if necessary, then copy the formula down for as many
entries as you have in column A.

Now you should set your sort range to include this extra column, and
use that column as the sort key. If you wish, you could fix the values
in this column and then copy them into column A to overwrite the values
that are there - then you could delete the helper column.

Hope this helps.

Pete

Dawn wrote:
How do i make sure there really numbers? all numbers are preceeded by the
letters TMB, could this be why?
Dawn

"Pete_UK" wrote:

I think your numbers are really text values that look like numbers, for
it to sort in the way you say.

Pete

Dawn wrote:
help! I can't seem to get excell to sort in real numerical order ie 1, 2, 3,
4, 5 and NOT 1, 10, 100, 2, 20, etc. my data is definatatly sorted in
number format
Using excell 2003
hope someone can help
thanks
Dawn




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 469
Default sort in numberical order

Same problem Is there a seperator that will allow a new list in options new
list. What can be done to get true numerical sorting. Not familar with helper
columns. Also want to be able to convert action to macro.
Thanks


"Pete_UK" wrote:

I think your numbers are really text values that look like numbers, for
it to sort in the way you say.

Pete

Dawn wrote:
help! I can't seem to get excell to sort in real numerical order ie 1, 2, 3,
4, 5 and NOT 1, 10, 100, 2, 20, etc. my data is definatatly sorted in
number format
Using excell 2003
hope someone can help
thanks
Dawn



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
Excel worksheets needs to sort ascending or descending order. Md. Mahfuzul Mannan Excel Worksheet Functions 1 September 3rd 06 05:04 PM
Sort Data Into Numerical Order..! Scooby Excel Discussion (Misc queries) 3 July 5th 06 01:24 PM
How do I format a column in alpha order? Marian New Users to Excel 3 April 2nd 06 05:15 PM
Sort order : Excel vs imported data John Excel Discussion (Misc queries) 0 December 9th 05 01:40 PM
sort worksheets in numerical order andrew Excel Discussion (Misc queries) 2 February 7th 05 09:09 PM


All times are GMT +1. The time now is 11:47 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"