Apache OpenOffice (AOO) Bugzilla – Issue 95630
Range reference including same cell always converts to absolute
Last modified: 2008-10-30 13:25:16 UTC
What I did: Cell A9, formula "=max(a$8:a8)+1", aim was to copy it down the column (hence the absolute reference). When copied, did not work. Inspection showed that Calc had changed "=MAX(A$8:A8)" to "=MAX(A$8:A$8)". This is impossible to change, as soon as edit is saved Calc changes it back. Behaviour is consistent and repeatable and appears to be triggered by the range reference being the same cell). Tested on OOo 3.0.0m9 build 9358 on Win XP Pro Intel dual core.
Can confirm with OOo 3.0.0 stable (OOO300m9). Worked in 2.4.1 --> regression Whenever a range is referenced, that starts and ends with the same cell (A1:A1), Calc takes over relative/absolute references from the starting cell to the ending cell. Edit =SUM(A1:$A$1) would become =SUM(A1:A1) Edit =SUM(A1:$A1) would become =SUM(A1:A1) Edit =SUM(A1:A$1) would become =SUM(A1:A1) Edit =SUM($A$1:A1) would become =SUM($A$1:$A$1) Edit =SUM(A$1:A1) would become =SUM(A$1:A$1) and so on. Note: In some use cases it *does* make sense to enter references like =SUM(A1:$A$1), in order to control some behaviour of references while filling or copying.
SBA: Confirmed. Reassigned to OC. Set keyword "regression".
double to Issue 94124 *** This issue has been marked as a duplicate of 94124 ***
closed double