ID: Q188407
The information in this article applies to:
In the versions of Word listed at the beginning of this article, if a table row is formatted as a heading row (select the row and click Headings on the Table menu), the results of =SUM(Above) and =AVERAGE(Above) formulas may not be what you expect.
Word includes values from the heading row in the calculation.
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
When Word searches for values to include in the formula results, it starts at the formula cell and continues up until it finds the first cell containing a number. It then calculates up until it encounters a blank cell or a cell containing both a number and text above the last cell that contains a number only.
The following sample tables show formula results that are incorrect (they include numbers from the heading row) and others in which the results are correct.
---------------------------------------------------------
| 1 | Two | No. 3 | 4 |
---------------------------------------------------------
| 2 | 2 | 2 | |
---------------------------------------------------------
| 3 | 3 | row 3 | 3 |
---------------------------------------------------------
|{=SUM(Above)}|{=SUM(Above)}|{=SUM(Above)}|{=SUM(Above)}|
---------------------------------------------------------
---------------------------------------------------------
| 1 | Two | No. 3 | 4 |
---------------------------------------------------------
| 2 | 2 | 2 | |
---------------------------------------------------------
| 3 | 3 | row 3 | 3 |
---------------------------------------------------------
| 6 | 5 | 5 | 3 |
---------------------------------------------------------
Row 1 of the sample table is a heading row (to create a heading row, select
the row and click Headings on the Table menu).
Result of row 4, column 1:
Keywords : kbdta kbtable
Version : MACINTOSH:6.0,6.0.1,6.0.1a; WINDOWS:6.0,6.0a,6.0c,7.0,7.0a
Platform : MACINTOSH WINDOWS
Issue type : kbbug
Solution Type : kbpending
Last Reviewed: February 12, 1999