Microsoft Knowledge Base |
|
Formula with Division Operators Returns Incorrect Result |
|
|
Last reviewed: March 27, 1997
Article ID: Q135092 |
|
5.00 5.00c 7.00 | 5.00 5.00a
WINDOWS | MACINTOSHkbprb The information in this article applies to:
SYMPTOMSIn Microsoft Excel, you can enter a formula that is not preceded with an equal sign by doing either of the following:
CAUSEThis problem may occur if the cell is formatted with a number format other than General.
WORKAROUNDTo work around this problem, use either of the following methods: Method 1: Precede formulas with an equal sign. Method 2: Format the cells with the General number format.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe result is wrong because the formula is incorrectly evaluated. For example, if you were to enter the formula x/y/z, the formula is evaluated as x/(y/z) instead of being evaluated from left to right as expected. For example, with Transition Formula Entry turned on, if you were to enter the formula:
6000000/30/17(without the equal sign) into a cell that was formatted with a number format other than General, the formula is incorrectly evaluated and returns the value 3400000. The formula is incorrectly evaluated as
6000000/(30/17)and the resulting formula is 6000000/1.7647. If the cell is formatted as General or if the formula is preceded with an equal sign, the formula returns the value 11764.71.
|
|
KBCategory: kbprb
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |