Bug 115431 - Calculation and border problem
Summary: Calculation and border problem
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.0.6.2 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2018-02-03 21:37 UTC by miklos.jonas.2013
Modified: 2019-01-11 15:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Working hours and payments (56.40 KB, application/zip)
2018-02-03 21:38 UTC, miklos.jonas.2013
Details

Note You need to log in before you can comment on or make changes to this bug.
Description miklos.jonas.2013 2018-02-03 21:37:04 UTC
Description:
1. problem: 
Formula: =SZUM(F7:F32)
Result: 2 (This is fault!)
The correct result: 3 (F10+F11+F18=3)

2. problem:
When I updated the to the 6.0 version, the borders some of it is unseen and it is not possible to repair it.

Look at the attachment, please.

Actual Results:  
See the error description.

Expected Results:
See the error description.


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: hu
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36
Comment 1 miklos.jonas.2013 2018-02-03 21:38:48 UTC
Created attachment 139559 [details]
Working hours and payments
Comment 2 Mike Kaganski 2018-02-03 21:46:44 UTC
(In reply to miklos.jonas.2013 from comment #0)
> 1. problem: 
> Formula: =SZUM(F7:F32)
> Result: 2 (This is fault!)
> The correct result: 3 (F10+F11+F18=3)

No. The data in F11 isn't a number; it's just a text. Most possibly you had used wrong decimal separator when entered it. So, it isn't used in SUM.
Comment 3 m_a_riosv 2018-02-04 01:26:56 UTC
At opening the file F11 seems has text, that's why it's not summed, SUM() doesn't sum text cells, numbers as text are only treated as numbers with a direct reference to the cell not with a range reference.

After a hard recalc [Shif+Ctrl+F9] works fine, and F11 became a number.

With the option Menu/Tools/Options/LibreOffice calc/Formula/Recalculation on file load, as 'Excel 2077 and newer' - 'Always recalculate', opens with right format and sum value.

It doesn't happen with:
Version 3.6.7.2 (Build ID: e183d5b)

Happens with:
Version 4.0.6.2 (Build ID: 2e2573268451a50806fcd60ae2d9fe01dd0ce24)
Comment 4 Mike Kaganski 2018-02-04 03:47:59 UTC
(In reply to m.a.riosv from comment #3)

Yes - the F11 cell does contain a formula, and current values in referenced cells must give a numerical values.

Still the OOXML has this for the F11:

> <c r="F11" s="25" t="str">
>    <f aca="false">IF((C11&amp;D11)=&quot;&quot;,&quot;&quot;,(D11-C11-7))</f><v>1.00</v>
> </c>

where the 't="str"' part makes it a textual cell. On opening the file, unless a recalc is required (either way mentioned by m.a.riosv), cached values are used (which is OK).

However, the question is, from where and how the cell was marked as text originally. Maybe that's the real bug, but the document doesn't give a way to see that. Maybe there's some original document, and steps to reproduce it?
Comment 5 Xavier Van Wijmeersch 2018-02-04 10:36:31 UTC
c11 and e2 have faulty entry's, then everything is working
in c11 type 7 and enter the calculation in F11 give me 3,00
but i get a value error
in e2 shows 11.70 but retyping the formula shows me 11,70
and so the value error is gone
Comment 6 Buovjaga 2018-05-22 17:21:01 UTC
(In reply to Mike Kaganski from comment #4)
> Maybe there's some original document, and steps to reproduce it?

Miklos: can you answer this / provide an original document?
Comment 7 Xisco Faulí 2018-05-28 12:25:49 UTC
(In reply to Buovjaga from comment #6)
> (In reply to Mike Kaganski from comment #4)
> > Maybe there's some original document, and steps to reproduce it?
> 
> Miklos: can you answer this / provide an original document?

Setting to NEEDINFO until the information has been provided...
Comment 8 QA Administrators 2018-12-03 13:13:35 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2019-01-11 15:27:09 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20190111