#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default SORTING PROBLEM

I have a spread sheet that has locations in it formated as : 1A2, 1B2,
1C2,

1A3, 1B3, 1C3 , on and on etc....

I need to sort it so all the 1A2's are listed, then the 1B2's then the 1C2's
, and then the 1A3's , 1B3's , etc




How can I achieve this ....
If I remove all the first digits and then sort It gets it close too what I
need, but I still have to do a lot of cutting and pasting to get the final
product.... Also removeing all the first digits is a huge task.....


I know there has to be an easier way.... but I don't have as much experiece
and knowledge..


Any suggestions would be appreciated...
Thanks
Grace




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,290
Default SORTING PROBLEM

Grace,
Assuming your data is in a single column and it starts in B5.
Using two adjacent blank columns...
This formula in the first extra column: =RIGHT(B5,LEN(B5)-1)
This formula in the other extra column: =RIGHT(B5,1)
Sort all three columns using the first extra column, the "other"
column and then your original data as the sort column order.
Depending on the full extent of your data, it may do what you want.
--
Jim Cone
San Francisco, USA
http://www.officeletter.com/blink/specialsort.html


"Grace"
wrote in message
I have a spread sheet that has locations in it formated as :
1A2, 1B2, 1C2, 1A3, 1B3, 1C3 , on and on etc....

I need to sort it so all the 1A2's are listed, then the 1B2's
then the 1C2's, and then the 1A3's , 1B3's , etc

How can I achieve this ....
If I remove all the first digits and then sort It gets it close too what I
need, but I still have to do a lot of cutting and pasting to get the final
product.... Also removeing all the first digits is a huge task.....
I know there has to be an easier way.... but I don't have as much experiece
and knowledge..
Any suggestions would be appreciated...
Thanks
Grace




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default SORTING PROBLEM

Thank you ... it has gotten me closer... not completey where I need it
yet... but I will keep fooling with it..

Thanks

"Jim Cone" wrote in message
...
Grace,
Assuming your data is in a single column and it starts in B5.
Using two adjacent blank columns...
This formula in the first extra column: =RIGHT(B5,LEN(B5)-1)
This formula in the other extra column: =RIGHT(B5,1)
Sort all three columns using the first extra column, the "other"
column and then your original data as the sort column order.
Depending on the full extent of your data, it may do what you want.
--
Jim Cone
San Francisco, USA
http://www.officeletter.com/blink/specialsort.html


"Grace"
wrote in message
I have a spread sheet that has locations in it formated as :
1A2, 1B2, 1C2, 1A3, 1B3, 1C3 , on and on etc....

I need to sort it so all the 1A2's are listed, then the 1B2's
then the 1C2's, and then the 1A3's , 1B3's , etc

How can I achieve this ....
If I remove all the first digits and then sort It gets it close too what I
need, but I still have to do a lot of cutting and pasting to get the final
product.... Also removeing all the first digits is a huge task.....
I know there has to be an easier way.... but I don't have as much

experiece
and knowledge..
Any suggestions would be appreciated...
Thanks
Grace






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
Column matching - sorting. Fairly hard problem, I think. A S-D Excel Discussion (Misc queries) 13 April 7th 06 01:52 PM
Problem sorting cells containing hyperlinks cottonchipper Excel Worksheet Functions 1 November 5th 05 03:08 PM
Date sorting problem Ardell Excel Discussion (Misc queries) 1 November 4th 05 05:46 PM
An instant sorting problem Chris Excel Worksheet Functions 1 November 4th 04 07:31 PM
Sorting problem Chris Excel Worksheet Functions 1 November 3rd 04 11:27 PM


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