Quantcast
Channel: Apache OpenOffice Community Forum
Viewing all articles
Browse latest Browse all 1291

Calc • Re: Spreadsheet functions

$
0
0
Without seeing your document, I have to make some assumptions. Let's say your data start in row 2. In G2, enter the formula

Code:

=IF(E2>0;SUM($E$2:E2);"")
Copy and Paste that down column G as far as necessary. The formula will adjust to that in row 3 it will be

Code:

=IF(E2>0;SUM($E$2:E3);"")
and show the sum of E2 and E3 if E3 contains a value greater than zero. It will continue to adjust in all the other rows to sum from E2 down to the current row. If there is no value > 0 in E2, the cells in column G will look blank.
Does that do what you need?

Statistics: Posted by FJCC — Fri Jan 31, 2025 9:40 pm



Viewing all articles
Browse latest Browse all 1291

Trending Articles