Hi,

Miss Keating schrieb
Is there any way to force calc to treat text in a cell as equivalent to
zero when a number is expected?

Yes, you can apply the function N before you do further calculation.
The function N returns 0 for a text and the number itself for a number. The cells should not have any error-value.

If you have a bunch of those cells, I would add a new sheet and use the formula =N(reference to cell in old sheet) for all cells. And then do calculations like sum, average, or whatever you need on the new sheet.

 I always thought that this was the
normal presumption, but it appears not to be, at least for LO 3.5.7.2,
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b under Win7.

Values that can be converted without problems are converted automatically in much case. Problems might come because of local interpreting of decimal separator or date. That was done for former Excel users. In other cases, for example in the function PRODUCT, not 0 but 1 is used. So it is always safer not to trust automatically conversion, but do conversion yourself.

Kind regards
Regina


--
For unsubscribe instructions e-mail to: [email protected]
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

Reply via email to