I have the problem below with LO 126.96.36.199 on a Fedora box.
I have a shell script that generates and save to a text file called synthesis.csv many lines like
Calc loads that file without problems, when tell it to use | as field separator.
Lets assume the payments imports (-100.25 and -50.25) end up in cells F1 and F2
if I write in a third cell the formula =sum(F1:F2) I get zero, because F1 and F2 are seen as text.
OK, so I select those cells and do Format->Cells->Numbers->Number = -1234.12
But I still get zero, because the operation above adds to the content
of \both F1 and F2 a single quote prefix:
F1 = '-100.25
F2 = '-50.25
which, right now, I have to remove manually to make the formula work.
What is happening, and how can I fix it? Even better: how to make LO
automatically format and use strings in the format -1234.12 as numbers
when it opens the file?
M. Fioretti http://mfioretti.com http://stop.zona-m.net
Your own civil rights and the quality of your life heavily depend on how
software is used *around* you
To unsubscribe e-mail to: firstname.lastname@example.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
- [libreoffice-users] cannot convert text to number in spreadsheet from csv file · M. Fioretti
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy