WD: Wrong Calculation Result with Bookmarks in TableLast reviewed: February 2, 1998Article ID: Q113980 |
The information in this article applies to:
SYMPTOMSA formula in Word may show an incorrect result if the calculation refers to a bookmark in a table when the bookmark includes the entire cell. For example, the following table has two cells, with a bookmark applied to the first cell:
-------------------- | 4 | 6 | -------------------- ^--test1---^The next paragraph contains a field that multiplies the bookmark:
{=test1*3 }The result of the field is 30, but it should be 12.
CAUSEWhen the bookmark includes the cell's boundary, it also includes information about the number of columns, which is then included in the calculation.
WORKAROUNDTo work around this problem, use either of the following methods.
Method 1Apply the bookmark only to the contents of a cell, not to the entire cell. This method is best when you expect that the contents of the cells won't change, or if you only reference one cell from the table.
Method 2Use the following procedure to refer to the individual cells by applying a bookmark anywhere in the table. This method is most efficient when you need to use several cells from the table.
{=sum(Table1[A1])+sum(Table1[B1])} |
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |