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

Hi Gordom,

On Sat, 16 Nov 2013 15:02:09 +0100
gordom <> wrote:

Hallo everyone.
Some columns in my spreadsheet are filed with data only partly (some 
cells are blank). I need to put "0" value in this empty rows. Of
course I can add an extra column and use a formula like this one for
example =IF(ISBLANK(cell_address);"0";cell_address)
Note that this puts a text string of "0" in the cell, not the number
zero. For that you would want the double quotes around the zero
removed, like so:

But I was wondering if this task can be accomplished without adding 
(even temporarily) additional column. Is there a way to use formula 
(like the above one or any other) together with Find & Replace
function in the Edit menu?
Sure. Select the cell range you want to do the substitution on
(otherwise it will do find and replace on the whole sheet!), and go to
"Find & Replace". In the dialog, make sure the "Current selection
only" option under "Other Options" is checked. Leave the "Search for"
field empty, and put a zero in the "Replace with" field, then click
"Replace All". Simple.

Note that for some reason, this always seems to replace the blank cells
with the text string "0", I can't seem to get it to replace with an
actual zero. Maybe someone else knows: is there an opposite of the
apostrophe "operator", one that marks input as a number? Or some way to
tell "Find & Replace" to replace with numbers instead of text?

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.