Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Sort By Date, Ignore Year

I have a need to sort a group of dates, ascending ignoring the year. the list

1/15/1960
1/06/1948
1/21/1980
1/1/1985

would be sorted as

1/1/1985
1/06/1948
1/15/1960
1/21/1980

Can any one help? What is needed to do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Sort By Date, Ignore Year

make a dummy column. Assume your first date is in A1

in row1 of the dummy column
=Date(2000,month(a1),day(a1))

copy this down and sort using this column as your key

I used a year of 2000 since it was a leap year.

--
Regards,
Tom Ogilvy



SRBROTZ wrote in message
m...
I have a need to sort a group of dates, ascending ignoring the year. the

list

1/15/1960
1/06/1948
1/21/1980
1/1/1985

would be sorted as

1/1/1985
1/06/1948
1/15/1960
1/21/1980

Can any one help? What is needed to do this?



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
Sort by date but not year Beth Scheel Excel Discussion (Misc queries) 4 July 8th 08 03:17 PM
Using the sort function for a date column where year was not enter Grosvenor Excel Worksheet Functions 4 April 2nd 08 03:30 AM
Sort by date month and not year Visha Excel Discussion (Misc queries) 4 December 17th 07 07:15 PM
I want to sort by month, date, year. Birthdates. How do I do it Shebamandy Excel Worksheet Functions 2 October 17th 06 04:52 PM
Sort month/date/year data using month and date only SMW820 Excel Discussion (Misc queries) 6 June 22nd 06 05:14 PM


All times are GMT +1. The time now is 05:04 PM.

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"