Excel: Documentation Error in YEARFRAC FunctionLast reviewed: November 29, 1994Article ID: Q89026 |
The information in this article applies to:
SUMMARYIn the "Microsoft Excel Function Reference," version 4.0, page 469, the example of the YEARFRAC function is incorrect. The last comment in the Remarks section of the YEARFRAC function is also incorrect.
MORE INFORMATIONThe example that reads:
YEARFRAC(DATEVALUE("01/01/91"), DATEVALUE("07/01/91"),3) equals 0.49589Should read:
YEARFRAC(DATEVALUE("01/01/91"), DATEVALUE("06/30/91"),3) equals 0.49589The last comment in the REMARKS section reads:
* If start_date >= end_date, YEARFRAC returns the #NUM! error value.This is incorrect. If the starting date and ending date are both valid serial dates, the YEARFRAC function does not return #NUM! if the start_date is greater than or equal to the end_date. Note that this second problem has been corrected in the Microsoft Excel version 5.0 Help file.
REFERENCES"Microsoft Excel Function Reference," version 4.0, page 469
|
KBCategory: kbdocerr
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |