+ Reply to Thread
Results 1 to 8 of 8

IF(ISNUMBER(SEARCH function

  1. #1
    Registered User
    Join Date
    12-27-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    19

    IF(ISNUMBER(SEARCH function

    Hi all,

    I'm trying to write an IF(ISNUMBER(SEARCH to search for one piece of text when it could possibly be in two cells, I understand that C41:D41 doesn't work but I can't see how to write it correctly. Any assistance gratefully received.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: IF(ISNUMBER(SEARCH function

    =IF(ISNUMBER(SEARCH("me",A1&B1,1)),TRUE,FALSE)

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: IF(ISNUMBER(SEARCH function

    I think you mean if the string is in either cell, not concatenated cells as radulguy gives?

    =IF(LOOKUP(62^13,SEARCH("Text",C41:D41)),"Found","Not Found")

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: IF(ISNUMBER(SEARCH function

    @XOR LX

    I believe our formulas are equivalent, i.e. it searches for the value "me" in the string "A1textB1text", so if either A1 or B1 contain me, it will return true.

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: IF(ISNUMBER(SEARCH function

    But what if the string in A1 ends in "m" and that in B1 starts in "e"?

    Regards

  6. #6
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: IF(ISNUMBER(SEARCH function

    @XOR

    True:
    =IF(ISNUMBER(SEARCH("me",A1&"XXX"&B1,1)),TRUE,FALSE)

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: IF(ISNUMBER(SEARCH function

    Can't argue with that! Nice alternative idea, by the way.

  8. #8
    Registered User
    Join Date
    12-27-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: IF(ISNUMBER(SEARCH function

    Sorry for the late reply. The original response did what I required...thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help with multiple If(Isnumber(Search( function
    By khk410 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-27-2013, 09:07 AM
  2. [SOLVED] how to have multiple ISNUMBER search function in SUMPRODUCT
    By melvyndb in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-29-2012, 09:34 PM
  3. Using OR Function Within ISNUMBER(SEARCH()) Function
    By JonnyBoy333 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-29-2011, 06:09 PM
  4. ISNUMBER(SEARCH Function
    By somesoldiers in forum Excel General
    Replies: 2
    Last Post: 07-14-2009, 10:49 AM
  5. SUMPRODUCT((ISNUMBER(SEARCH() function
    By redneck joe in forum Excel General
    Replies: 13
    Last Post: 12-08-2006, 06:19 PM

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