Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Sat, 22 Dec 2012, Tom Davies wrote:

My ham-fisted kludge would probably be to save the Csv and then open it in
a text-editor, such as Kate, Gedit, Notepad or whatever and then do
search&replace to look for

Tom,

  I use emacs for almost all my writing.

, ,
and replace with
,  " ", 

  The problem with searching for ,, and replacing them with ,'', is that
blank number cells are also quoted. SQL does not like that. :-)

Perhaps in Calc add an unusual combination of characters in thse empty
cells. 

  The first thing I did was save the freshly-opened .csv as .ods. I get
client data as exports from their Excel spreadsheets (sigh) which I save as
.ods, then clean up. When I save the .ods file as .csv the text fields --
even the blank ones -- are quoted. That's not working with these files.

  I'm trying (with C-h) to replace all blank cells with NA. However, with
105000 rows and about 50 columns it takes a very long time ... I gave up for
today. But, I'll try again tomorrow. Then I can block number columns and
replace the NA with blanks.

Quite the hassle,

Rich




--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: 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.