WD: Negative Numbers Miscalculated in Word Table

Last reviewed: February 2, 1998
Article ID: Q95407
The information in this article applies to:
  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1
  • Microsoft Word for Windows 95, version 7.0
  • Microsoft Word 97 for Windows
  • Microsoft Word 98 Macintosh Edition

SYMPTOMS

Word miscalculates negative numbers in a table in the following cases.

Case 1 (Word 2.x and Word 6.x)

When you use the SUM function, and the negative marking (such as a minus sign or parentheses) is to the right of the dollar sign

   $ -300.0
   $ (300.0)

Word adds the number instead of subtracting it.

NOTE: If you bookmark the values, Word reads the minus sign or parentheses as a string character, which causes the bookmarked number to have a value of 0 (zero) when you use the bookmark name in a calculation.

Case 2 (Word 6.x and Later)

Numbers enclosed within parentheses are ignored if they are more than one column away from the formula. In the following table, the result of the calculation is 7, instead of the expected result of 6:

   1  (2)  3  4  {=SUM(LEFT)}

When Word encounters the parentheses, it treats the number as text and disregards any other numbers to the left of it.

WORKAROUND

Case 1

Move the dollar sign to the immediate left of the number. For example, change this

     $ -300.0
     $ (300.0)

to this:

     - $300.0
     ( $300.0)

Case 2

Method 1:

Use negative signs instead of parentheses.

Method 2:

Change the formula to refer to the cell range. Change the formula in this table

             1  (2)  3  4  {=SUM(LEFT)}

to this:

             1  (2)  3  4  {=SUM(A1:D1)}

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: above right below
Keywords : macword winword word6 word7 word95
Version : MACINTOSH:6.0,6.0.1,6.0.1a,98; WINDOWS:2.0,2.0a,2.0a- CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0,7.0a,97
Platform : MACINTOSH WINDOWS
Issue type : kbbug
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.