Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Smart four digit sorting procedure


Hi,

I was wondering if there is any smart way you can sort lists of numbers with
some common features:

Ex:

99a0022-D.pdf
99a3065_2-3.pdf
9.9A-3068 Steel Structure
9.9A-3068 Steel Structure for GGH
99a3068 rev 4com.pdf
99a3068-1_1.pdf


You may notice that there are four digits in all of these files. However,
they are in different positions making the built in sorting function useless.
Is there any smart way to sort them according to the four digits and then
(the following numbers/letters) based on normal rules applied when sorting?



When this is done (I trust that you can help me!), Id like each file (the
ones first in line) with a unique four digit set to be copied into the row to
the right.


Ex:
99a0019_1-1.pdf 99a0019_1-1.pdf
99a0019_2-1.pdf
99a0021_1-1.pdf 99a0021_1-1.pdf
99a0021_2-1.pdf
99a0022-0.pdf 99a0022-0.pdf
99a0022-1.pdf
9.9A-3068 Steel Structure for A 9.9A-3068 Steel Structure for A
9.9A-3068 Steel Structure for B


Thank you! I look forward to hearing some smart ideas.

--
Kind regards, Nic
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 by last digit [email protected] Excel Worksheet Functions 6 January 3rd 07 12:54 AM
Sorting by 5 digit & 5 digit plus 4 zip codes D Marie Excel Worksheet Functions 1 August 22nd 06 05:17 PM
Sorting a six digit number by terminal digit Brian Excel Worksheet Functions 10 August 11th 06 06:50 PM
sorting alpha numeric list by first left digit kaduna New Users to Excel 6 January 13th 06 11:10 PM
12 digit code sorting Mark Excel Worksheet Functions 5 October 31st 05 10:21 PM


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