Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
SMW820
 
Posts: n/a
Default Sort month/date/year data using month and date only

Hi,

I am attempting to sort a list of companies that are formatted in our
database system by month/date/year (mm/dd/yyyy). I want them to sort by
month and date only, however Excel 2000 recognizes the year as a criteria.

How do I get the program to ignore the year information for these 4,000+
entries?

Thanks so much.
SMW820
  #2   Report Post  
Posted to microsoft.public.excel.misc
Daniel CHEN
 
Posts: n/a
Default Sort month/date/year data using month and date only

An indirect way:
Insert two extra columns - one for month using MONTH function and another
for day using DAY function.
Then sort by month and day.

--
Best regards,
---
Yongjun CHEN
==================================
- - - - www.XLDataSoft.com - - - -
Free Excel/VBA Tool & Training Material
==================================
"SMW820" wrote in message
...
Hi,

I am attempting to sort a list of companies that are formatted in our
database system by month/date/year (mm/dd/yyyy). I want them to sort by
month and date only, however Excel 2000 recognizes the year as a criteria.

How do I get the program to ignore the year information for these 4,000+
entries?

Thanks so much.
SMW820



  #3   Report Post  
Posted to microsoft.public.excel.misc
Marcelo
 
Posts: n/a
Default Sort month/date/year data using month and date only

Hi,

you could use an auxiliar column with =month(a1)&day(a1) copy it down and
sort by this column

HTH
Regards from Brazil
Marcelo

"SMW820" escreveu:

Hi,

I am attempting to sort a list of companies that are formatted in our
database system by month/date/year (mm/dd/yyyy). I want them to sort by
month and date only, however Excel 2000 recognizes the year as a criteria.

How do I get the program to ignore the year information for these 4,000+
entries?

Thanks so much.
SMW820

  #4   Report Post  
Posted to microsoft.public.excel.misc
SMW820
 
Posts: n/a
Default Sort month/date/year data using month and date only

Hi Daniel:

Thank you for your solution. At first I did not understand. After reading
the second response from Marcelo, I got it! And it worked!

Thanks again.
SMW820

"Daniel CHEN" wrote:

An indirect way:
Insert two extra columns - one for month using MONTH function and another
for day using DAY function.
Then sort by month and day.

--
Best regards,
---
Yongjun CHEN
==================================
- - - - www.XLDataSoft.com - - - -
Free Excel/VBA Tool & Training Material
==================================
"SMW820" wrote in message
...
Hi,

I am attempting to sort a list of companies that are formatted in our
database system by month/date/year (mm/dd/yyyy). I want them to sort by
month and date only, however Excel 2000 recognizes the year as a criteria.

How do I get the program to ignore the year information for these 4,000+
entries?

Thanks so much.
SMW820




  #5   Report Post  
Posted to microsoft.public.excel.misc
SMW820
 
Posts: n/a
Default Sort month/date/year data using month and date only

Hi Marcelo:

Thank you for your response. I had received another similar solution prior
to yours, and did not understand. I gained clarity after reading your
answer. And it worked!

Thanks so much.
SMW820


"Marcelo" wrote:

Hi,

you could use an auxiliar column with =month(a1)&day(a1) copy it down and
sort by this column

HTH
Regards from Brazil
Marcelo

"SMW820" escreveu:

Hi,

I am attempting to sort a list of companies that are formatted in our
database system by month/date/year (mm/dd/yyyy). I want them to sort by
month and date only, however Excel 2000 recognizes the year as a criteria.

How do I get the program to ignore the year information for these 4,000+
entries?

Thanks so much.
SMW820



  #6   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default Sort month/date/year data using month and date only


Marcelo Wrote:
Hi,

you could use an auxiliar column with =month(a1)&day(a1) copy it down
and
sort by this column

HTH
Regards from Brazil
Marcelo



I think you'd have a problem with this approach. 11th January and 1st
november would both become 111.

For a one column approach try

=DATE(0,MONTH(A1),DAY(A1))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=554245

  #7   Report Post  
Posted to microsoft.public.excel.misc
SMW820
 
Posts: n/a
Default Sort month/date/year data using month and date only

Hi "daddylonglegs",

Yes, I can see where this might become an issue and luckily I did not have
any of these dates in the system. However, I will also keep this version of
the recommended solutions on hand for future reference.

Thanks very much for your help.
SMW820

"daddylonglegs" wrote:


Marcelo Wrote:
Hi,

you could use an auxiliar column with =month(a1)&day(a1) copy it down
and
sort by this column

HTH
Regards from Brazil
Marcelo



I think you'd have a problem with this approach. 11th January and 1st
november would both become 111.

For a one column approach try

=DATE(0,MONTH(A1),DAY(A1))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=554245


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 create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
Calculate 1st of month date from existing date. Jim15 Excel Discussion (Misc queries) 1 January 9th 06 10:05 PM
How do I sort data by Month on the date format like (02/04/97)? Winnie Excel Discussion (Misc queries) 5 October 14th 05 07:16 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
How do you sort a date range by month? Brewisc13 Excel Discussion (Misc queries) 13 July 7th 05 06:45 PM


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