Forum Discussion
PapaAustin
Apr 30, 2021Copper Contributor
Looking for Cumulative Sum Formula that returns Dynamic Arrays (i.e. spill-able)
Hello Excel Community, I have a simple row of numbers with a range name called Numbers I'm looking for a spill formula (one that returns a dynamic array) that returns a cumulative sum. I unders...
PapaAustin
Apr 30, 2021Copper Contributor
Hello Sergei,
I was replying to another commenter (his solution was using Sum(index... :index) approach which does not spill.
Yours look like it would spill as you pointed out.
I do not have an access to the latest O365 update with Let and Lambda features (I'm on an enterprise license and probably won't have those features until much later); I tried your file but it gives me #name error because my Excel doesn't know what Let() is.
So far, i have found this approach; it is rather a lengthy formula but it works.
=TRANSPOSE(MMULT(
(COLUMN(MyRange) <= TRANSPOSE(COLUMN(MyRange)))*MyRange,
TRANSPOSE(SIGN(MyRange))
))
Detlef_Lewin
Apr 30, 2021Silver Contributor