Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Sort by date but not year

A coworker maintains a list of clients' birthdays so we can send a card. She
wants to sort it by the date column so that we have all of July's birthdays
in one section, for instance. However, when she types in the month and day,
it automatically assigns the current year to the date, even though it is not
displayed. She did most of the list last year, so most of them are 2007
dates. The ones she added this year are assigned 2008, so when sorting by
date, they show up at the end, not mixed with the other July birthdays that
were entered in 2007.

How do we get a strictly month/day date with no year?
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Sort by date but not year

You could create two new columns, one for the day and one for the month, the
formulae to populate these columns would be
Day (as in 1 to 31):
=day(yourDateCell)
Month(as in 1 to 12)
=month(yourDateCell)

You could then format these columns to show the month in text.

"Beth Scheel" wrote:

A coworker maintains a list of clients' birthdays so we can send a card. She
wants to sort it by the date column so that we have all of July's birthdays
in one section, for instance. However, when she types in the month and day,
it automatically assigns the current year to the date, even though it is not
displayed. She did most of the list last year, so most of them are 2007
dates. The ones she added this year are assigned 2008, so when sorting by
date, they show up at the end, not mixed with the other July birthdays that
were entered in 2007.

How do we get a strictly month/day date with no year?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default Sort by date but not year

Other option would be to format the column as text. Then when you enter, for
example, 7/14, it will remain as 7/14. When you sort, it will give you the
option to sort anything that looks like a number as a number, so 7/14 will
still be before 10/7.

--
John C


"Beth Scheel" wrote:

A coworker maintains a list of clients' birthdays so we can send a card. She
wants to sort it by the date column so that we have all of July's birthdays
in one section, for instance. However, when she types in the month and day,
it automatically assigns the current year to the date, even though it is not
displayed. She did most of the list last year, so most of them are 2007
dates. The ones she added this year are assigned 2008, so when sorting by
date, they show up at the end, not mixed with the other July birthdays that
were entered in 2007.

How do we get a strictly month/day date with no year?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Sort by date but not year

Another one.

Insert a new column.
=text(a2,"mmdd")
and drag down
and sort all the data by that column.

Beth Scheel wrote:

A coworker maintains a list of clients' birthdays so we can send a card. She
wants to sort it by the date column so that we have all of July's birthdays
in one section, for instance. However, when she types in the month and day,
it automatically assigns the current year to the date, even though it is not
displayed. She did most of the list last year, so most of them are 2007
dates. The ones she added this year are assigned 2008, so when sorting by
date, they show up at the end, not mixed with the other July birthdays that
were entered in 2007.

How do we get a strictly month/day date with no year?


--

Dave Peterson
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
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
Year-to-date year to date formula Philm Excel Worksheet Functions 1 October 7th 05 02:50 AM


All times are GMT +1. The time now is 11:10 PM.

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"