Remove apostrophe used for text formatted number in Libreoffice
To enter the number as text, the easiest way is to enter the number starting with an apostrophe (for example, ‘00008). The apostrophe will not appear in the cell, and the number will be formatted as text.
If apostrophe is not removed, calculation operations will not be include the cell & result will be wrong. So You may need to remove apostrophe or Formatting Numbers as Text or formatting mark or special non-displaying character to do calculate with this number.
To Convert text formated cells to numbers in libre-office, follow the below steps :
- Choose Edit – Find & Replace
- In the Search for box, enter ^[0-9]
- In the Replace with box, enter &
- Check Regular expressions
- Click Replace All
Note: ^[0-9] regular expression means ‘other than 0-9 numericals’.
Leave a comment Cancel reply
Search
Calender
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Thank you! This was exactly what I needed! I had some dates in LibreOffice copied from the web that couldn’t be sorted because of the apostrophe.
Great with this info for LibreOffice which btw is a very good program suite! 🙂
Brilliant – well done and thanks