WD: Table Formula SUM(Above) Adds Number from Heading RowLast reviewed: February 4, 1998Article ID: Q105639 |
The information in this article applies to:
SYMPTOMSIn Word 6.x-7.x, if a table row marked as Headings has a cell that contains a number with no other text characters, the formula SUM(Above) incorrectly includes the value from the heading row cell into the calculation. In Word 97 for Windows and Word 98 Macintosh Edition, the formula SUM(Above) incorrectly includes the value from the heading row into the calculation even if the cell in the Heading row of the table contains text and a number. This happens only on the first page of the table.
CAUSEWhen Word searches for the contiguous cells, it starts at the formula cell and continues up until it finds the first cell containing a number. It stops when it encounters the first blank cell or cell containing a number and/or text characters above the last cell that contains a number only.
MORE INFORMATIONThe following are some examples where the formula results are incorrect and others where the results are correct.
Sample Table with Formulas
--------------------------------------------------------- | 1 | Two | No. 3 | 4 | --------------------------------------------------------- | 2 | 2 | 2 | | --------------------------------------------------------- | 3 | 3 | row 3 | 3 | --------------------------------------------------------- |{=SUM(Above)}|{=SUM(Above)}|{=SUM(Above)}|{=SUM(Above)}| --------------------------------------------------------- Sample Table with Results
--------------------------------------------------------- | 1 | Two | No. 3 | 4 | --------------------------------------------------------- | 2 | 2 | 2 | | --------------------------------------------------------- | 3 | 3 | row 3 | 3 | --------------------------------------------------------- | 6 | 5 | 5 | 3 | ---------------------------------------------------------NOTE: Word 97 for Windows and Word 98 Macintosh Edition returns 8 in Row4 Column3. Row 1 of the Sample Table was marked as Headings (select the row and click Headings on the Table menu). Result of Row4 Column1:
If there are numbers in the column above the target cell, as well as to the left, the default formula in the dialog box will read SUM(Above). This may be edited to read SUM(Left) to sum the row instead. Note that if there is a cell above the target cell that contains only text, below other cells containing numbers, SUM(Left) is offered as the default. The formulas SUM(Below) and SUM(Right) are also valid in the appropriate cell context, but are never offered as a default. If there are no cells containing numbers to the left or above the target cell the default offered is only '='. You may add the SUM formula you want to the dialog box field.
|
Additional query words: sum total calculate 8.0 8.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |