[Libreoffice-bugs] [Bug 124454] New: Formula with SUMPRODUCT & MOD returns wrong value!

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Mar 31 15:08:18 UTC 2019


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

            Bug ID: 124454
           Summary: Formula with SUMPRODUCT & MOD returns wrong value!
           Product: LibreOffice
           Version: 6.2.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: dursojohn at gmail.com

Description:
Calc produces a different (Incorrect) result than Excel or Google Sheets in a
formula that contains SUMPRODUCT and MOD. 

Steps to Reproduce:
1.Enter a 14 length text field of numbers in cell E5 (69765050007777)
2.Enter Formula
"=MOD(10-MOD(SUMPRODUCT(--(MID(E5,{2,4,6,8,10,12,14},1)))*3+SUMPRODUCT(--(MID(E5,{1,3,5,7,9,11,13},1))),10),10)"
in cell F5
3.

Actual Results:
Result 2

Expected Results:
Result in Excel & G Sheets 6


Reproducible: Always


User Profile Reset: No



Additional Info:
Calculate correctly.  This is my first time loading a bug, I do not see a
method of attaching a spreadsheet with formulas in it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190331/1bff7c3b/attachment.html>


More information about the Libreoffice-bugs mailing list