Apache OpenOffice (AOO) Bugzilla – Issue 23069
wrong sort result
Last modified: 2003-12-11 16:21:04 UTC
when I sort result of formulas wich are linked to values external to the actual sheet, if I use relative references to the external values, I obtain strange results. I expect from the sort or to work perfectly, mantaining all links or to not work at all, not updating the links. Instead i found that a part of the links are updated and a part are exchange with a strange permutation order. In my examples sheet1 Nome 1 2 3 4 Uno 58 98 100 25 Due 55 95 88 100 Tre 65 66 77 88 sheet2 Nome Media 100 Volte Uno 70,25 1 4 Due 84,5 1 4 Tre 74 0 4 media:Average() 100(Count.if volte (Count.values) if I try to order, for example the 3 column i obtain in the formulas area Sheet1.B4:E3 (should be B4:E4 if updates perfectly or B3:e3 without updating) Sheet1.B5:E4 (should be B5:E5 if updates perfectly or B4:e4 without updating) Sheet1.B3:E5 (should be B3:E3 if updates perfectly or B5:e5 without updating) So I think this is a bug
please attach the documents, so we can test and confirm it easier and faster. Thanks
Hi, this is a problem of relative and absolute addressing. Relative means take the value from 1 place down or right or ... whatever direction the reference goes. This goes also for the arrays. To prevent this, use absolute references (a $ in front of the references e.g. =average($A1:$A5) ) Frank Hi Niklas, Excel gives an other result. Please have a look. Frank
Same as 23089. *** This issue has been marked as a duplicate of 23089 ***
closing.