Apache OpenOffice (AOO) Bugzilla – Issue 94124
Cannot mix relative and absolute addressing in one-cell range references.
Last modified: 2013-08-07 15:14:27 UTC
When I enter a this formula: =SUM($b$7:b7) in order to get a "running total", for some reason the formula is converted to this: =SUM($B$7:$B$7) which is completely useless as it sums a single cell! If I leave the reference completely relative: =SUM(b7:b7) it stays relative, but I need one end to be absolute so I can get a running total.
Created attachment 56671 [details] Enter =SUM($b$7:b7) in cell C7 to see how it is converted to an absolute reference
I see the same error in OOo3.0RC1 on WinXP. Workaround: Define a name for the start cell $B$7, for example 'start', and write then =SUM(start,B7).
Typo: ..=SUM(start:B7)
Confirmed in RC3. Title changed as the problem affects all functions operating on a range. So the scope of this issue is much larger than that. Old title was: "Partially absolute cell-range references turn absolute when used in SUM function"
This is certainly a bug that should be tackled with. Detailed summary a bit. This is only for one-cell range references, as soon as the range encompasses more than one cell, addressing works as expected. The second part of the reference always inherits the addressing (relative or absolute) from the first part. A1:$A$1 => A1:A1, A$1:A1 => A$1:A$1, $A1:A1 => $A1:$A1, ...
In cws calc46: sc/source/core/tool/refdata.cxx 1.7.166.1
Reassigning to QA for verification.
*** Issue 95630 has been marked as a duplicate of this issue. ***
verified in internal build cws_calc46
*** Issue 96162 has been marked as a duplicate of this issue. ***
*** Issue 96445 has been marked as a duplicate of this issue. ***
*** Issue 96724 has been marked as a duplicate of this issue. ***
verified in OOO300_m15. closing issue
*** Issue 95085 has been marked as a duplicate of this issue. ***
*** Issue 99431 has been marked as a duplicate of this issue. ***