Forum Discussion

tomaspet's avatar
tomaspet
Copper Contributor
Dec 17, 2021
Solved

SUM between empty cells

Hello,
I would like to ask for advice. I have the data in the column, see picture. How to automatically sum data that is between empty cells? i.e.  SUMA(A1:A2); SUMA(A6:A9) .....

 

Thank you

 

6 Replies

    • tomaspet's avatar
      tomaspet
      Copper Contributor

      Riny_van_Eekelen I couldn't do that. I need to get this (red numbers), but I need to fill in automatically because there are many rows in the table.

      • Riny_van_Eekelen's avatar
        Riny_van_Eekelen
        Platinum Contributor

        tomaspet If you ae on and Excel version that support XMATCH, have a look at the attached file, using the following formula:

        =IF(AND(ISBLANK(A1),NOT(ISBLANK(A2))),SUM(A2:INDEX(A2:$A$46,XMATCH(,A2:$A$46,0))),"")

Resources