<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 - COUNTIFS function not evaluating correctly when not only checking for equality"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130734">130734</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>COUNTIFS function not evaluating correctly when not only checking for equality
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.4.0.3 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>karoshi@137tmx.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=157945" name="attach_157945" title="Countifs works in LO 5.x, broken since 6.0">attachment 157945</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=157945&action=edit" title="Countifs works in LO 5.x, broken since 6.0">[details]</a></span>
Countifs works in LO 5.x, broken since 6.0

Countifs is defined to count 1 when all criteria are met which seems not to
work properly when not only comparing with some fixed content.

The attached file shows a countifs of 1 in both cases when opened in
LibreOffice Calc 5.9 (correct).

But 2 for the first value (incorrect), 1 for the latter (correct) when opened
in 6.0 through 6.4.

The issue has appeared in a disclosed document so I created a minimal test as
attached.</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>