Issue 90675 - Calc: find and search functions return error on no-find.
Summary: Calc: find and search functions return error on no-find.
Status: CLOSED DUPLICATE of issue 66590
Alias: None
Product: Calc
Classification: Application
Component: programming (show other issues)
Version: OOo 2.4.1
Hardware: Mac All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: spreadsheet
QA Contact: issues@sc
Depends on:
Reported: 2008-06-12 21:07 UTC by adrianh_hope
Modified: 2008-08-22 10:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description adrianh_hope 2008-06-12 21:07:43 UTC
On a failed search, both functions return #VALUE!.
To reproduce:
1. Enter in cell a formula with find text that will not be found in source
text, for example:


2. Observed:
 #VALUE! is returned.

Return value of zero or negative 1 (0 or -1).

4. Discussion:
Cumbersome work-around example:


Documentation does not address the return value for the no-find

Yes, this is how Microsoft Excel does it. It is a bug in Excel also,
but I can't help them. ;-).

Maybe we could have our own function, like AT(find,source) that returns zero on

Comment 1 discoleo 2008-06-13 21:58:42 UTC
This is probably a duplicate of issue 66590

Definitely should NOT be closed as WORKSFORME (as many other doubles were closed).
Comment 2 jm38706415 2008-08-18 03:33:13 UTC
Hi adrianh_hope,

This issue has been submitted in #66590 by Discoleo .

Thanks all the same.
Comment 3 redflagzhulihua 2008-08-22 10:44:33 UTC
Duplicate of issue 66590

*** This issue has been marked as a duplicate of 66590 ***
Comment 4 redflagzhulihua 2008-08-22 10:45:13 UTC