<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 - COUNTIF function doesn't return values when Criteria is set to a cell"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=119980">119980</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>COUNTIF function doesn't return values when Criteria is set to a cell
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.1.1.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (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>christopher.d.tan@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Example:
A1 = 3
A2 = 3
A3 = 5
COUNTIF(A1:A3,"3") will return 2. However, if I populate a cell with 3 (i.e.
B1) and call COUNTIF(A1:A3,B1), this returns 0.
Also, the documentation for this function says the syntax should be
COUNTIF(<RANGE>;<CRITERIA>) but when I use this format, Calc changes the syntax
to a comma delimiting the RANGE and CRITERIA.
i.e. enter COUNTIF(A1:A3;"3") and Calc returns COUNTIF(A1:A3,"3")</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>