+ Reply to Thread
Results 1 to 13 of 13

Vlookup partial text in cell

  1. #1
    Registered User
    Join Date
    03-25-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Vlookup partial text in cell

    Hello,
    I have attached sample spreadsheet got from online source.
    But i'm facing problem for highlighted in red cell pulled values are wrong. If text doesn't match den it should be blank.

    Data Tab A consist of Raw Data and B contains formula to pull partial text data from Keywords tab.

    Thanks in advance for views and your help.
    Attached Files Attached Files
    Last edited by rupss01; 02-10-2014 at 01:34 PM.

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Vlookup partial text in cell

    Not elegant formula and Im modified a little in reference Table, and maybe not accurate 100%...

    Regards
    Attached Files Attached Files

  3. #3
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Vlookup partial text in cell

    Sorry bro... you need open the file with Office 2010 or higher

  4. #4
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Vlookup partial text in cell

    Hi All,

    an attempt. You have to move LS at the bottom of your list, in order to obtain better results


    Please Login or Register  to view this content.
    Just enter to confirm formula in B2.

    Hope it helps
    Attached Files Attached Files
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  5. #5
    Registered User
    Join Date
    03-25-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Vlookup partial text in cell

    Thanks for all your help and viwes.

    CANAPONE, can you please check attached file there, if partial text doesn't doesn't still it shows results, can it be blank.

    and somewhere result are pulled wrong.

    Please find attached.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Vlookup partial text in cell

    Hi,

    thanks for feedback

    Please Login or Register  to view this content.
    You have to play with you traduction list in order to fine tune (as far is possible) outputs from formula.

    Regards
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-25-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Vlookup partial text in cell

    Thanks Canapone for your help.

    Desired results are not getting, wrong value getting pulled. any other format, function or vba can be used to get desired result in proper format than it would be very helpful.

  8. #8
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Vlookup partial text in cell

    Hi,

    unfortunately I'm at zero level with Vba. I hope you receive better solutions from some friends of the Forum.

    Regards

  9. #9
    Registered User
    Join Date
    03-25-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Vlookup partial text in cell

    Thanks Canapone for your help and try.

    Shall be waiting for any good result which can solve this problem.

  10. #10
    Registered User
    Join Date
    03-25-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Vlookup partial text in cell

    Hi,

    Please find attached file contains desired result which am looking for.
    Attached Files Attached Files

  11. #11
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Vlookup partial text in cell

    Hi again

    this formula does not work as a vlookup, so be careful expecially if you're using -among keywords- short strings (LS for example).


    Hope it helps
    Attached Files Attached Files

  12. #12
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Vlookup partial text in cell

    here's 1 solution that can solve most of the problems i guess (my formula will not consider the file extensions. all the xlsx, zip, etc):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    row 25 is different from your desired answers because "Raymond James" has 2 brokers in keywords. Ray James & Raymond James. my formula will pick the last one.

    there is also an issue which didn't surface coincidentally. you have a broker name "GS". in row 28, you have:
    ALXN Earnings Model - Post-4Q13 Request_Stifel.xlsx
    my formula will actually give you "GS" if "Stifel" is placed above "GS" under the Keywords sheet. and that would be wrong i guess

    and that is the problem. i can't help you VBA, but even if you do want it, there has to be some consistency. i suppose when it looks for "GS", it has to be a word by itself right? and not something that contains "GS". but what happens then for cases like row 15?
    CPHD Client Model Q4'13_CraigHallum.xlsx
    you actually want the formula to look for something containing "Craig". so there is no consistency at all. i doubt VBA can help. my above formula works if you are looking for something containing the keyword. if you want the exact word by itself:
    =IFERROR(LOOKUP(2^15,SEARCH(" "&Keywords!$A$2:$A$2103&" "," "&SUBSTITUTE(SUBSTITUTE(A2,"_"," "),"."," ")&" "),Keywords!$B$2:$B$2103),"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  13. #13
    Registered User
    Join Date
    03-25-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Vlookup partial text in cell

    Thanks benishiryo your formula is to close to what am looking and happy getting 99%results.

    Thanks a lot

+ 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. Vlookup with only partial text match
    By betsy2128 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-18-2013, 08:03 AM
  2. Partial VLOOKUP for text contained in a cell
    By Rob_Bob007 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-31-2013, 09:41 AM
  3. Vlookup Partial Text String
    By dreicer_Jarr in forum Excel General
    Replies: 7
    Last Post: 05-26-2011, 09:23 PM
  4. Partial text vlookup
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-06-2011, 05:35 AM
  5. matching partial text within one cell to partial text within another
    By Solstice in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-03-2010, 09:13 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