+ Reply to Thread
Results 1 to 4 of 4

Need concatenate syntax to concat multiple columns with delimiter (,)

  1. #1
    Registered User
    Join Date
    06-10-2014
    Location
    Chennai
    Posts
    7

    Need concatenate syntax to concat multiple columns with delimiter (,)

    Hi All,

    I need code in vba to concat multiple columns. My scenario is we have data in column A to G, where a1 to G1 are headers. Need to concat the columns like a2,b2,c2,d2,e2,f2,g2 till a50,b50,c50,d50,e50,f50,g50... (eg: '101', 'Arun','11001','12/25/1990','32-A, Sabarna Flats','Mumbai','50000').

    Thanks in advance,

    K@v!..

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

    Re: Need concatenate syntax to concat multiple columns with delimiter (,)

    use one of snb's solution: http://www.snb-vba.eu/VBA_UserDefinedFunctions_en.html

    You probably need:
    concatenate values in a row without blanks specifying the separator
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need concatenate syntax to concat multiple columns with delimiter (,)

    Try:

    Please Login or Register  to view this content.
    Places results in Column H.

  4. #4
    Registered User
    Join Date
    06-10-2014
    Location
    Chennai
    Posts
    7

    Re: Need concatenate syntax to concat multiple columns with delimiter (,)

    Thanq all for ur replies

+ 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. Combine multiple cells in columns - Concat with variable spacing using VBA Script
    By AMC_CO in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-13-2013, 03:57 PM
  2. [SOLVED] Syntax needed for counting values using multiple columns
    By brharrii in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-09-2013, 12:38 PM
  3. How to Concat Multiple Listbox Selections?
    By AccessGeek in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-23-2011, 11:30 AM
  4. Concatenate to Clipboard-Remove final delimiter
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 01-25-2011, 06:22 PM
  5. Concat and summarize 6 columns to 2 columns
    By italia in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-18-2005, 03:05 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