Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default how can i change the default sort order in excel?

I have some data I am pulling from a system that records days of the week as
M, T, W, H, F, S, and U (Monday, Tuesday . . . . Sunday). I need to sort the
list so that it is in the order that the week follows (above) as opposed to
alphabetical (the result I get when I use the sort feature). I'm pretty
comfortable with everything in Excel except for VB which I fear holds my
solution. Does anyone out there have an idea??
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default how can i change the default sort order in excel?

I assume your column contains one of the codes you list. You can set up a
custom sort order. Check it out in Help. Then you have to use Data/Sort and
specify the custom order for this column (which must also be the 1st key).

On Thu, 16 Sep 2004 19:53:05 -0700, kristenlc
wrote:

I have some data I am pulling from a system that records days of the week as
M, T, W, H, F, S, and U (Monday, Tuesday . . . . Sunday). I need to sort the
list so that it is in the order that the week follows (above) as opposed to
alphabetical (the result I get when I use the sort feature). I'm pretty
comfortable with everything in Excel except for VB which I fear holds my
solution. Does anyone out there have an idea??


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default how can i change the default sort order in excel?

Thank you! That worked like a charm!

"Myrna Larson" wrote:

I assume your column contains one of the codes you list. You can set up a
custom sort order. Check it out in Help. Then you have to use Data/Sort and
specify the custom order for this column (which must also be the 1st key).

On Thu, 16 Sep 2004 19:53:05 -0700, kristenlc
wrote:

I have some data I am pulling from a system that records days of the week as
M, T, W, H, F, S, and U (Monday, Tuesday . . . . Sunday). I need to sort the
list so that it is in the order that the week follows (above) as opposed to
alphabetical (the result I get when I use the sort feature). I'm pretty
comfortable with everything in Excel except for VB which I fear holds my
solution. Does anyone out there have an idea??



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default how can i change the default sort order in excel?

BTW, if you have the actual date in one of the columns (rather than just the
single letter code you show), you can set up a "helper" column containing the
formula =WEEKDAY(A1,2) or =WEEKDAY(A1,3). That will return the numbers 1-7 or
0-6, respectively. Then you can sort on this column.

On Thu, 16 Sep 2004 21:07:02 -0700, kristenlc
wrote:

Thank you! That worked like a charm!

"Myrna Larson" wrote:

I assume your column contains one of the codes you list. You can set up a
custom sort order. Check it out in Help. Then you have to use Data/Sort and
specify the custom order for this column (which must also be the 1st key).

On Thu, 16 Sep 2004 19:53:05 -0700, kristenlc
wrote:

I have some data I am pulling from a system that records days of the week

as
M, T, W, H, F, S, and U (Monday, Tuesday . . . . Sunday). I need to sort

the
list so that it is in the order that the week follows (above) as opposed

to
alphabetical (the result I get when I use the sort feature). I'm pretty
comfortable with everything in Excel except for VB which I fear holds my
solution. Does anyone out there have an idea??




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
Change default series line color order Leonard Lan Excel Discussion (Misc queries) 5 July 2nd 08 03:02 AM
How to change the column order in Excel table with multiple sort Kate LeGrand Excel Discussion (Misc queries) 1 August 1st 07 04:28 PM
Default Sort Order Jeff G Excel Worksheet Functions 4 September 3rd 06 01:17 PM
excel change default column sort to current selection john palmer Excel Worksheet Functions 2 March 8th 05 03:07 PM
how do I reset the default sort order in excel xp back to blanks . MardiL Excel Discussion (Misc queries) 2 February 24th 05 08:15 PM


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