Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / November 2006

Tip: Looking for answers? Try searching our database.

handle #VALUE exception

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andis Cirulis - 13 Nov 2006 11:09 GMT
hey,

I`ve excel function

=SEARCH("LV-1";D2)

if search text LV-1 is not found - it returns #VALUE

how can I handle this #VALUE ?

=IF(SEARCH("LV-1";D2);"substring_found";"substring not found")

is not working (#VALUE returned in false case)

I believe this is simple, just cannot think of any solution..

Thanks,
 Andis
vezerid - 13 Nov 2006 11:29 GMT
=IF(ISNUMBER(SEARCH("LV-1";D2));"substring_found";"substring not
found")

HTH
Kostis Vezerides

> hey,
>
[quoted text clipped - 14 lines]
> Thanks,
>   Andis
Bob Phillips - 13 Nov 2006 11:32 GMT
=IF(ISERROR(SEARCH("LV-1";D2));"substring not found";"substring found")

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> hey,
>
[quoted text clipped - 14 lines]
> Thanks,
>   Andis
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.