Works 2000: Year Function Does Not Return Accurate Date (239158)
The information in this article applies to:
- Microsoft Works 2000
- Microsoft Works Suite 2000
- Microsoft Works 4.5
- Microsoft Works 4.5a
- Microsoft Works for Windows 95, version 4.0
- Microsoft Works for Windows 95, version 4.0 4.0a
This article was previously published under Q239158 SYMPTOMS
If you use the year function in a formula that is designed to calculate the year 2000 in Microsoft Works Spreadsheet, the year may be calculated incorrectly.
CAUSE
This problem may occur if the following conditions are true:
- The date entered in the date cell is later than 12/31/1999.
- The cell in which you want to calculate the year is formatted as a date.
RESOLUTION
To work around this problem, use one of the following methods.
Calculate a 4-Digit Year
To calculate a 4-digit year:
- In Works Spreadsheet, click the cell in which you want the year to be calculated.
- On the Format menu, click Number.
- Under Format, click the General option, and then click OK.
Note Do not click the Date option. If you do, the formula cannot calculate the year properly. - Type the following formula in the cell
where date is the date cell from which the preceding formula derives the year.
Calculate a 2-Digit Year
To calculate a 2-digit year:
- In Works Spreadsheet, click the cell in which you want the year to be calculated.
- On the Format menu, click Number.
- Under Format, click the Leading Zeros option.
- In the Number of digits box, type 2, and then click OK.
Note Do not click the Date option. If you do, the formula cannot calculate the year properly. - Type the following formula in the cell
where date is the date cell from which the preceding formula derives the year.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/15/2004 |
---|
Keywords: | kbbug kbdisplay kbpending kbui KB239158 |
---|
|