XL: Wrong Date Returned When You Enter Month and DigitsLast reviewed: February 13, 1998Article ID: Q180952 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel, if you enter a month name that is spelled out or abbreviated and is followed by a space and one or two digits, the date that appears in the cell may be different than the date you expect. For example, when you enter the following dates, Excel displays the dates in the following table.
Date You Enter The Date That Appears -------------------------------------- Dec 1 December 1, 1998 Dec 31 December 31, 1998 Dec 32 December 1, 1932 December 99 December 1, 1999 CAUSEWhen you enter a month and a one or two digit number, Microsoft Excel assumes that the digits represent the day of the month and that the date is in the current year. For example, "Dec 31" translates into December 31 in the current year. However, if the digits exceed the number of days in the month, Microsoft Excel converts the digits to a year and assumes that the date is on the first of the month. For example, "Dec 32" translates into December 1, 1932.
RESOLUTIONTo prevent problems from occurring when you enter dates, use the following guidelines:
STATUSThis behavior is by design of the versions of Microsoft Excel listed above.
|
Additional query words: XL5 XL7 XL97 y2k year2000 february 2029
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |