Table 7

Step  1Step  2Step  3Total for period 1

A
B
C 0 if avg( )  otherwise or