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


-------- Original Message  --------
From: Tinkerer <j_taylor18@btinternet.com>
To: users@global.libreoffice.org
Date: Wed, 13 Mar 2013 04:03:55 -0700 (pdt)

Using Mac 10.8.2 and Libre 4.0.1, I find that the the IF function does not
place a blank space as the second option.
Have I done something insanely stupid, or is this a bug?
Where I should get blank cells I am getting:   #DIV/O!

ASTest.ods <http://nabble.documentfoundation.org/file/n4043493/ASTest.ods>  

Tests and comments please.

Tink.

Using the formula in G10 as an example:
=IF(C10*100/B10>0,C10*100/B10,"")
C10 is empty (zero value)
B10 is empty (zero value)
So zero * 100 / zero = Divide by zero error.

One possible alternative (other tests could be added):
=IF(B10<>"",(C10*100/B10>0,C10*100/B10,""))

Dave




-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
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

Context


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.