+ Reply to Thread
Results 1 to 2 of 2

Using search when it returns #VALUE!

  1. #1
    Registered User
    Join Date
    08-08-2006
    Posts
    4

    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?

  2. #2
    Niek Otten
    Guest

    Re: Using search when it returns #VALUE!

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

    --
    Kind regards,

    Niek Otten
    Microsoft MVP - Excel

    "IanMcGreene" <[email protected]> wrote in message
    news:[email protected]...
    |
    | 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1