View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default sorting numbers in a column

One way is to use a helper col to convert the col of numbers to text,
then sort both cols by the helper col

Assume the numbers are in A1 down
Put in B1, copy down: =TEXT(A1,"@")
Now sort both cols A & B by col B, ascending
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"kailuamike" wrote
in message ...

Problem: The numbers I am sorting are composed of various numbers of
integers, some having four digits, others five or six, and so on. I
would like to have them sort by number regardless of number of digits.
Will Excel let me do this?
example: presently it looks like this:
3004
12001656
530393505
2200498378

and I really want it to sort like this:
12001656
2200498378
3004
530393505

Can this be done?


--
kailuamike
------------------------------------------------------------------------
kailuamike's Profile:

http://www.excelforum.com/member.php...o&userid=29558
View this thread: http://www.excelforum.com/showthread...hreadid=494495