Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
darkjedi
 
Posts: n/a
Default Custom sorting with Letters and Zeros


Hi were have problems in sorting out our inventory item numbers. We have
over 15,000 item numbers that can't be changed or zeros deleted. The
problem is when there are zeros in the item number.

Excell sort
CA0002
CA00020
CA0021
CA02
CA021
CA02C

Needs to be
CA0002
CA02
CA02C
CA00020
CA0021
CA021

Thanks


--
darkjedi
------------------------------------------------------------------------
darkjedi's Profile: http://www.excelforum.com/member.php...o&userid=29153
View this thread: http://www.excelforum.com/showthread...hreadid=536350

  #2   Report Post  
Posted to microsoft.public.excel.misc
Barb Reinhardt
 
Posts: n/a
Default Custom sorting with Letters and Zeros

Several questions:

1) Do the inventory numbers ALWAYS start with 2 characters?
2) Are the numbers all together within the inventory number?

Answer this and maybe we can give you a more detailed response. I believe
you'll need to have a couple of helper columns for this however. The first
would be for the two character code at the beginning:

=left(A1,2)

I believe there is a function that extracts values, but someone else may
need to help with that.


"darkjedi" wrote:


Hi were have problems in sorting out our inventory item numbers. We have
over 15,000 item numbers that can't be changed or zeros deleted. The
problem is when there are zeros in the item number.

Excell sort
CA0002
CA00020
CA0021
CA02
CA021
CA02C

Needs to be
CA0002
CA02
CA02C
CA00020
CA0021
CA021

Thanks


--
darkjedi
------------------------------------------------------------------------
darkjedi's Profile: http://www.excelforum.com/member.php...o&userid=29153
View this thread: http://www.excelforum.com/showthread...hreadid=536350


  #3   Report Post  
Posted to microsoft.public.excel.misc
Jim Cone
 
Posts: n/a
Default Custom sorting with Letters and Zeros

The "Special Sort" commercial add-in from yours truly will do that...
http://www.officeletter.com/blink/specialsort.html
--
Jim Cone
San Francisco, USA


"darkjedi"
wrote in message
Hi were have problems in sorting out our inventory item numbers.
We have over 15,000 item numbers that can't be changed or zeros deleted.
The problem is when there are zeros in the item number.

Excell sort
CA0002
CA00020
CA0021
CA02
CA021
CA02C

Needs to be
CA0002
CA02
CA02C
CA00020
CA0021
CA021

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
darkjedi
 
Posts: n/a
Default Custom sorting with Letters and Zeros


The Item number are dependent of the manufacture. We have over 300
manufactures, so it could start with AC1 and end with ZT121. It can
also start with 2 to 3 letters. The letters and numbers of the item
number are together.

Thanks
Darkjedi


--
darkjedi
------------------------------------------------------------------------
darkjedi's Profile: http://www.excelforum.com/member.php...o&userid=29153
View this thread: http://www.excelforum.com/showthread...hreadid=536350

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
Letters and 000s in front of actual number not sorting correctly darkjedi Excel Discussion (Misc queries) 1 December 1st 05 03:48 PM
Need help with TRIM function Phil Excel Worksheet Functions 9 October 21st 05 08:02 PM
Leading Zeros with a twist. Steve D Excel Discussion (Misc queries) 1 July 30th 05 01:28 AM


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