<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Formula with SUMPRODUCT & MOD returns wrong value!"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=124454">124454</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Formula with SUMPRODUCT & MOD returns wrong value!
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.2.2.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dursojohn@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>