+ Reply to Thread
Results 1 to 2 of 2

Checking to see if a character exists in a string

  1. #1
    Registered User
    Join Date
    05-11-2010
    Location
    Kennewick, Washington
    MS-Off Ver
    Excel 2007
    Posts
    19

    Checking to see if a character exists in a string

    I have a list of products with and with out product IDs.

    Product(ID#)
    Product
    Product(ID#)
    Product
    Product(ID#)
    Product
    Product
    Product(ID#)

    In the column next to them I want it to display null if there is an ID.

    If there is not an ID I want it to VLOOKUP to find the ID

    This is the formula I have been trying to use.

    IF(FIND("(",A5)>0, VLOOKUP(A5,'IMOS-RE'!$B$1:$W$300,3,FALSE), "Null")

    I need the formula to rely on the parenthesis ( or ). They are the only character that is guaranteed to be only in the ones with IDs.

    The problem I am having is that FIND errors with #VALUE because it does not find the "(".
    Last edited by WKM; 06-04-2010 at 11:59 PM. Reason: Solved

  2. #2
    Registered User
    Join Date
    05-11-2010
    Location
    Kennewick, Washington
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Checking to see if a character exists in a string

    Here is the solution thanks for any input.

    IF(EXACT(")",RIGHT(A7)), "", VLOOKUP(A7,'IMOS-RE'!$B$1:$W$300,3,FALSE)

+ 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