Issue 49906 - ROW and COLUMN functions in array formulas repeat the initial value
Summary: ROW and COLUMN functions in array formulas repeat the initial value
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: 680m104
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
URL:
Keywords: ms_interoperability
Depends on:
Blocks:
 
Reported: 2005-05-26 12:47 UTC by ooo
Modified: 2013-08-07 15:13 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
test case (13.50 KB, application/vnd.ms-excel)
2005-05-26 12:50 UTC, ooo
no flags Details
Sample of the matrix case (13.50 KB, application/vnd.ms-excel)
2005-06-13 20:55 UTC, jodygoldberg
no flags Details
handle the matrix case too. (1.85 KB, patch)
2005-06-13 20:56 UTC, jodygoldberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description ooo 2005-05-26 12:47:43 UTC
Load the attached xls document, the ROW values should read 3,4,5 and the COLUMN
values 4,5,6. Instead, for ROW the value 3 is repeated and for COLUMN the value 4.
Comment 1 ooo 2005-05-26 12:50:25 UTC
Created attachment 26583 [details]
test case
Comment 2 ooo 2005-05-26 12:54:21 UTC
Accepted.
Comment 3 ooo 2005-05-26 14:23:10 UTC
On branch cws_src680_dr37:
sc/source/core/tool/interpr1.cxx 1.34.4.1
Comment 4 jodygoldberg 2005-06-13 20:54:20 UTC
The matrix case is a bit different.
Comment 5 jodygoldberg 2005-06-13 20:55:24 UTC
Created attachment 27145 [details]
Sample of the matrix case
Comment 6 jodygoldberg 2005-06-13 20:56:51 UTC
Created attachment 27146 [details]
handle the matrix case too.
Comment 7 niklas.nebel 2005-06-14 09:36:04 UTC
I disagree. The ROW function's return matrix should have a single column. This
is also what Excel does, you see it in a formula like =COLUMNS(ROW()).

If a larger result is needed, single-column or single-row matrixes generally
have to be repeated. This is issue 46681, it doesn't belong into the COLUMN or
ROW implementation.
Comment 8 ooo 2005-06-14 10:58:30 UTC
Resetting status to resolved fixed again.
Comment 9 ooo 2005-08-11 13:40:43 UTC
Reassigning to QA.

re-open issue and reassign to oc@openoffice.org
Comment 10 ooo 2005-08-11 13:40:47 UTC
reassign to oc@openoffice.org
Comment 11 ooo 2005-08-11 13:40:52 UTC
reset resolution to FIXED
Comment 12 oc 2005-09-08 14:02:14 UTC
verified in internal build cws_dr37
Comment 13 oc 2005-11-01 13:40:00 UTC
closed because fix available in OOo2.0m136