+ Reply to Thread
Results 1 to 6 of 6

Using the ISNUMBER and SEARCH Funtions

  1. #1
    Registered User
    Join Date
    06-27-2014
    Location
    Rochelle, IL
    MS-Off Ver
    2007
    Posts
    2

    Using the ISNUMBER and SEARCH Funtions

    If a value of 062914MNP-01 is in cell A2 for example, how can the IF, ISNUMBER, and SEARCH Functions be used to create a result in cell A1 of "Perfect" if true and "Error" if False if the part if the value of A2 contains the letters MNP. I tried =IF(ISNUMBER(SEARCH(A2,MKP)), "Perfect","Error" but the result is always Error.

    Thanks, I am a novice at Excel.

    Mike
    Last edited by Michael N. Pierce; 06-27-2014 at 09:57 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Using the ISNUMBER and SEARCH Funtions

    First, check the definition of SEARCH; your arguments are backwards. Second, MKP should be MNP. Third, MNP should be in quotes.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    05-16-2014
    MS-Off Ver
    Excel 2003
    Posts
    44

    Re: Using the ISNUMBER and SEARCH Funtions

    does this work for you..

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-27-2014
    Location
    Rochelle, IL
    MS-Off Ver
    2007
    Posts
    2

    Re: Using the ISNUMBER and SEARCH Funtions

    Yes, that worked. Thank you very much. If you have an Animal Science questions, I will return the favor.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Using the ISNUMBER and SEARCH Funtions

    Here's another one...

    =IF(COUNTIF(A2,"*MNP*"),"Perfect","Error")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Using the ISNUMBER and SEARCH Funtions

    The solution from aavins73 assumes that the string MNP will occur in a specific position. That works in your example. Solutions from me and Tony Valkodo not make any assumptions about position.

+ 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. [SOLVED] if(isnumber(search(not this text?)
    By wizadele14 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-19-2013, 08:02 AM
  2. [SOLVED] =IF(ISNUMBER(SEARCH Problem
    By 3smees23 in forum Excel General
    Replies: 3
    Last Post: 11-09-2012, 10:54 AM
  3. If, or, isnumber, search
    By reb2u in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2012, 10:53 AM
  4. Multiple IF ISNUMBER SEARCH
    By bibach in forum Excel General
    Replies: 5
    Last Post: 07-13-2011, 04:41 AM
  5. Isnumber(search
    By AVIDDA in forum Excel General
    Replies: 1
    Last Post: 01-14-2011, 02:45 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