#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Date Format m/yy

I can't seem to find the correct date format. I put in a custom format of
m/yy. I type in 10/04 (for October 2004) and the cell displays 10/07 and the
formula bar shows 10/4/2007. I want 10/04 to display. I'm using Excel 2002
SP3 in case that matters.

Thanks for the help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Date Format m/yy

type in 10/1/04. remember that excel considers date to consist of m-d-y.
you are creating a custom format - to show some of this info, not all (not
the "d").

when you type 10/4, excel thinks you mean 10/4/07. it allows you to only
type in m-d if you want the current year.

"dread" wrote:

I can't seem to find the correct date format. I put in a custom format of
m/yy. I type in 10/04 (for October 2004) and the cell displays 10/07 and the
formula bar shows 10/4/2007. I want 10/04 to display. I'm using Excel 2002
SP3 in case that matters.

Thanks for the help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Date Format m/yy

You can't have an incomplete date in Excel. That is, there no way to store
the value "October 2004" without specifying a day of month. You need to
include the day of month when you enter the value. E.g,. enter 10/1/04 and
format with m/yy


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)


"dread" wrote in message
...
I can't seem to find the correct date format. I put in a custom format of
m/yy. I type in 10/04 (for October 2004) and the cell displays 10/07 and
the
formula bar shows 10/4/2007. I want 10/04 to display. I'm using Excel
2002
SP3 in case that matters.

Thanks for the help.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Date Format m/yy

First, display format has *nothing* to do with how the parser interprets
your input (except that setting it to Text bypasses the parser
altogether). So your display date format doesn't matter.

XL will try to make partial dates fit the current year if possible
(which is why 10/04 == 10/04/07 but 4/40 == 4/1/1940

See XL Help's "About dates and date systems"/"How Excel interprets
incomplete or ambiguous date entries" for more.


In article ,
dread wrote:

I can't seem to find the correct date format. I put in a custom format of
m/yy. I type in 10/04 (for October 2004) and the cell displays 10/07 and the
formula bar shows 10/4/2007. I want 10/04 to display. I'm using Excel 2002
SP3 in case that matters.

Thanks for the help.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,089
Default Date Format m/yy

Excel is just trying to be helpful.

When you put in something that looks like it is a date or part of a date,
Excel will format it as a date and try to fill in the gap. The "/" is the
clue that Excel is looking for to indicate a date.

I'm assuming that you're entering your date in Month, Day, Year format ...
hence month 10, day 4 in your example. Excel perceives the gap to be the
year and kindly adds 2007. Thus your display is month 10, year 07 ... and
throws away the day 04.

I'm not sure there is a way round this. Simplest way would be to type
10/1/4 to get 10/04. Probably not what you want to hear.

Regards

Trevor


"dread" wrote in message
...
I can't seem to find the correct date format. I put in a custom format of
m/yy. I type in 10/04 (for October 2004) and the cell displays 10/07 and
the
formula bar shows 10/4/2007. I want 10/04 to display. I'm using Excel
2002
SP3 in case that matters.

Thanks for the help.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Date Format m/yy

Thank you. That worked great!

"RichN" wrote:

type in 10/1/04. remember that excel considers date to consist of m-d-y.
you are creating a custom format - to show some of this info, not all (not
the "d").

when you type 10/4, excel thinks you mean 10/4/07. it allows you to only
type in m-d if you want the current year.

"dread" wrote:

I can't seem to find the correct date format. I put in a custom format of
m/yy. I type in 10/04 (for October 2004) and the cell displays 10/07 and the
formula bar shows 10/4/2007. I want 10/04 to display. I'm using Excel 2002
SP3 in case that matters.

Thanks for the help.

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
Concatenating a Text and a Date without losing orginal Date Format Hi_no_Tori Excel Discussion (Misc queries) 5 September 17th 06 06:35 PM
Can I change a date with no format (20051111) to date format? Rose New Users to Excel 2 November 11th 05 09:03 PM
day/month/year in incorrect format for date format M&A_Jack Excel Worksheet Functions 2 August 16th 05 08:15 PM
How can I convert a date format to an ISO week format (in EXCEL)? ELI Excel Discussion (Misc queries) 2 July 6th 05 06:31 PM
Excel 2000 date format cannot be set to Australian date format Brian Jones Excel Discussion (Misc queries) 1 March 30th 05 06:03 AM


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