Bug 124727 - Comparison between cell' content does not work consistently
Summary: Comparison between cell' content does not work consistently
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.2.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-14 07:39 UTC by Bruno
Modified: 2019-04-19 15:10 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Libre Office Calc file with the bug (13.60 KB, application/vnd.oasis.opendocument.spreadsheet)
2019-04-14 07:45 UTC, Bruno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 2019-04-14 07:39:28 UTC
Description:
(See attachment) 

When comparing cells content (text), the formula works on first cells but does not work on all cells.


Actual Results:
same formula does not give the same result :



Expected Results:
Same behavior 


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Bruno 2019-04-14 07:45:45 UTC
Created attachment 150739 [details]
Libre Office Calc file with the bug

The file attached is a French version of Libre Office Calc

The problem is the formula in col B, we should not have an "X" as a result in this column when col A and col C are equal.

The code (unicode) of each character in the strings are the same, the content seems exactly the same.
Comment 2 Oliver Brinzing 2019-04-14 09:06:46 UTC
if you enable Menu "View/Value Hightlighting", you will see that cells A7:A9 and A11 contain numbers, not text.

could you please retest?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 3 Oliver Brinzing 2019-04-14 15:48:32 UTC
to be more precise:

you have to convert numbers to text before comparison,
or to adjust the formula's, e.g:

=IF(AND(A7<>"";A7<>VALUE(C7));"X";"")
or
=IF(AND(A8<>"";TEXT(A8;"@")<>C8);"X";"")