Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marzban J. Hathiram
 
Posts: n/a
Default Sorting a subscription list

Hi,

I manage a magazine subscription list in Excel. The subscription number is
made up of 3 characters - the first being the first letter of the surname
and the second being the next unique number in the surname letter series, ex
Smith would be S1 and Sloan would be S2 and so forth. When these are sorted
subscription numberwise, Excel will sort S1, then S10 and then go on to S2,
S20 etc. Is there any way to make excel sort it as S1, S2, S3 and so on?

Thanks in advance,
Marzban


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mallycat
 
Posts: n/a
Default Sorting a subscription list


Only by changing your number allocation process to S01, S02 etc

Matt


--
Mallycat
------------------------------------------------------------------------
Mallycat's Profile: http://www.excelforum.com/member.php...o&userid=35514
View this thread: http://www.excelforum.com/showthread...hreadid=555323

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MartinW
 
Posts: n/a
Default Sorting a subscription list

Hi Marzban,

You could use a helper column, assuming your S1, S10 etc. are in A1 down,
in B1 put =VALUE(MID(A1,2,3)) and copy down as far as your last
value then use sort ascending on column B.

The formula will work for your entire data but you will have to do a
seperate
sort for each letter of the alphabet. Now if someone can figure a way
that allows for the different letters we might have something useful.

HTH
Martin


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MartinW
 
Posts: n/a
Default Sorting a subscription list


Hi Marzban,

Addition to last post

In C1 put =LEFT(A1,1) and copy down
then do sort ascending on column B followed by sort ascending
on column C.

HTH
Martin



You could use a helper column, assuming your S1, S10 etc. are in A1 down,
in B1 put =VALUE(MID(A1,2,3)) and copy down as far as your last
value then use sort ascending on column B.

The formula will work for your entire data but you will have to do a
seperate
sort for each letter of the alphabet. Now if someone can figure a way
that allows for the different letters we might have something useful.

HTH
Martin




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Norman Jones
 
Posts: n/a
Default Sorting a subscription list

Hi Martin,

Now if someone can figure a way
that allows for the different letters we might have something useful


B1: =LEFT(A1,1)
C1: =--MID(A1,2,2)

Now Sort by Col B (asc) and Col C (asc)


---
Regards,
Norman



"MartinW" wrote in message
...
Hi Marzban,

You could use a helper column, assuming your S1, S10 etc. are in A1 down,
in B1 put =VALUE(MID(A1,2,3)) and copy down as far as your last
value then use sort ascending on column B.

The formula will work for your entire data but you will have to do a
seperate
sort for each letter of the alphabet. Now if someone can figure a way
that allows for the different letters we might have something useful.

HTH
Martin






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
How do you find the list option in excel on office xp angel Excel Worksheet Functions 8 June 22nd 06 09:29 PM
Sorting a List capnsean Excel Discussion (Misc queries) 1 June 2nd 06 04:24 PM
sorting rows into a list auspcs Excel Discussion (Misc queries) 4 May 19th 06 08:41 PM
matching a sorting the exact value in the data list Steve M Excel Discussion (Misc queries) 1 June 16th 05 08:38 PM
Extracting Values on one list and not another B Schwarz Excel Discussion (Misc queries) 4 January 7th 05 01:48 PM


All times are GMT +1. The time now is 12:23 AM.

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"