Ron Adams wrote:
> 
> How do I leverage IF to replace error conditions, making them instead
> display constant string values? For instance, how would I replace #N/A,
> #NAME and #VALUE with “None”?
> 

Some functions you can look into:
ISNA(reference) - [is the reference #N/A ?]
ISERROR(reference) - [is the reference any of the following: #VALUE, #REF,
#NAME or #N/A ?]
ISERR(reference) - [is the reference any of the following:  #VALUE, #REF or
#NAME ?]

All of these functions return boolean results (either TRUE, or FALSE) which
you can then use in an IF() statement.  Notice that ISERROR() and ISERR()
only differ when it comes to #N/A.  Please also note that I am not 100% sure
of the definitions I gave here, this is only what I observed from use.  

As mentioned before, I think ISERROR() would work for your case.  There are
also some other IS... functions you can look at, but are not really relevant
to this topic.  Hope this helps.

Regards
Jack


--
View this message in context: 
http://nabble.documentfoundation.org/Test-for-Error-Conditions-in-Calc-tp2982777p2984083.html
Sent from the Users mailing list archive at Nabble.com.

-- 
Unsubscribe instructions: E-mail to users+h...@libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/www/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to