Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am trying to sort a list of articlenumbers, example:
1, 2, 10, 22, 202. I want to sort it like: 1, 10, 2, 202, 22. Can anyone tell me how to do that? Thank you in advance!! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
since it isn't sorting them that way as the default, then I assume they are
stored as numbers rather than text. In an adjacent column, put in a formula like (assume the first number is in B2) C2: =Text(B2,"#") then drag fill down the column. Select the rows you want to sort and sort your data using column C as the sort key. -- Regards, Tom Ogilvy "Caroline" wrote: I am trying to sort a list of articlenumbers, example: 1, 2, 10, 22, 202. I want to sort it like: 1, 10, 2, 202, 22. Can anyone tell me how to do that? Thank you in advance!! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Caroline,
Say your data is in column A. Insert a helper column and in B1 put ="."&A1 and drag down to the end of your data, this will convert it to .1, .2, .10, ..202 etc. Then sort on column B ascending, and then delete column B HTH Martin |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use a helper col to change the numbers to text, then sort both ascending by
the helper col using "Sort numbers and numbers stored as text separately" Assuming source numbers in A1 down Put in B1: =A1&"" Copy down Then select both cols A and B, sort by col B ascending Sort numbers and numbers stored as text separately OK -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Caroline" wrote: I am trying to sort a list of article numbers, example: 1, 2, 10, 22, 202. I want to sort it like: 1, 10, 2, 202, 22. Can anyone tell me how to do that? Thank you in advance!! |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Convert the numbers to text
=TEXT(A1,0) Then you can sort as text. -- David Biddulph "Caroline" wrote in message ... I am trying to sort a list of articlenumbers, example: 1, 2, 10, 22, 202. I want to sort it like: 1, 10, 2, 202, 22. Can anyone tell me how to do that? Thank you in advance!! |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you!
My boss will love me :-) "Max" skrev: Use a helper col to change the numbers to text, then sort both ascending by the helper col using "Sort numbers and numbers stored as text separately" Assuming source numbers in A1 down Put in B1: =A1&"" Copy down Then select both cols A and B, sort by col B ascending Sort numbers and numbers stored as text separately OK -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Caroline" wrote: I am trying to sort a list of article numbers, example: 1, 2, 10, 22, 202. I want to sort it like: 1, 10, 2, 202, 22. Can anyone tell me how to do that? Thank you in advance!! |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Good to hear that, Caroline <g
-- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Caroline" wrote in message ... Thank you! My boss will love me :-) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sorting | Excel Worksheet Functions | |||
Sorting: Sorting by the First Character | Excel Discussion (Misc queries) | |||
Sorting 1, 1A, 2, 2A, 3, 4, 4A, 4B . . . | Excel Discussion (Misc queries) | |||
sorting | Excel Discussion (Misc queries) | |||
help on sorting | Excel Discussion (Misc queries) |