<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 - INDEX function behaviour inconsistent with function wizard and 'tooltip'"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128800">128800</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>INDEX function behaviour inconsistent with function wizard and 'tooltip'
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.2.8.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>knittel@mailbox.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=155815" name="attach_155815" title="inconsistentcy in function wizard">attachment 155815</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=155815&action=edit" title="inconsistentcy in function wizard">[details]</a></span>
inconsistentcy in function wizard
Single row/column range with the INDEX function behave inconsistent.
When selecting a single row/column range the documentation states:
"If reference is a one-dimensional column vector, column
is optional or can be omitted. If reference is a one-
dimensional row vector, row is optional, which effectively
makes row act as the column offset into the vector, or can
be omitted."
But the real behaviour is that the optional column/row parameters 'have' to be
omitted. When entering the function manually or in the function wizard and
specify '1' as the row(/column) in a single row(/column) array the value gets
used as the column(/row) index instead. (see screenshot)
try:
B1:B2 {=INDEX(A1:A2,1)}
real behaviour: the target area gets filled with the content of first cell of
the source array. B1=A1 B2=A1
expected behaviour (option1): the target area gets filled with the first row of
the source array: B1=A1 B2=A2
expected behaviour (option2): the function wizard and the tooltip detect that
the source range/array is a single column/row and reflect that in the interface
somehow. (this may be hard if the source range has to be calculated)</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>