To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105036
                 Issue #|105036
                 Summary|search() function yields #value! if search fails
               Component|Spreadsheet
                 Version|OOO310m19
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|spreadsheet
             Reported by|oopla





------- Additional comments from oo...@openoffice.org Sun Sep 13 08:48:11 +0000 
2009 -------
using the eg in guide [IT RICERCA = SEARCH]:

  RICERCA(54; 998877665544)

yields 10; but then

  RICERCA(54; 998877665584)

yields #VALORE! [ie #VALUE!) which is clearly wrong; the return value should be
eg 0 or -1, not an argument error. This breaks functions like

  IF(SEACH(123;456);"found";"x")

which neads to be rewritten in a clumsy form like eg

  IF(VAL.ERROR(SEACH(123;456));"x";"found")

which anyway prevents direct use of the SEARCH return value in eg a formula.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sc.openoffice.org
For additional commands, e-mail: issues-h...@sc.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to