+ Reply to Thread
Results 1 to 4 of 4

Trying to match partial string to an array, need to output related cell

  1. #1
    Registered User
    Join Date
    12-16-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    8

    Trying to match partial string to an array, need to output related cell

    Hi, I have been reading through many posts here, and they are really helpful. I'm a newbie (6 days)- I have a problem with matching a partial string in a column in a tab to a column in another tab, and returning the value in a corrsponding column in the second tab. I have attached a sample worksheet to illustrate.

    In the "Names" tab I have the following data:

    Picture1.jpg

    I'm trying to see if any name in the Company column matches names in the "Customers" tab. The Customers tab looks like this:

    Picture2.jpg


    If there is a match, I would like to return the corresponding code (of the matching customer) in the "Code" column in the "Names" tab. I would appreciate your help.
    Attached Files Attached Files

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Trying to match partial string to an array, need to output related cell

    Using your posted workbook
    This regular formula, copied down, determines if one of the Customers list items is contained in Col_A and returns the corresponding Code...otherwise, "No Match"
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    12-16-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Trying to match partial string to an array, need to output related cell

    Wonderful!! Thanks, Ron- this works perfectly!

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Trying to match partial string to an array, need to output related cell

    Great! If that takes care of your question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Partial Match Cell To String Array
    By amazinglazers in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-09-2013, 05:56 AM
  2. Trying to match partial string with another string and give position or cell
    By pat3white in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-01-2013, 10:07 AM
  3. [SOLVED] Vlookup, Match (Search or Find) partial string within string in a Cell
    By dluhut in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-28-2013, 12:40 PM
  4. [SOLVED] Partial string match with file name
    By jamer02 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2012, 06:50 AM
  5. Partial String Match
    By Brittney10 in forum Excel General
    Replies: 2
    Last Post: 07-18-2010, 04:04 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