DATE Function May Return #NUM! Error When Year Is 0-3 (175753)
The information in this article applies to:
- Microsoft Excel 2000
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q175753 SYMPTOMS
The DATE function may return a #NUM! error even though the year, month,
and day arguments are all valid. For example, the following formula
may return a #NUM! error.
CAUSE
This problem occurs when the following conditions are true:
Because the 1904 Date System is the default date system in Microsoft Excel
for the Macintosh, this problem is more likely to occur on the Macintosh.
This behavior is by design of Microsoft Excel.
WORKAROUND
To work around this problem, use a full four-digit year argument that is
greater than or equal to 1904. For example, instead of the following
formula
use the following formula:
By specifying a valid full four-digit year, you can prevent the DATE function from returning a #NUM! error value.
Modification Type: | Minor | Last Reviewed: | 8/17/2005 |
---|
Keywords: | kbprb KB175753 |
---|
|