Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
terickson
 
Posts: n/a
Default How do I sort dates by month rather than by year?

I pulled a birthdates query out of our data base and when I sort the
worksheet it sorts by the year. I am a beginner with querys so I do not know
how to change the format of the cells so that I can sort by month and day
instead.
  #2   Report Post  
Jim Cone
 
Posts: n/a
Default

t,
a couple of answers here...
http://makeashorterlink.com/?O17025ADB
Jim Cone
San Francisco, USA


"terickson"
wrote in message

I pulled a birthdates query out of our data base and when I sort the
worksheet it sorts by the year. I am a beginner with querys so I do not know
how to change the format of the cells so that I can sort by month and day
instead.
  #3   Report Post  
Myrna Larson
 
Posts: n/a
Default

You can use a "helper" column containing this formula, and sort on that helper
column. The gormula assumes the original date is in A1:

=MONTH(A1)*100+DAY(A1)




On Fri, 23 Sep 2005 10:18:01 -0700, terickson
wrote:

I pulled a birthdates query out of our data base and when I sort the
worksheet it sorts by the year. I am a beginner with querys so I do not know
how to change the format of the cells so that I can sort by month and day
instead.

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 I sort dates stored as 1-Jun-05 in order of day & month stuckiniraq Excel Worksheet Functions 1 July 18th 05 08:38 AM
sort dates by day then month, not by year. Lisa Peterson Excel Worksheet Functions 5 July 12th 05 10:38 AM
sort dates by month and day not year dianne Excel Worksheet Functions 2 March 8th 05 08:16 PM
How sort dates just by day/month and NOT year if all 3 given in ce smags Excel Worksheet Functions 1 January 25th 05 03:45 AM
How to sort by day and month while ignoring year? Robert Judge Excel Worksheet Functions 4 December 23rd 04 11:37 PM


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