+ Reply to Thread
Results 1 to 10 of 10

Combile (Append) 2 or more columns

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    Greenland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Combile (Append) 2 or more columns

    I've multiple columns of data which I want to put in to 1 single column.

    EX: Columns A,B,C Data is appended in to D.

    A B C D
    1 5 9 1
    2 6 10 2
    3 7 11 3
    4 8 12 4
    13 5
    14 6
    7
    8
    9
    10
    11
    12
    13
    14

  2. #2
    Forum Contributor
    Join Date
    10-01-2013
    Location
    Cameron, Mo
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: Combile (Append) 2 or more columns

    concatenate can combine cells into one cell. if you wanted to combine A1 b1 and c1 with commas in between the numbers your fromula would look something like this---
    =CONCATENATE(A1,",",B1,",",C1)

    I hope this helps

  3. #3
    Registered User
    Join Date
    10-04-2013
    Location
    Greenland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Combile (Append) 2 or more columns

    Sorry my paste wasn't correct. Pls find the attached Pic.
    a.jpg

  4. #4
    Forum Contributor
    Join Date
    10-01-2013
    Location
    Cameron, Mo
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: Combile (Append) 2 or more columns

    Can you show me what you want to see in cell D2? Also will column D:D always count be counting up one at a time?

  5. #5
    Registered User
    Join Date
    10-04-2013
    Location
    Greenland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Combile (Append) 2 or more columns

    Ok seems like i confused you..Ignore the numbers, What I exactly want is.. Column D should have Column A values followed by Column B then followed by Column C.. Basically Combine 3 columns one after another in to 1 single column. Hope i made it clear.

  6. #6
    Forum Contributor
    Join Date
    10-01-2013
    Location
    Cameron, Mo
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: Combile (Append) 2 or more columns

    I may be very confused, and I am sorry if I am not getting it, but I still think the concatenate command from my 1st post should work. If you don't want the commas just don't but in the extra ",". All the information from a,b,and c will appear together in cell d.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Combile (Append) 2 or more columns

    Hi and welcome to the forum

    If you want to combine them, then maybe just =A1&B1&C1
    If you want to ADD them, then =A1+B1+C1 or =sum(A1:C1)

    if that is not what you want, please upload a sample file, shows examples of your data, and what your expected outcome would be.
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Registered User
    Join Date
    10-04-2013
    Location
    Greenland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Combile (Append) 2 or more columns

    I already attached a screenshot..am attaching a excel file as well.. A, B , C are existing columns... Currently Values in Column D are copy pasted by me.. instead of copy paste i need a formula to achieve this
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Combile (Append) 2 or more columns

    It can easily be done by a macro code. Are you comfortable using a macro, or you want to stick with formula?

  10. #10
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Combile (Append) 2 or more columns

    Hi,

    Assuming your data is in columns A-C, with no blank entries in any of these columns, enter this array formula (important that you know how to enter this type of formula in Excel) in D1 and copy down as required:

    =INDEX(INDEX(A:C,,MATCH(TRUE,MMULT(--(ROW(INDIRECT("1:"&COLUMNS(A:C)))>=TRANSPOSE(ROW(INDIRECT("1:"&COLUMNS(A:C))))),SUBTOTAL(2,OFFSET(A:A,,ROW(INDIRECT("1:"&COLUMNS(A:C)))-1,,)))>=ROWS($1:1),0)),IFERROR(1+ROWS($1:1)-LOOKUP(ROWS($1:1),1+MMULT(--(ROW(INDIRECT("1:"&COLUMNS(A:C)))>=TRANSPOSE(ROW(INDIRECT("1:"&COLUMNS(A:C))))),SUBTOTAL(2,OFFSET(A:A,,ROW(INDIRECT("1:"&COLUMNS(A:C)))-1,,)))),ROWS($1:1)))

    Regards
    Last edited by XOR LX; 10-07-2013 at 05:48 PM.
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ 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. Need VBA Code To Combile Data from Different Columns to Single Column for multiple rows
    By p.swaroopr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-06-2013, 09:20 AM
  2. Combile data from two sheet to one..monthwise
    By michael_2013 in forum Excel General
    Replies: 3
    Last Post: 05-23-2013, 03:53 AM
  3. Append Columns to another column
    By sean_f in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-18-2006, 11:35 AM
  4. Append columns to existing worksheet?
    By Chris Burnette in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2005, 06:20 PM
  5. Append columns to existing worksheet?
    By Chris Burnette in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2005, 06:17 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