#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Sorting Call Numbers

I'm trying to sort a list of call numbers for a library and I want the list
to read as follows:
AM7 .G55 1996
AM7 .R435 2004
AM11 .G45 1994
AM101 .S55 S555 1993

But when I sort, it looks like this:
AM101 .S55 S555 1993
AM11 .G45 1994
AM7 .G55 1996
AM7 .R435 2004

Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default Sorting Call Numbers

I think you need a separate sort field where you give each code section the
maximum space the code section can take, then sort on this

e.g. AM7--.G55--2004-----, where - is a space

all codes need to be the same length for sorting to work correctly


"clemcorc" wrote:

I'm trying to sort a list of call numbers for a library and I want the list
to read as follows:
AM7 .G55 1996
AM7 .R435 2004
AM11 .G45 1994
AM101 .S55 S555 1993

But when I sort, it looks like this:
AM101 .S55 S555 1993
AM11 .G45 1994
AM7 .G55 1996
AM7 .R435 2004

Any suggestions?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Sorting Call Numbers

You can make your life easier by using:

AM007 .G055 1996
AM007 .R435 2004
AM011 .G045 1994
AM101 .S055 S555 1993

Although, I'm not sure how that last one fits in.

clemcorc wrote:

I'm trying to sort a list of call numbers for a library and I want the list
to read as follows:
AM7 .G55 1996
AM7 .R435 2004
AM11 .G45 1994
AM101 .S55 S555 1993

But when I sort, it looks like this:
AM101 .S55 S555 1993
AM11 .G45 1994
AM7 .G55 1996
AM7 .R435 2004

Any suggestions?


--

Dave Peterson
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 high numbers from low numbers between two rows scotty New Users to Excel 7 February 12th 07 09:38 PM
Sorting - cells containing numbers, numbers and letters Gunny Excel Discussion (Misc queries) 5 July 16th 06 01:22 AM
How do I sort Library of Congress call numbers in Excel? Casper Excel Worksheet Functions 7 July 12th 06 06:46 PM
Call Center Management: How to calculate 'cost per call' Denniso6 Excel Discussion (Misc queries) 2 June 25th 06 05:01 PM
Sorting numbers with differing numbers of digits Trudy Excel Discussion (Misc queries) 5 March 4th 06 12:31 PM


All times are GMT +1. The time now is 10:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"