Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dm2504
 
Posts: n/a
Default Excel Search function

I have a text string that I want to search to find a particular sub-string
and I am using the SEARCH function. If the result fails to find it, the
result is the #VALUE!. Is there a way to display a zero (0) instead - I would
like to manipulate the result.
Thanks.
--
David
  #3   Report Post  
Posted to microsoft.public.excel.misc
Tom Ogilvy
 
Posts: n/a
Default Excel Search function

For clarity
to show a zero it would be modified to

=IF(ISERR(SEARCH("ccc",G8)),0,SEARCH("ccc",G8))


--
Regards,
Tom Ogilvy



"Don Guillett" wrote in message
...
use isserr
=IF(ISERR(SEARCH("ccc",G8)),"",SEARCH("ccc",G8))
--
Don Guillett
SalesAid Software

"dm2504" wrote in message
...
I have a text string that I want to search to find a particular

sub-string
and I am using the SEARCH function. If the result fails to find it, the
result is the #VALUE!. Is there a way to display a zero (0) instead - I
would
like to manipulate the result.
Thanks.
--
David





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Should Have a History Function. Ray M. Excel Worksheet Functions 2 September 23rd 05 08:03 AM
linear interpolation function in excel tskoglund Excel Worksheet Functions 4 September 10th 05 03:31 AM
@ and "function not valid" error (Excel 2003) Acert93 New Users to Excel 1 September 2nd 05 07:17 AM
Access Module coded converted to Excel Function Adam Excel Discussion (Misc queries) 1 December 23rd 04 02:48 PM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM


All times are GMT +1. The time now is 12:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"