You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openoffice.apache.org by Ennio Sr <na...@gmail.com> on 2012/08/25 13:46:10 UTC

#VALUE! warning in spreadsheet

Hi all,

On August 22 I sent this message to the old 'users@openoffice.org'
which might have gone astray somewhere on the web (*):
quote
---------------
When I opened one of my spreadsheets I found many  cells were filled
with the '#VALUE!' warning.
They are very old indeed (year 2008) but  they used to work fine with
earlier OO versions (1.1 ?).
As there are many trasnsactions involving subtraction between dates, I
suspect that missing
value dates may be responsible for the error: i.e. if the formula says
'= (dateA - dateB)*n' and DateB is null, then the formula does not work.
On the other hand, if a date is null that means that there was no
transaction, so   I   cannot fill all void dates with a foo-value...

Can you help me?
Thanks for your attention,
    ennio
-----------------
unquote


Well, in the meantime I've found something very strange happens with
spreadshhet:
Create a simple ss like this:

        A           B            C           D            E
F             G
                 (date)     (date)  (=c1-b1)  (number)  (number) (=e1+f1)

1  item 1      void        void         0             1           1
           2
2  item 2      void        void         0             2      'space'     #VALUE!

That is how the ss will appear when cells of col B and C are void and
cell F2 has got a space in it instead of a number. The same occurs
with col D if by chance you type a space in one of the cells of cols B
and C.
Re-formatting the columns  does not help at all: the situation can
only be 'cured' copying a true void cell (formatted as date or number,
as the case may require) onto the corrupted one.
The weird thing is that the 'space' corrupting the cell is not
visible, so I have no idea on how to overcome this situation on my
spreadsheet, as it has about 12000 cells and any of them may have been
inadvertently corrupted!
Any idea, please?


(*) I have just realized something has changed and that list does not
seem to exist anylonger. Can sombody tell me when this happened?

-- 
[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo.   \\?//
 Fa' qualche cosa di cui non sei capace!"  (diceva Henry Miller) ]        (°|°)
[Why use Win$ozz (I say) if ... "even a fool can do that.
         )=(
 Do something you aren't good at!" (as Henry Miller used to say) ]

---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


Re: #VALUE! warning in spreadsheet

Posted by Brian Barker <b....@btinternet.com>.
At 23:11 26/08/2012 +0200, Ennio Sr wrote:
>I would rather prefer that warning be fired when an inappropriate 
>value is typed in a cell more than in the cell containing the 
>formula: if a cell is formatted to contain a date, it should not be 
>possible to put a space in it ...

That's fairly easy:
o Select the relevant range of cells.
o Go to Data | Validity... .
o On the Criteria tab, for Allow select Date.
o On the Error Alert tab, tick "Show error message when invalid 
values are entered" and for Action select Stop.

I trust this helps.

Brian Barker


---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


Re: #VALUE! warning in spreadsheet

Posted by Ennio Sr <na...@gmail.com>.
On Sat, Aug 25, 2012 at 5:43 PM, Andrea Pescetti <pe...@apache.org> wrote:



> The OpenOffice project is now managed by the Apache Foundation. All mailing
> lists on the old openoffice.org infrastructure have been shut down (after
> several warnings were sent to users).
[...]

Thank you, Andrea, for answering my note. It was a long time I did not
use OO so I have missed past warnings.
As to my '#VALUE!' problem I was able to overcome it patiently using
the BackSpeceDelete key on every (apparent) void cell.

I would rather prefer that warning be fired when an inappropriate
value is typed in a cell more than in the cell containing the formula:
if a cell is formatted to contain a date, it should not be possible to
put a space in it (as it happens in PostgreSQL, for example).

Thanks to all who answered my post and again to Brian Barker, who
kindly wrote to me in private.

Regards,
     ennio

-- 
[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo.   \\?//
 Fa' qualche cosa di cui non sei capace!"  (diceva Henry Miller) ]    (°|°)
[Why use Win$ozz (I say) if ... "even a fool can do that.              )=(
 Do something you aren't good at!" (as Henry Miller used to say) ]

---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


Re: #VALUE! warning in spreadsheet

Posted by Andrea Pescetti <pe...@apache.org>.
Ennio Sr wrote:
> On August 22 I sent this message to the old 'users@openoffice.org'
> which might have gone astray somewhere on the web (*):

You also sent it here, where you received two answers (plus another one 
by Andreas Saeger today): see
http://mail-archives.apache.org/mod_mbox/incubator-ooo-users/201208.mbox/browser
(page 2) to find your messages and the answers.

> (*) I have just realized something has changed and that list does not
> seem to exist anylonger. Can sombody tell me when this happened?

The OpenOffice project is now managed by the Apache Foundation. All 
mailing lists on the old openoffice.org infrastructure have been shut 
down (after several warnings were sent to users).

The most important mailing lists were recreated on the new 
infrastructure. You will find a list at
http://www.openoffice.org/mail_list.html
but probably you will want to subscribe to the new "users" mailing 
lists: the global one is
http://mail-archives.apache.org/mod_mbox/incubator-ooo-users/
and there is a broad range of non-English ones, like Italian:
http://mail-archives.apache.org/mod_mbox/incubator-ooo-utenti-it/

In any case, send an empty e-mail to the "Subscription address" (like 
ooo-users-subscribe@incubator.apache.org ) and reply to the address 
confirmation e-mail. You will then receive all answers to your 
questions, exactly like it worked for the old mailing lists.

Regards,
   Andrea.

---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org


Re: #VALUE! warning in spreadsheet

Posted by Andreas Säger <vi...@t-online.de>.
A space is a charater just like "a", "b", "c".
="a"+"b" raises an error because + is an arithmetic operator which 
applies to numbers only. Even ="1"+"2" raises an error because you can 
not add character "1" to character "2".

So your =e1+f1 fails whenever you refer to a text value.
Try =SUM(E1;F1)
Contrary to arithmetic operators, many arithmetic functions can ignore text.


---------------------------------------------------------------------
To unsubscribe, e-mail: ooo-users-unsubscribe@incubator.apache.org
For additional commands, e-mail: ooo-users-help@incubator.apache.org