Apache OpenOffice (AOO) Bugzilla – Issue 50000
Allow reference results in array formulas
Last modified: 2017-05-20 11:13:27 UTC
I created a Excel 2003 document with the Dutch version. The formulas in Excel working fine, but when i opened it in Calc 1.9.104 (of 13 may 2005). I got errors with the transpose-formula and the array-function. The array-function only reports the first value in the cells. I had 8 different values. At the Url is this document available.
Created attachment 26653 [details] Dutch Excel2003-document with arrayformulas
The Enter-value (alt (10)) in a cell doesn't work either.
TL->NN: CLac related issue.
In fact, the errors in the attached document are caused by three different problems: 1. There are intermittent errors in string concatenation within arrays, seen in C22:J22. This is now issue 50145, target 2.0.1. 2. The "Err:508" as well as the repeated values in column A are caused by the use of the "range operator", which we don't have. This is issue 4904 and will be one of the next things we add to the calculation engine (but nor for 2.0.x). If, in the Excel file, you had used "Blad2!$A$23:$A$30" instead of "Blad2!$A$23:Blad2!$A$30", it would be a single range reference instead, which works fine in Calc. 3. The cells with the long formula have "Err:504" because they rely on having cell reference results in an array formula (the combination of INDIRECT and OFFSET). We don't support that. Line feeds in formula results aren't supported, see issue 18302. We'll keep this issue open as an enhancement issue for for reference results in array formulas (point 3 above, the only thing that's not covered by other issues), I'm adjusting the title. Other formula improvements seem more important at the moment, so don't expect it very soon. Summary: We need to be able to have cell range references as elements of a matrix, so they can be used in array formulas.
Note for point 2): See also issue 48496 which is about converting a construct <address><range-op><address> into a single range token on import time.
Accepted. Removing senseless dependency on issue 27656.
Issue 35913 has a patch to fix the line feed aspects, ie char(10) in the formulas.
Reset assigne to the default "issues@openoffice.apache.org".