+ Reply to Thread
Results 1 to 12 of 12

CONCATENATE an entire column

  1. #1
    Registered User
    Join Date
    01-16-2013
    Location
    England
    MS-Off Ver
    Excel 2013
    Posts
    9

    CONCATENATE an entire column

    Hi everyone!

    I'm trying to concatenate an entire column with a certain character between each cell.

    I've found a few options related to VB script, but I'm not too good with that so I was wondering if there was an alternative?

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: CONCATENATE an entire column

    Maybe something like this?

    c1
    Please Login or Register  to view this content.
    And drag down.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: CONCATENATE an entire column

    Sure, providing your list isn't too long, you could use a formula. If your list starts in A1, then in B1, enter:
    =A1
    Then, in B2, enter: =B1&", "&A2
    Then fill that down. To change the separator, replace the comma with whatever you want.

    Once you get to the bottom of the list in column A, it will have concatenated the column, with separators.
    - Moo

  4. #4
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: CONCATENATE an entire column

    Hi db9429

    What do you mean by concatenating a entire column! If you wanted to concatenate A1 to B1 with Characters in between.
    =A1&CHAR(65)&CHAR(66)&B1
    And copy down!
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  5. #5
    Registered User
    Join Date
    01-16-2013
    Location
    England
    MS-Off Ver
    Excel 2013
    Posts
    9

    Re: CONCATENATE an entire column

    Hi everyone, thanks for your replies.

    What I actually mean (I don't think I did a good job of explaining it) is I've got a list from B1 to B100, each with a different value.

    So instead of it looking like this:
    B1Contents
    B2Contents
    B3Contents
    B4Contents
    etc
    B100Contents

    I need it to concatenate each value so it looks like this: B1Contents,B2Contents,B3Contents,B4Contents,B5Contents etc

    So it would be quite a lot in one cell!

    Maybe I do need to use VBScript?

  6. #6
    Registered User
    Join Date
    01-16-2013
    Location
    England
    MS-Off Ver
    Excel 2013
    Posts
    9

    Re: CONCATENATE an entire column

    Just to clarify, the technique that has been suggested concatenates only 2 cells. So my list is in B1 to B100

    in C2 I've done =B1&", "&B2 and dragged down and I'm getting:

    B1Contents, B2Contents
    B2Contents, B3Contents
    B3Contents, B4Contents

    etc

    Thanks

  7. #7
    Registered User
    Join Date
    01-16-2013
    Location
    England
    MS-Off Ver
    Excel 2013
    Posts
    9

    Re: CONCATENATE an entire column

    Just to clarify, the technique that has been suggested concatenates only 2 cells. So my list is in B1 to B100

    in C2 I've done =B1&", "&B2 and dragged down and I'm getting:

    B1Contents, B2Contents
    B2Contents, B3Contents
    B3Contents, B4Contents

    etc

    Thanks

  8. #8
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: CONCATENATE an entire column

    actually, you should be using , In C1: =B1, in C2 :=C1&" , "&B2 dragged down..

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  9. #9
    Registered User
    Join Date
    01-16-2013
    Location
    England
    MS-Off Ver
    Excel 2013
    Posts
    9

    Re: CONCATENATE an entire column

    dredwolf - that was it! all working now.

    Thank you all so much!

  10. #10
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: CONCATENATE an entire column

    You are welcome

  11. #11
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: CONCATENATE an entire column

    Moo's formula was right, you just forgot to adjust for moving it over a column

  12. #12
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: CONCATENATE an entire column

    This UDF might be of some interest
    It concatinates any given range with the sepatator of your choice, omitting blank cells.

    See H22
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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