Array formula
=SCAN(0,B2:B,LAMBDA(total,value,total+value))Fills the complete running-total column.
Keep a cumulative sum that grows as new values are added.
Keep a cumulative sum that grows as new values are added. Use =SUM($B$2:B2), then replace the sample ranges with the columns in your sheet.
The first reference is fixed while the second moves down each row.
| A | B | |
|---|---|---|
| 1 | Date | Amount |
| 2 | ||
| 3 | ||
| 4 | ||
| 5 |
=SCAN(0,B2:B,LAMBDA(total,value,total+value))Fills the complete running-total column.
=SUMIF($A$2:A2,A2,$B$2:B2)Keeps a separate cumulative total for each category.
=IF(B2="","",SUM($B$2:B2))Leaves unused rows empty.
Add dollar signs to $B$2.
Check the fixed starting cell after restructuring the table.
Add dollar signs to $B$2.
Check the fixed starting cell after restructuring the table.
Send this recipe to the SheetSteps assistant and describe how your columns are arranged.