Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | ODFF: Excel INDEX() compatibility | ||||||
---|---|---|---|---|---|---|---|
Product: | Calc | Reporter: | kuprishuz <kuprishuz> | ||||
Component: | programming | Assignee: | oc | ||||
Status: | CLOSED FIXED | QA Contact: | issues@sc <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues, lvyue, pagalmes.lists | ||||
Version: | OOo 2.2.1 | Keywords: | ms_interoperability | ||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Issue Depends on: | |||||||
Issue Blocks: | 72764 | ||||||
Attachments: |
|
Description
kuprishuz
2007-06-21 21:05:05 UTC
I agree, Excel handles the parameters a bit differently, specially with references with a size of only one row. Confirming this issue, keyword: MS-Interoperability Hi, regarding your example, Excel works faulty. You have just one row and want a result from the second row. Giving here other results than an Error is IMHO a fault. Calc on the other hand gives you a hint that something in the parameterlist of the function is faulty. This is how it should be. I think we should not copy the errors Excel make. Frank @Eike It seems that Excel treats such one row constructs in a special way. Should we double this ? If so, please set the target accordingly otherwise close as invalid. It's surely strange behavior, but it's not an error of Excel, that's the way how they defined INDEX to work in what they call "array form" of the function with no 4th parameter being present. With a one-dimensional array the row respectively column parameter is optional, and whatever parameter is present is taken for the offset. ODFF relevant. Created attachment 52182 [details]
patch1
In cws odff03: sc/source/core/tool/interpr1.cxx 1.56.20.4 Reassigning to QA for verification. *** Issue 89550 has been marked as a duplicate of this issue. *** verified in internal build cws_odff3 Verified with DEV300-m28 Linux X64 Verified in DEV300m28 and Linux - Closing - Sophie |