Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
SCAN applies a LAMBDA function across an array with a running accumulator, similar to REDUCE, but returns an array containing the accumulated value after each element rather than only the final result. It is ideal for computing running totals, cumulative products, or any sequential aggregation where the intermediate values are needed.
=SCAN(0,A2:A5,LAMBDA(acc,x,acc+x))=SCAN(0,A2:A5,LAMBDA(acc,x,acc+x))Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need a version for your data?
Try: “Calculate a running total of daily sales that updates with each new row”
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: