<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 - Writer table sum feature doesn't insert formula in empty cell at bottom of selected column range"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=138761">138761</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Writer table sum feature doesn't insert formula in empty cell at bottom of selected column range
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.4.6.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</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>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>amiableroz@yahoo.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
In Calc can sum a column at least two ways:
#1 select cell at bottom of column of numbers and click Sum button at left of
Input line. Contiguous range above selected cell is selected. =sum(<range>) in
input line. Click green check and formula is entered in selected cell.
#2 select column of numbers and empty cell beneath column. Click sum button.
=sum(<range>) appears immediately in empty cell. No need to confirm.
For both methods =sum() formula is inserted in empty cell
In Writer if attempt to sum column similar to #1 above then after inserting
cursor in empty cell range to be summed must be selected after clicking sum
button. And then must click green check to complete summing operation.
If range to sum is selected and end of selection is empty cell presumed to be
destination for sum formula then sum button clicked selected range is emptied
and Input line appears with =sum() formula with third-to-last selected cell
loaded as range of formula. Clicking check to enter formula causes 0 to be
entered in last cell, value in second-to-last cell to again be visible, and
value in third-to-last cell and any cells above to be empty.
This is very unexpected behavior. Especially if one is familiar with either
method of summing described for Calc.
Request Writer table cell sum feature be modified to work like descriptions
provided for Calc.
Alternately, request Writer table cell sum feature be modified so that if range
is selected prior to clicking sum button then sum is entered in last cell of
selected range vs current behavior of emptying range.
Steps to Reproduce:
1. create a multi row table in Writer
2. enter numbers in a column in the table, leave at least one empty row beneath
last number
3. select column of numbers and empty cell beneath
4. click Sum button on table toolbar
5. after clicking Sum button all selected cells are empty
6. click green check mark next to =sum formula in input line
7. all except last two cells that were selected are now empty. Last cell has 0
entered. Next to last cell has number that was there before Sum button was
clicked.
Actual Results:
The result cell value is set to 0 (zero). The cell above the result cell
returns to its original value. All cells above these last two cells have been
emptied.
Expected Results:
Selecting column of numbers then clicking sum button should sum the numbers and
enter result in last selected cell.
Summing cells should work way it works in Calc.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
see attachment for bug demo</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>