+ Reply to Thread
Results 1 to 3 of 3

ignoring the seed strings???

  1. #1
    Registered User
    Join Date
    12-09-2008
    Location
    Australia
    Posts
    27

    ignoring the seed strings???

    Can anyone please help me find a way to ignore the seed strings.
    Example i import data of say names
    steve jones, paul jones etc but in some cases it imports (5) steve jones or (db) steve jones and then the lookup wont produce the right data and i get #N/A coming up
    so it has
    steve jones 10
    tom jones 15
    (4) steve jones #N/A

    i would like to be able to do a vlookup on another tab of that information and just import everything except ( ) and the contents

    thanks
    Last edited by percivaltroy; 05-01-2009 at 07:57 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: ignoring the seed strings???

    Not entirely sure I follow but if you need to adjust the VLOOKUP to remove the (xxxx) from the criteria value then perhaps:

    B1: =VLOOKUP(TRIM(REPLACE($A1,FIND("(",$A1&"("),FIND(")",$A1&")"),"")),Sheet2!$A:$B,2,0)

    where A1 holds your string (be it Tom Jones or (xys) Tom Jones) and Sheet2!A:B holds your lookup table containing only Tom Jones.

    If the above is not what you require please post a sample file detailing expected results etc...

  3. #3
    Registered User
    Join Date
    12-09-2008
    Location
    Australia
    Posts
    27

    Re: ignoring the seed strings???

    donkeyote absolutely brilliant it worked a treat.
    thanks so much!
    cheers

+ 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