Bug 150227 - single quote (') is not working in Find and Replace in CALC
Summary: single quote (') is not working in Find and Replace in CALC
Status: CLOSED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-01 19:46 UTC by RAJU
Modified: 2022-08-01 20:52 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
SAMPLE (ODS file) (14.40 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-08-01 19:54 UTC, RAJU
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RAJU 2022-08-01 19:46:22 UTC
Description:
single quote (') is not working in Find and Replace of LibreOffice CALC. If we try to replace cells having ' with BLANK , then the message "search text is not found" is received. This bug is still present in the latest version of LibreOffice also.

Steps to Reproduce:
1. '123
2. '225
3. '427

Actual Results:
 FIND ' and REPLACE it with blank
Result : "Search text is not found"
This bug is present in the latest version also.

Expected Results:
 '123  AIM :- To replace the leading ' with blanks and to find the SUM of them.
 '225  If we use "FIND and REPLACE" to clear ' the message is "SEARCH TEXT IS 
 '427  NOT FOUND".


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Definitely, this is a BUG , and is NOT corrected in the latest version also. If we check the data type of '123 in "Format" option in the cell that it contains, we can see it as a "Numeric Value" in the "TYPE" of the Cell. i.e., a non-numeric value in a numeric cell !!
Comment 1 RAJU 2022-08-01 19:54:41 UTC
Created attachment 181538 [details]
SAMPLE (ODS file)

File : SAMPLE.ods
Comment 2 RAJU 2022-08-01 20:22:29 UTC
The aim is to find the SUM of the numeric columns in the SAMPLE.ods file. A special character ' is prefixed in each number. "FIND and REPLACE" method is NOT working here to replace ' with "Blank".
Comment 3 Eike Rathke 2022-08-01 20:52:35 UTC
The ' apostrophe is not part of the cell content and hence not found, but only displayed and added when editing. See FAQ
https://wiki.documentfoundation.org/Faq/Calc/How_to_convert_number_text_to_numeric_data