Works: How to Calculate a Running Total/Average in a Database (124647)
The information in this article applies to:
- Microsoft Works for Windows 95, version 4.0
- Microsoft Works for Windows 95, version 4.0 4.5
- Microsoft Works for Windows 95, version 4.0 4.5a
- Microsoft Works 2.0a
- Microsoft Works 3.0
- Microsoft Works 3.0a
- Microsoft Works 3.0b
This article was previously published under Q124647 SUMMARY
A running total or average displays the sum or average of all the values in
a specific field up to any given record. In Microsoft Works, you can keep a
running total and a running average by using self-referencing formulas. The
table below resembles a database that contains running totals and averages,
in which blank values are not counted in the average.
Values Number Total Average
-------------------------------
20 1 20 20
40 2 60 30
2 60 30
60 3 120 40
80 4 200 50
100 5 300 60
To create a sample database similar to the one in this article, use the
steps in the following procedure.
Modification Type: | Major | Last Reviewed: | 11/15/2004 |
---|
Keywords: | kbhowto KB124647 |
---|
|