Share via

#VALUE! Error inside SEARCH function nested in IF function that needs to be extended if possible

Anonymous
2017-04-04T18:57:14+00:00

Hi all,

Thanks for looking at my post even if its not too interesting it still important for me to fix it because I need to extend the function so much. 

Instead of

"IT'S Q" - I'll have =HYPERLINK((CONCATENATE("http://maps/pdf/Q/C_and_DO/",I87,".pdf")),I87)

"IT'S NOT Q" - I'll have =HYPERLINK((CONCATENATE("http://maps/pdf/B/C_and_DO/",I87,".pdf")),I87)

and I guess will be good to start with no error since . I tried my own fixes but doesn't solve the error.

Thanks for any suggestion,

Dan Tabla

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2017-04-05T00:38:02+00:00

The SEARCH function gives an error if it doesn't find the string you're looking for.

Try it like this:

=IF(IFERROR(SEARCH("q",F87,1),0)<>0,"IT'S Q","IS NOT Q")

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2017-04-07T05:38:45+00:00

    Thanks a lot mr. Murray, it solved my problem. Apologize for the delayed answer but I had to test it before confirming.

    Was this answer helpful?

    0 comments No comments