[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 --- Comment #14 from Wolfgang Jäger --- An actual bug shown in the example the bug reporter attached may be that the interection mode is handled as if the defined range was $Sheet1.$A$3:$A$20. But this is also the case if $Sheet1.$A$3:$A$19 is used explicitly. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 Wolfgang Jäger changed: What|Removed |Added CC||j...@psilosoph.de --- Comment #13 from Wolfgang Jäger --- The result would be exactly the same if in place of the defined range name the explicit designator ($Sheet1.$A$3:$A$19 in the example) it stands for is used in the OFFSET() expression. That's because the expression is correctly evaluated in intersection mode. See subchapter 6.3.3 "Implied intersection" of "Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula" To get what the bug reporter expected (hoped for) =OFFSET(myRange; 1; 0; 1; 1) entered for array evaluation would help. [INDEX() may also help to get a workaround. I think INDEX() is not eligible for intersection mode(?).] Suggest change to NOTABUG. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 --- Comment #12 from ady --- (In reply to m.a.riosv from comment #11) > (In reply to ady from comment #10) > > . > > =SUM(OFFSET(myRange; 1; 0)) > > Result: 152 (the enire named range except for the first upper-left value) > > Because in this case, OFFSET return a reference, not a single cell. > https://help.libreoffice.org/latest/en-US/text/scalc/01/04060109. > html?DbPAR=CALC#bm_id3158430, see the samples. Right. Sorry for that; I got temporarily confused by the first results, without SUM(), and by the initial assumption in comment 0: (In reply to Simon from comment #0) > If however the length and width of the returned array are not specified > (which default to 1,1), then it does not matter what is input for the row > arg, the result is always the same cell value. That is not correct. When the height and width are not provided, the default is the same size as the original range. The initial question still remains. In the current behavior, OFFSET(myRange;1;0) (_not_ as array formula) provides not the first value of the new range (i.e. the second value of myrange) but the value corresponding to the same row in which the formula was introduced. I guess this behavior is probably useful in some cases in order to avoid using array formulas. I wonder what other tools do with the same formulas, _not_ using attachment 173044 but rather entering them anew in a new, clean spreadsheet. (In comment 6, it is not clear to me whether raal tested by using the same file attachment 173044 or by using a new empty spreadsheet, which might not provide the same result). -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 --- Comment #11 from m.a.riosv --- (In reply to ady from comment #10) > . > =SUM(OFFSET(myRange; 1; 0)) > Result: 152 (the enire named range except for the first upper-left value) Because in this case, OFFSET return a reference, not a single cell. https://help.libreoffice.org/latest/en-US/text/scalc/01/04060109.html?DbPAR=CALC#bm_id3158430, see the samples. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 ady changed: What|Removed |Added Version|6.4.7.2 release |Inherited From OOo --- Comment #10 from ady --- Using attachment 173044 =SUM(OFFSET(myRange; 1; 0; 1;1)) Result: 2 (correct) =SUM(OFFSET(myRange; 1; 0)) Result: 152 (the enire named range except for the first upper-left value) Also, inherited from OOo. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 ady changed: What|Removed |Added Hardware|x86 (IA32) |All OS|Linux (All) |All -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 --- Comment #9 from ady --- Using attachment 173044, still repro in 7.6.alpha built 2023-04-27. In attachment 173044, the named range upper-left cell is A3, but the OFFSET formula doesn't seem to take cell A3 as base. Instead, it just takes "one row up" as base (when the height and width arguments are not explicitly provided): for the formula in cell C7, the OFFSET() function is taking the base at cell A6 ("one row up"). In contrast, when the height and width arguments are provided, the base for OFFSET seems to be indeed cell A3 (upper-left cell of the range). -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 --- Comment #8 from QA Administrators --- Dear Simon, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 Roman Kuznetsov <79045_79...@mail.ru> changed: What|Removed |Added Status|UNCONFIRMED |NEEDINFO CC||79045_79...@mail.ru Ever confirmed|0 |1 --- Comment #7 from Roman Kuznetsov <79045_79...@mail.ru> --- Simon please retest your problem in latest 7.4.2 version -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 raal changed: What|Removed |Added CC||r...@post.cz --- Comment #6 from raal --- http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part2.html#__RefHeading__1018434_715980110 Tested with excel and result is the same as in Calc. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 --- Comment #5 from Simon --- (In reply to Uwe Auer from comment #2) > (In reply to Simon from comment #0) > > 1.create named range of multiple cells say myRange > > 2.create cell =OFFSET( myRange, 1, 0) > > This doesn't work at all and gives a "#VALUE!" (wrong data type) error. This > needs to be an array formula "{=OFFSET( myRange;1;0)}" to work, if myRange > is a multicell range. NO ! See attachment -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 --- Comment #4 from Simon --- (In reply to m.a.riosv from comment #1) > Please can attach your sample file to test. Done -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 --- Comment #3 from Simon --- Created attachment 173044 --> https://bugs.documentfoundation.org/attachment.cgi?id=173044&action=edit spreadsheet showing error -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 --- Comment #2 from Uwe Auer --- (In reply to Simon from comment #0) > 1.create named range of multiple cells say myRange > 2.create cell =OFFSET( myRange, 1, 0) This doesn't work at all and gives a "#VALUE!" (wrong data type) error. This needs to be an array formula "{=OFFSET( myRange;1;0)}" to work, if myRange is a multicell range. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 142953] CALC OFFSET error when used with named range of multiple cells for the reference arg and defaults
https://bugs.documentfoundation.org/show_bug.cgi?id=142953 m.a.riosv changed: What|Removed |Added CC||miguelangelrv@libreoffice.o ||rg --- Comment #1 from m.a.riosv --- Please can attach your sample file to test. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs