To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=92402


User regina changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|''                        |'regina'
--------------------------------------------------------------------------------
                  Status|UNCONFIRMED               |RESOLVED
--------------------------------------------------------------------------------
                Keywords|                          |oooqa
--------------------------------------------------------------------------------
              Resolution|                          |DUPLICATE
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Sat Aug  2 14:37:55 +0000 
2008 -------
It is no defect in SUMPRODUCT, but it is the question how operators and
functions, which expect a single value as argument, shall work, if they get an
array as argument. This is already handled in issue 46681.

Currently OOo evaluates {1|0|1}*{1;0;1} to {1;#NV;#NV|#NV;#NV;#NV|#NV;#NV;#NV}
and Excel evaluates it to {1;0;1|0;0;0|1;0;1}.

Unfortunately I find no rule in the ODF spec for this special case. Applying the
rule in 2.2.3.2 I would get {1;0;1|#NV;#NV;#NV|#NV;#NV;#NV} because the second
operand hasn't got a second and third row, or applying the rule in 2.2.3.3 I
would get {1;#NV;#NV|0;#NV;#NV|1;#NV;#NV} because the first operand hasn't got a
second and third column. The spec should have an additional rule for this case
to make it unambiguous. The way Excel does it, generating a crosstabulation,
seems the way users expect.

In OOo you can get the same result as in Excel, if you use
=SUMPRODUCT(MMULT(($A$2:$A$4=$A$9);($B$1:$D$1=$A$10))*$B$2:$D$4). But
unfortunately Excel doesn't like this formula.



*** This issue has been marked as a duplicate of 46681 ***

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to