+ Reply to Thread
Results 1 to 4 of 4

Matching two Columns and Concatenating Values

  1. #1
    Registered User
    Join Date
    09-29-2014
    Location
    London
    MS-Off Ver
    EXCEL
    Posts
    3

    Matching two Columns and Concatenating Values

    I need to match two columns Customer Number and Company Code, as shown in the image below.


    Untitled.png

    The data set I'm dealing with is very large and I need an effective way of doing this if possible, I've looked at alot of examples for index and match but I can't understand how to apply this to my problem.

    Any help would be welcome.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,937

    Re: Matching two Columns and Concatenating Values

    Here is a UDF that will do exactly what you are looking for:
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Cool Re: Matching two Columns and Concatenating Values

    Hi,
    I have use a udf CONCATALL which I think is best for the situation..
    To know more about the formula, try FORMULA AUDITING...
    Check the attached file..
    Attached Files Attached Files
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  4. #4
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Matching two Columns and Concatenating Values

    I'm posting this for .... educational purposes I guess since this is already solved I think.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by GeneralDisarray; 10-03-2014 at 11:15 AM.
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

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

+ 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] Concatenating two columns and reversing after concatenating the result
    By irfanparbatani in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-22-2014, 09:35 PM
  2. [SOLVED] Concatenating values two columns (column B, column C) based on criterion
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2014, 11:31 AM
  3. [SOLVED] distributing/concatenating values from multiple columns
    By vlady in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-20-2013, 05:10 AM
  4. Matching & Concatenating Multiple Criteria
    By gablack in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-16-2012, 10:20 AM
  5. Concatenating Columns values
    By sarathyvb in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-30-2007, 08:06 PM

Tags for this Thread

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