Excel: LCM() Function Returns Wrong ResultLast reviewed: November 30, 1994Article ID: Q90432 |
The information in this article applies to:
SYMPTOMSIn version 4.0 of Microsoft Excel, if you include a number that is greater than or equal to 50,000,000 (approximately), the LCM() function may return a result that is much larger than it should be.
STATUSMicrosoft has confirmed this to be a problem in the versions of Microsoft Excel listed above. This problem was corrected in version 5.0 of Microsoft Excel for Windows.
MORE INFORMATIONThe LCM() function returns the Least Common Multiple of a group of up to 29 integers. If one of the numbers in the group is greater than or equal to 50,000,000, LCM() may return an incorrect value. The Least Common Multiple is the smallest positive integer that is divisible by all of the numbers in the group.
ExampleA1: 35 A2: 91 A3: 50000000 A4: =LCM(A1:A3) The answer returned is 35 times too big.
REFERENCES"Microsoft Excel Function Reference," version 4.0, page 251
|
KBCategory: kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |