Attached is document
Hi Eric,
Unfortunately your document is not accessible, so I am guessing. But I think this doc has examples that will help:
Just replace the average with sum.
(The following will make your document work like the one above.)
R P