+ Reply to Thread
Results 1 to 2 of 2

Concatenate multiple columns into a last column

  1. #1
    Registered User
    Join Date
    03-09-2013
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    8

    Concatenate multiple columns into a last column

    Hi There,

    Looking for a macro for the below situation.
    Concatenation( with a hypen) of all the columns into a single last column.

    Col A , Col B , Col C , Col D , Col E ,
    abc , def , ghi , jkl , mno ,

    After running the macro. ( First column is fixed, Second column should contain all the rest of the date concatenated.

    Col A , Col B
    abc , def-ghi-jkl-mno


    FYI. The Data in the column can vary. ( Sometimes, data can end in Col E; Sometimes, data can end in Col Z)

    Thanks.
    Last edited by v_a_royston; 08-30-2015 at 01:37 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Concatenate multiple columns into a last column

    You can use this snb's UDF:

    Please Login or Register  to view this content.
    in last column. Copy as value after it's done and delete other columns.

    c01 is range
    c03 is separator (in your case "-")

+ 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] Concatenate Multiple Rows And Switch Columns If Blank
    By Knawl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-17-2014, 05:11 AM
  2. Need concatenate syntax to concat multiple columns with delimiter (,)
    By kavitha.v in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2014, 07:52 AM
  3. [SOLVED] Concatenate row data in columns B-F based on duplicate value in column A
    By wolffia in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2014, 10:03 AM
  4. [SOLVED] Concatenate 3 columns but triggered when data is placed in a different column
    By FlyFisherman in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-10-2013, 03:44 PM
  5. [SOLVED] Concatenate multiple rows and columns into 1 cell
    By mj44 in forum Excel General
    Replies: 19
    Last Post: 08-29-2013, 02:37 PM
  6. [SOLVED] Concatenate the values in a column one by one with multiple entries in another column
    By Pavan Renjal in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-11-2013, 08:13 AM
  7. Concatenate multiple data ranges (defined columns)
    By peely-peel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-03-2007, 05:53 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