Article ID: 214365 - Last Review: September 25, 2003 - Revision: 3.0 XL2000: DATE Function May Return #NUM! Error When Year Is 0-3This article was previously published under Q214365 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
=DATE(1,7,5) CAUSE
This problem occurs when the following conditions are true:
0 00 1900
1 01 1901
2 02 1902
3 03 1903
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
=DATE(1,7,5) =DATE(2001,7,5) MORE INFORMATION
In Microsoft Excel, you can use either of following two date systems.
Date system First day is Default date system in
----------------------------------------------------------------------
1900 Date System January 1, 1900 Microsoft Excel for Windows
Microsoft Excel for Windows NT
1904 Date System January 1, 1904 Microsoft Excel for the Macintosh
Result when using Result when using
Formula 1900 Date System 1904 Date System
----------------------------------------------------------------
=DATE(0,1,1) 1/1/1900 #NUM!
=DATE(1,7,5) 7/5/1901 #NUM!
=DATE(1902,8,12) 8/12/1902 #NUM! (since year < 1904)
=DATE(4,3,31) 3/31/1904 3/31/1904
| Article Translations
|
Back to the top
