<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:erack@redhat.com" title="Eike Rathke <erack@redhat.com>"> <span class="fn">Eike Rathke</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - [EDITING] Usage of "Inequality" criteria in function SUMIF creates wrong result"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121696">bug 121696</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTABUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - [EDITING] Usage of "Inequality" criteria in function SUMIF creates wrong result"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121696#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - [EDITING] Usage of "Inequality" criteria in function SUMIF creates wrong result"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121696">bug 121696</a>
              from <span class="vcard"><a class="email" href="mailto:erack@redhat.com" title="Eike Rathke <erack@redhat.com>"> <span class="fn">Eike Rathke</span></a>
</span></b>
        <pre>So yes, the "<>0" condition matches empty cells now, to comply with ODFF and
interoperability with other spreadsheet implementations, see also <a href="show_bug.cgi?id=121696#c3">comment 3</a>
about Excel that does the same. The previous behaviour that excluded empty
cells was wrong and a bug.

An empty cell is not a number 0 in this context.

See also ODFF 4.11.8 Criterion
<a href="http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part2.html#__RefHeading__434502_49873571">http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part2.html#__RefHeading__434502_49873571</a>
"For <>, if the value is not empty it matches any cell content except the
value, including empty cells. "</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>