Iterate over rows to conditionally calculate cumulative sum?

2 posts were merged into an existing topic: Help on Looping