+ Reply to Thread
Results 1 to 6 of 6

Concatenating a large row of values

  1. #1
    Registered User
    Join Date
    03-21-2012
    Location
    Tennessee
    MS-Off Ver
    Excel 365
    Posts
    16

    Concatenating a large row of values

    Hello,

    Say I wanted to concatenate a row that had 10,000 values in it. How could this be achieved without having to click 10,000 cells while typing a comma in between each one?

    Thanks.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Concatenating a large row of values

    A
    B
    C
    1
    A A B1: =A1
    2
    B A,B B2: =B1 & "," & A2
    3
    C A,B,C
    4
    D A,B,C,D


    Bear in mind that a cell can only contain 32K characters, and will only display about 1K.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Concatenating a large row of values

    Or someone else has written a nice UDF to do it for you

    http://chandoo.org/wp/2008/05/28/how...-excel-concat/
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Concatenating a large row of values

    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Concatenating a large row of values

    Yes, Sktneer, I just stumbled across this one, too. It's amazing!!!

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Concatenating a large row of values

    Quote Originally Posted by Glenn Kennedy View Post
    Yes, Sktneer, I just stumbled across this one, too. It's amazing!!!
    Yes no doubt.

+ 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 cell values
    By tray262 in forum Excel General
    Replies: 20
    Last Post: 11-11-2012, 09:22 AM
  3. [SOLVED] Concatenating text values
    By mvg688 in forum Excel General
    Replies: 7
    Last Post: 05-23-2012, 07:43 AM
  4. Concatenating a symbol to FORMATED values
    By phrankndonna in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-01-2012, 10:57 AM
  5. Concatenating Columns values
    By sarathyvb in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-30-2007, 08:06 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