<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 - Median operator returning first variable as result"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=107448">107448</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Median operator returning first variable as result
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.1.6.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>sathish.krishnan.p.s@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
Incorrect result on using median operator in Libreoffice Calc
Steps to Reproduce:
1. The median operator in LibreOffice Calc while used with multiple randomly
selected items, for example, is =MEDIAN(A74,A65,A55,A46,A38,A30).
2. By mistake, if a user introduces a comma at the end of the list as
=MEDIAN(A74,A65,A55,A46,A38,A30,), the function returns the first value in the
list i.e. A74 as the result, which is wrong. Unsuspecting user might end up
with wrong result.
Actual Results:
=MEDIAN(A74,A65,A55,A46,A38,A30,) returns A74.
Expected Results:
=MEDIAN(A74,A65,A55,A46,A38,A30,) can return #VALUE indicating wrong syntax.
Reproducible: Always
User Profile Reset: No
Additional Info:
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101
Firefox/53.0</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>