Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Soffi
 
Posts: n/a
Default Sorting by month, disregarding the year

I have a list of names in one column, and their date of birth in another
column.
I want to sort day and month, disregarding the year, in order to see who has
a birthday this month. But how ?
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

In a helper column, add a formula of

=MONTH(B2)

copy down, and sort by the helper column.

--
HTH

Bob Phillips

"Soffi" wrote in message
...
I have a list of names in one column, and their date of birth in another
column.
I want to sort day and month, disregarding the year, in order to see who

has
a birthday this month. But how ?



  #3   Report Post  
Myrna Larson
 
Posts: n/a
Default

Or, if you want to sort by month and DAY, make the formula

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


On Mon, 26 Sep 2005 09:01:18 +0100, "Bob Phillips"
wrote:

In a helper column, add a formula of

=MONTH(B2)

copy down, and sort by the helper column.

  #4   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

Or: =TEXT(B2,"mm-dd")

Myrna Larson wrote:
Or, if you want to sort by month and DAY, make the formula

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


On Mon, 26 Sep 2005 09:01:18 +0100, "Bob Phillips"
wrote:


In a helper column, add a formula of

=MONTH(B2)

copy down, and sort by the helper column.




--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
Showing data per month & year for comparison gman Excel Discussion (Misc queries) 3 September 7th 05 01:23 AM
sort dates by day then month, not by year. Lisa Peterson Excel Worksheet Functions 5 July 12th 05 10:38 AM
HELP - need to returns the current number of past month this year and ... elz64 Excel Worksheet Functions 6 April 6th 05 01:37 PM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM
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 01:55 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"