#1   Report Post  
bcboy4ca
 
Posts: n/a
Default Sorting Numbers

Hi everyone. I use excel to sort part numbers for the company I work for and
I have been doing it manually through cut and paste. I am hoping someone on
here can help me find an easier way. The problem I have is the part numbers
are 2, 3, 4, 5 digits long and we like to keep all the 2 digit numbers
together, 3 digit numbers together etc. When I use the sort feature it mixes
them all up is there any way to sort them so they come out the way I want
them. I hope I made this clear enough, thanks for any help.
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

Add an extra column to the left of your part numbers - and assuming your part
numbers are then in column B, use this formula to create a new list on which
to sort

=TEXT(B2,"00000")

Now your 2 digit part numbers will look like "000012" and if you sort on
this column, all the numbers will stay together the way you want



"bcboy4ca" wrote:

Hi everyone. I use excel to sort part numbers for the company I work for and
I have been doing it manually through cut and paste. I am hoping someone on
here can help me find an easier way. The problem I have is the part numbers
are 2, 3, 4, 5 digits long and we like to keep all the 2 digit numbers
together, 3 digit numbers together etc. When I use the sort feature it mixes
them all up is there any way to sort them so they come out the way I want
them. I hope I made this clear enough, thanks for any help.

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
sorting names alphabetically when names may start with numbers John Smith Excel Discussion (Misc queries) 3 May 11th 05 08:06 PM
sorting numbers more than one decimal Erin Excel Worksheet Functions 4 March 9th 05 07:19 PM
Sorting when some numbers have a text suffix confused on the tundra Excel Discussion (Misc queries) 5 December 18th 04 10:19 PM
Sorting imported "numbers" Confused on the tundra Excel Discussion (Misc queries) 5 December 17th 04 07:33 PM
Sorting numbers Douglas Sey New Users to Excel 0 November 27th 04 08:54 PM


All times are GMT +1. The time now is 09:40 AM.

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"