Before I explain why your formula has double square brackets, it's important to understand the difference between direct and ...
The SCAN function is best used when you need a running total—a sum that accumulates row by row, with the accumulated value ...