atom feed7 messages in org.oasis-open.lists.office-commentRe: [office-comment] Re: Very Weak St...
FromSent OnAttachments
Leonard MadaJun 7, 2007 1:35 pm 
Thomas ZanderJun 7, 2007 11:49 pm.pgp
Eike RathkeJun 8, 2007 9:33 am 
Leonard MadaJun 9, 2007 2:07 am 
Patrick DurusauJun 9, 2007 3:15 am 
David A. WheelerJun 10, 2007 3:42 pm 
Eike RathkeJun 13, 2007 10:51 am 
Subject:Re: [office-comment] Re: Very Weak String Support in ODF
From:Eike Rathke (era@sun.com)
Date:Jun 13, 2007 10:51:07 am
List:org.oasis-open.lists.office-comment

Hi Leonard,

On Saturday, 2007-06-09 12:12:28 +0300, Leonard Mada wrote:

One thing in common that every study on human errors has brought to light is that errors increase as formulas get more complex. The workaround for the FIND/SEARCH()-problem makes the formula definitely more complex, what do you think? 1.) = OR( FIND("a"; ...) ; FIND("b"; ...) ) 2.) = OR( IF( ISERR( FIND("a"; A1) ); 0 ; FIND("a"; A1) ) ; IF( ISERR( FIND("b"; A1)) ; 0 ; FIND("b"; A1) ) )

Please feel free to correct the above formula IF you find the error. I was NOT able to make OOo Calc compute it. After more that 15 minutes I gave up.

Actually I didn't experience any problem with #2, it works exactly like you wrote it, giving TRUE if A1 contains "a" or "b", else FALSE. However, of course compared to #1 it is overly complex. That is where IFNA comes in, what we currently discuss on the subcommittee's list.

= OR( IFNA( FIND("a"; A1); 0) ; IFNA( FIND("b"; A1); 0) )

Eike