https://bugs.documentfoundation.org/show_bug.cgi?id=96595

            Bug ID: 96595
           Summary: Incorrect result from sumproduct / subtotal / offset
                    formula
           Product: LibreOffice
           Version: 5.0.4.2 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: ab...@hotmail.com

The following formula should compute the number of visible rows in a filtered
list that also match a further condition:-

=SUMPRODUCT((LEFT(BH2956:BH3990)="T")*SUBTOTAL(3,OFFSET($A2956:$A3990,ROW(C1:INDEX($C:$C,ROWS($C2956:$C3990)))-1,,1)))

In Excel this works fine, but when used in LO Calc it gives an incorrect result
- in this case 420838 versus the correct value of 186.

Tested using Excel 2003 in Windows 7, versus LO Calc in Windows 7 and Arch
Linux.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to