GNOME Bugzilla – Bug 404829
Array formula saved incorrectly
Last modified: 2009-08-27 05:06:36 UTC
Please describe the problem: Array formulae like: =sum(a1:a4*b1:b4) don't get saved properly in excel export. In Excel (and Openoffice), what's needed is: =sum((a1:a4)*(b1:b4)) but gnumeric removes the inner sets of parentheses. In gnumeric, either form gives a1*b1+a2*b2+a3*b3+a4*b4 but in Excel and OO, only the second form gives this result. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Note: This functionality is broken in gnumeric 1.8.2 =sum(a1:a2*a3:a4) gives #VALUE! I am going to open a bug report on this, just an fyi
Entering =sum(a1:a4*b1:b4) as an array formula and exporting to ODF yields in OOo the same result as in Gnumeric. Entering =sum(a1:a4*b1:b4) as a regular formula in gnumeric doesn't function as an array formula anymore and creates an implicit intersection as in Excel and exported to ODF yields the same answer in OOo as in Gnumeric. SO I am pretty sure that this is fixed now since we do the same (weird) calculation as Excel and OOo if that formula is not entered as an array formula. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
This is unlikely to have been fixed yet. OOo and Gnumeric are just more lenient about the formula handling.
How does this report differ from 322096?
*** This bug has been marked as a duplicate of bug 322096 ***