I was working on a spreadsheet I use for bookkeeping. I download transactions from a bank, in a text or CSV format. Then I either open that file in Libre Calc or I paste the transactions into Libre Calc. Suddenly yesterday I was doing that and all the numbers were not recognized as numbers. Sometimes the first number in a series was a number, and from the second instance on it was not.
I used =isnumber and it said False
I use =value to try to extract the value
I confirmed that it didn't begin with a single quote, didn't have extra spaces before or after, etc.
I tried regex clean: e.g. =VALUE(SUBSTITUTE(CLEAN(A1), CHAR(160), ""))
Nothing worked.
I usually find Libre Calc a very solid and stable application.
Can you tell me what caused these problems and how to resolve them.
The only solution I found was to use Google Sheets. I guess that has some automatic data cleanup. That worked. But I prefer to go back to Libre Calc.
[Solved] Numbers not recognized as numeric
-
- Posts: 2
- Joined: Thu Aug 14, 2025 3:26 am
[Solved] Numbers not recognized as numeric
Last edited by MrProgrammer on Thu Aug 14, 2025 11:54 pm, edited 1 time in total.
Reason: Tagged ✓ [Solved] No attachment provided; Problem might have been an incorrect bank download
Reason: Tagged ✓ [Solved] No attachment provided; Problem might have been an incorrect bank download
Libre Office 24.2.7.2
Ubuntu 24.0.2
Ubuntu 24.0.2
Re: Libre Calc, numbers not recognized as numbers
Without an example of the data, it is very hard to make any suggestions. I expect you don't want to post your bank information, but you can modify it easily. Open the csv file in a plain text editor, delete everything except the first few lines, and change the content of those lines so the data are no longer confidential. You should then confirm that the edited file still has the problem when loaded into Calc. Post the file here so people can duplicate your problem and search for a cause. It's possible the forum won't accept a csv file. If so, please post the file on a publicly accessible site.
To upload a file, click Post Reply and look for the Attachments tab just below the box where you type a response.
To upload a file, click Post Reply and look for the Attachments tab just below the box where you type a response.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Re: Libre Calc, numbers not recognized as numbers
When you are presented with an ASCII a text import window when opening or pasting data, make sure you check the option Detect special numbers.
See also How to convert number text to numeric data
See also How to convert number text to numeric data
Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 25.8.1.1; SlackBuild for 25.8.1 by Eric Hameleers
---------------------
Apache OpenOffice 4.1.15
LibreOffice 25.8.1.1; SlackBuild for 25.8.1 by Eric Hameleers
---------------------
Roses are Red, Violets are Blue]
Unexpected '{' on line 32
.Re: Libre Calc, numbers not recognized as numbers
[nitpicking]there also quite a lot encodings beyond ASCII[/nitpicking]
Libreoffice 25.2… on Debian 13 (trixie) (on RaspberryPI5)
Libreoffice 25.8… flatpak on Debian 13 (Bookworm) (on RaspberryPI5)
Libreoffice 25.8… flatpak on Debian 13 (Bookworm) (on RaspberryPI5)
-
- Posts: 2
- Joined: Thu Aug 14, 2025 3:26 am
Re: Libre Calc, numbers not recognized as numbers
Today I made sure to download the transactions in .txt format. My spreadsheet is again working the way it should.
I'm not sure that I used .csv format yesterday, but if I did, that could have been the source of the problems.
I'm not sure that I used .csv format yesterday, but if I did, that could have been the source of the problems.
Libre Office 24.2.7.2
Ubuntu 24.0.2
Ubuntu 24.0.2