Apache OpenOffice (AOO) Bugzilla – Issue 127910
The range operator (colon) doesn't work in the SUM function
Last modified: 2018-10-13 02:29:09 UTC
If I include a range, e.g. "=SUM(F30:F37-F27)" the result is "#VALUE!". Also Ctrl-Z doesn't work, so I have to either key the range the hard way "F30+F31..." or exit the worksheet, discarding the change, and reopen it.
A cell range is defined with the colon (like F30:F37). When using additionally a "-" it's interpreted as minus operator. Result: Sum up all cells from F30 to F37 and then subtract F27 from it. As you haven't given any sample (an attached spreadsheet would be great) I can only guess.
Marcus, I've tried entering "=SUM((F30:F37)-F27)", with the same result. How then would you express it?
(In reply to Dick Gray from comment #2) > Marcus, I've tried entering "=SUM((F30:F37)-F27)", with the same result. How > then would you express it? Can you try: =SUM(F30:F37)-F27
Dang! That worked, thanks! The fn description is a little misleading, I think.
Closing the issue out.