A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi FazliWahid,
See if the below formula works for you. Apply this formula in cell B2 and drag it down.
=IFERROR(IF(A2 ="", SUM((INDEX(A$1:A$15, LOOKUP(2, 1/(SUBSTITUTE(A$1:A1, "Value", "") = ""), ROW(A1:A$2))) : INDEX(A1:A$15, MATCH(TRUE, INDEX(A1:A$15 = "", ), 0) -1))), ""), "")
Change the word Value in formula with the appropriate word that you have specified for head of column A.
Note: In order for the formula to work, you will need to replace the zero value cells with empty cells in column A.
Hope this helps.