#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default date display

For the purpose of sorting an employee list on date of birth I want to
convert a date from10/17/50 to 10/17 and be able to sort it. I don't care
what year they were born in. Thanks...Craig


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default date display

Use a cell in an adjacent column with a formula like:
=text(a2,"mm/dd")

And sort your range by that helper column.

Craig wrote:

For the purpose of sorting an employee list on date of birth I want to
convert a date from10/17/50 to 10/17 and be able to sort it. I don't care
what year they were born in. Thanks...Craig


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default date display

Craig

You have to split the month and day out from the year.

In an adjacent cell enter =TEXT(A1,"mm/dd")

Sort on that column which ignores the year.


Gord Dibben MS Excel MVP

On Mon, 5 Feb 2007 18:40:46 -0500, "Craig" wrote:

For the purpose of sorting an employee list on date of birth I want to
convert a date from10/17/50 to 10/17 and be able to sort it. I don't care
what year they were born in. Thanks...Craig


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
Display another Cell's DATE value Here Michell Major Excel Discussion (Misc queries) 0 October 23rd 06 03:46 PM
How to return a value between date ranges Mary-Lou Excel Worksheet Functions 7 May 26th 06 10:00 PM
Display latest arrival date Annabelle Excel Discussion (Misc queries) 3 February 21st 06 01:34 PM
Exporting from MYOB to Excel the date cell doesn't display as dat. VickiO Excel Worksheet Functions 2 March 8th 05 12:43 AM
Combine & Display “Fixed” & “Automatically Updated” Date Parts texcel Excel Worksheet Functions 1 November 1st 04 05:38 PM


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