sum of cells until reach empty cell
"phsdave" skrev i en meddelelse
...
I would like to get the sum of 7 cells which restarts when a cell containes
a
zero.
I want to have a result in an ajoining cell of the sum to a maximum of 7
cells in the ajoining column
Assuming your data in A2 and down and further assuming
B1 is present and empty (or containing text):
In B2:
=IF(A2=0,SUM($A$2:A2)-SUM($B$1:B1),"")
--
Best regards
Leo Heuser
Followup to newsgroup only please.
|