Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Another question for a quicker way to perform a running total

I need to create a spill formula for a running total

enter image description here

I’m able to create this formula using

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

=SUMIF($B$2:$D$2,"<="&COLUMN($B$2:$D$2)-1,B3:D3)

But I’m not able to understand how to make it work as one formula only so that I don’t have to drag for each row hoping someone can assist

>Solution :

We can use OFFSET and SUMIF:

=SUMIF(OFFSET(B3,SEQUENCE(ROWS(B3:D8),,0),0,1,SEQUENCE(,COLUMNS(B3:D8))),"<>")

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading