+ Reply to Thread
Results 1 to 14 of 14

VLookup for find Text in Column

  1. #1
    Registered User
    Join Date
    01-11-2007
    Posts
    94

    VLookup for find Text in Column

    I searched the website and could not find solution, I used Vlookup and List function but could not get the result.

    I am trying to populate in Sheet 1 - Column B the values found in Column A of Sheet 2 with comma.

    Sheet 1 - Column A
    Names
    AMY Goldy ANNA
    George Leena
    Geena Amy Shawn
    Andrew Anna
    Deborah
    Victor
    Carlos
    Nancy Goldy
    juilo

    Sheet2 - Column B
    Names
    Amy
    Anna
    Goldy
    Victor

    Whats best way to do ?

    Thnx
    NKRA
    Last edited by NKRA; 07-23-2010 at 10:15 AM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: VLookup for find Text in Column

    ?????what result do you excpect
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    01-11-2007
    Posts
    94

    Re: VLookup for find Text in Column

    I want pull info attached in attached

    NKRA
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-11-2007
    Posts
    94

    Re: VLookup for find Text in Column

    Any suggestion or guidance to help on this?

  5. #5
    Registered User
    Join Date
    01-11-2007
    Posts
    94

    Re: VLookup for find Text in Column

    I tried with this formula but i cannot get the result i have in excel work book
    =INDEX(Sheet2!$A$2:$A$5,MATCH(TRUE,INDEX(ISNUMBER(SEARCH(Sheet2!$A$2:$A$5,A9)),0),0))

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: VLookup for find Text in Column

    You can do this with a free addin downloaded from here: Morefunc.

    Then applying formula:

    Please Login or Register  to view this content.

    confirmed with CTRL+SHIFT+ENTER
    and not just enter and copied down

    or you can use a UDF like (ALT+F11, then Insert|Module and Paste the below code):

    Please Login or Register  to view this content.
    and applying formula:

    Please Login or Register  to view this content.
    and confirmed with CTRL+SHIFT+ENTER and not just ENTER and copied down

    NOTE: If you change anything in the formula, like references and ranges, then you must reconfirm with CSE key combination before copying down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  7. #7
    Registered User
    Join Date
    01-11-2007
    Posts
    94

    Re: VLookup for find Text in Column

    It doesnot give result like the one I am looking in attached
    Attached Files Attached Files

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: VLookup for find Text in Column

    Actually, it does.

    See attached.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    01-11-2007
    Posts
    94

    Re: VLookup for find Text in Column

    Yes it worked, Thnx for update. There is no way we could without addin?

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: VLookup for find Text in Column

    I did not use the addin... I used a user defined VBA function.

  11. #11
    Registered User
    Join Date
    01-11-2007
    Posts
    94

    Re: VLookup for find Text in Column

    Further to this solution, I used this formula to pull certain words out of text which it did perfectly but at some places it pulled word text though it was not a direct match. Any resolution to that.

    Attached example.
    Attached Files Attached Files

  12. #12
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: VLookup for find Text in Column

    Try this revised formula:

    Please Login or Register  to view this content.
    confirmed with CTRL+SHIFT+ENTER

  13. #13
    Registered User
    Join Date
    01-11-2007
    Posts
    94

    Re: VLookup for find Text in Column

    I tried looking into forum could not find solution in 2007 excel shift+control+enter does not work it results in #Name?..

    folks any suggestion?

    NKRA

  14. #14
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: VLookup for find Text in Column

    It is the MCONCAT function probably giving you that error.. you need to download the addin from the link in post #6 or if you use the aconcat() udf, you need to add the macro to your VB editor in XL2007, if you started fresh.

+ 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