Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jack
 
Posts: n/a
Default Elimate year (either YY or YYYY) in data

I want to format a column ONLY using day and month so that I can sort
by that column. The default includes the year I have entered the data
(i.e. 2004 or 2005) which corrupts the sort. Anyway to remove it? I
have tried custom and special under format. Doesn't work. Thanks.

Jack

  #2   Report Post  
Karl Burrows
 
Posts: n/a
Default

Why doesn't MMM DD, MMMM DD or M/DD work in custom formatting?

"Jack" wrote in message
oups.com...
I want to format a column ONLY using day and month so that I can sort
by that column. The default includes the year I have entered the data
(i.e. 2004 or 2005) which corrupts the sort. Anyway to remove it? I
have tried custom and special under format. Doesn't work. Thanks.

Jack


  #3   Report Post  
Harald Staff
 
Posts: n/a
Default

Hi Jack

Excel is not Wysiwyg. Formatting excel cells changes presentation only, it
does NOT change the actual content. So the years will be in there no matter
how you format the cells.

HTH. Best wishes Harald

"Jack" skrev i melding
oups.com...
I want to format a column ONLY using day and month so that I can sort
by that column. The default includes the year I have entered the data
(i.e. 2004 or 2005) which corrupts the sort. Anyway to remove it? I
have tried custom and special under format. Doesn't work. Thanks.

Jack



  #4   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

JAck,

Use one (or two) helper columns. In the first, use a formula like

=MONTH(A1)

and in the second, use

=DAY(A1)

Then copy down to match your data, and sort based on the Month formula
column first, and the Day formula column second.

The single helper column could be:

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

HTH,
Bernie
MS Excel MVP


"Jack" wrote in message
oups.com...
I want to format a column ONLY using day and month so that I can sort
by that column. The default includes the year I have entered the data
(i.e. 2004 or 2005) which corrupts the sort. Anyway to remove it? I
have tried custom and special under format. Doesn't work. Thanks.

Jack



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
Pivot Table Data Field Query Pepikins Excel Worksheet Functions 1 June 14th 05 10:58 PM
Macro to search for and display data in another worksheet Mark H Excel Worksheet Functions 0 June 14th 05 12:40 PM
Pull Current Month's Data Out of List - Repost Karl Burrows Excel Discussion (Misc queries) 4 May 3rd 05 01:06 AM
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM
Running Data Table using an input that triggers DDE linked data [email protected] Excel Discussion (Misc queries) 1 December 16th 04 11:56 AM


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