Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Using search when it returns #VALUE!


I am trying to figure out how I can use the SEARCH function when it does
not find what it is looking for and returns an error.

I want to make an if statement that does one thing when the search
finds a string, and another if it does now. But if it does not find
what it is looking for it just returns #VALUE! and errors out.

Any ideas?


--
IanMcGreene
------------------------------------------------------------------------
IanMcGreene's Profile: http://www.excelforum.com/member.php...o&userid=37247
View this thread: http://www.excelforum.com/showthread...hreadid=571958

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default Using search when it returns #VALUE!

=IF(ISERROR(YourSearchFormula),OneFormula, AnotherFormula)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"IanMcGreene" wrote in message
...
|
| I am trying to figure out how I can use the SEARCH function when it does
| not find what it is looking for and returns an error.
|
| I want to make an if statement that does one thing when the search
| finds a string, and another if it does now. But if it does not find
| what it is looking for it just returns #VALUE! and errors out.
|
| Any ideas?
|
|
| --
| IanMcGreene
| ------------------------------------------------------------------------
| IanMcGreene's Profile: http://www.excelforum.com/member.php...o&userid=37247
| View this thread: http://www.excelforum.com/showthread...hreadid=571958
|


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
search for date in long string of text ryan00davis Excel Discussion (Misc queries) 4 August 11th 06 07:06 PM
Search /Filter vertical Numeric pattern (down single column) Sam via OfficeKB.com Excel Worksheet Functions 0 July 7th 06 06:25 PM
Search Entire Workbook Sloth Excel Discussion (Misc queries) 0 October 14th 05 05:12 AM
Search within workbook Mare New Users to Excel 3 October 10th 05 07:17 PM
FAQ Spreadsheet with search function murphyz Excel Discussion (Misc queries) 0 March 19th 05 09:24 PM


All times are GMT +1. The time now is 05:15 AM.

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

About Us

"It's about Microsoft Excel"