sutoiku/formula.js — pull request #32 by petermoresi (2014-12-04 00:58:07+00:00)
Title: Fixing SEARCH function to return error.value when text is not found

When I look at the MS documentation it says that:

If the value of find_text is not found, the #VALUE! error value is returned.

http://office.microsoft.com/en-001/excel-help/search-searchb-functions-HP010062577.aspx

A common trick is to use ISNUMBER(SEARCH("foo", "barbar")) which should return FALSE.