Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Sorting dates by month instead of year

I am trying to sort my employee birthday list by month and then date so I can
see at a glance upcoming birthdays. However, no matter what I do I seem to be
getting the results sorted by the year, which I do not want.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
~L ~L is offline
external usenet poster
 
Posts: 177
Default Sorting dates by month instead of year

If the birthday date is in column B:

=text(B2,mm/dd)

Will produce results that will sort by month.

"MMangen" wrote:

I am trying to sort my employee birthday list by month and then date so I can
see at a glance upcoming birthdays. However, no matter what I do I seem to be
getting the results sorted by the year, which I do not want.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Sorting dates by month instead of year

I rec'd a "value" error!

"~L" wrote:

If the birthday date is in column B:

=text(B2,mm/dd)

Will produce results that will sort by month.

"MMangen" wrote:

I am trying to sort my employee birthday list by month and then date so I can
see at a glance upcoming birthdays. However, no matter what I do I seem to be
getting the results sorted by the year, which I do not want.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Sorting dates by month instead of year

Try:

=text(B2,"mm/dd")



MMangen wrote:

I rec'd a "value" error!

"~L" wrote:

If the birthday date is in column B:

=text(B2,mm/dd)

Will produce results that will sort by month.

"MMangen" wrote:

I am trying to sort my employee birthday list by month and then date so I can
see at a glance upcoming birthdays. However, no matter what I do I seem to be
getting the results sorted by the year, which I do not want.


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Sorting dates by month instead of year

It worked with one tweak - putting the mm/dd in quotes like this "mm/dd"

"MMangen" wrote:

I rec'd a "value" error!

"~L" wrote:

If the birthday date is in column B:

=text(B2,mm/dd)

Will produce results that will sort by month.

"MMangen" wrote:

I am trying to sort my employee birthday list by month and then date so I can
see at a glance upcoming birthdays. However, no matter what I do I seem to be
getting the results sorted by the year, which I do not want.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Sorting dates by month instead of year

Assuming dates are in column A

In B1, enter =MONTH(A1)

Double-click on fill handle to copy down.

Select both columns and sort on column B


Gord Dibben MS Excel MVP

On Tue, 19 Dec 2006 10:13:00 -0800, MMangen
wrote:

I am trying to sort my employee birthday list by month and then date so I can
see at a glance upcoming birthdays. However, no matter what I do I seem to be
getting the results sorted by the year, which I do not want.


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
Entering Dates for a Prior Year Stranded Excel Discussion (Misc queries) 0 September 8th 06 06:34 PM
entering items on specific dates of year Puzzled Excel Discussion (Misc queries) 0 March 11th 06 03:32 PM
Counting dates for a the present month but not future months BrianInCalifornia Excel Worksheet Functions 3 December 7th 05 02:00 AM
Ho to Delete "Ghost" Pivot Tables needyourhelp Excel Discussion (Misc queries) 3 November 17th 05 10:10 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


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