?
Solved

How to find and replace blank fields in open office calc

Posted on 2008-06-11
1
Medium Priority
?
812 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 24

Accepted Solution

by:
fridom earned 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

762 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