Solved

How to find and replace blank fields in open office calc

Posted on 2008-06-11
1
790 Views
Last Modified: 2013-12-27
I have 6 columns and there are a few row entries that are blank in columns 2 and 3.   How can I find and replace those banks with '0's?  I'm trying to use phpPGadmin to import a csv file into a table and it wont take blanks in double precision fields.

Thanks,
Sean

SQL error:
 
ERROR:  invalid input syntax for type double precision: ""
 
In statement:
INSERT INTO "temp" ("zip", "lat", "lon", "city", "abr", "county", "type") VALUES ('29588', '', '', 'MYRTLE BEACH', 'SC', 'HORRY', 'STANDARD')

Open in new window

0
Comment
Question by:sean-keys
1 Comment
 
LVL 24

Accepted Solution

by:
fridom earned 500 total points
ID: 21784297
Move away the two columns then on at the other place write someting like
=if(CellMoved <> ""; CellMoved; 0,0)

Well you could of course change the insert statement if you like...

Regards
Friedrich

0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel change font color in formula 19 29
How do you check for multiple possibilities in Excel 7 27
Cost allcocation ... 10 23
V-Lookup 11 19
Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question