Average values in Word table

MelanieB
3StarLounger
Posts: 310
Joined: 19 Apr 2010, 16:18
Location: middle of the state of Washington

Average values in Word table

Post by MelanieB »

We have a form. The bottom of the form is a table (named ScoreTable) with 60 cells.
At the top of the form, not part of the table, we want to show an average of values in the ScoreTable.

How can we tell Word to ignore blanks and only average actual values?

User avatar
HansV
Administrator
Posts: 78894
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Average values in Word table

Post by HansV »

Would it be feasible to replace the Word table with an Excel table? Excel formulas are much easier.
Best wishes,
Hans

User avatar
macropod
4StarLounger
Posts: 508
Joined: 17 Dec 2010, 03:14

Re: Average values in Word table

Post by macropod »

Although Word has an Average(BELOW) function that skips blanks, it also stops at the first blank...

Instead, you could use a formula field coded along the lines of:
{={=SUM(A2:A60)}/{=COUNT(A2:A60)} \# 0.00}
Cells containing text (no numbers) or blanks, as opposed to 0s will be ignored.
Paul Edstein
[Fmr MS MVP - Word]