+ Reply to Thread
Results 1 to 6 of 6

How to automate duplication of many coulumns in Excel?

  1. #1
    Registered User
    Join Date
    11-20-2014
    Location
    USA
    MS-Off Ver
    2013
    Posts
    3

    How to automate duplication of many coulumns in Excel?

    Hey guys,

    I have an excel file which has thousands of columns. I need to copy each column data right next to it. Is there a way to automate this process in Excel?

    Tnx

    Hank
    Last edited by khandan; 11-20-2014 at 07:09 PM.

  2. #2
    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,051

    Re: How to automate duplication of many coulumns in Excel?

    Hi, welcome to the forum

    wow, you already have "thousands" of columns and you want to double that?? Even trying to navigate through a few hundred columns would be a nightmare, let alone thousands.

    What on earth are you doing/do you have that requires that many columns - and have you considered swinging your data round to make your columns, rows?
    How many rows do you have?

    Just FYI, you can only have a max of 16384 columns in excel
    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

  3. #3
    Registered User
    Join Date
    11-20-2014
    Location
    USA
    MS-Off Ver
    2013
    Posts
    3

    Re: How to automate duplication of many coulumns in Excel?

    Thank you Ford for prompt reply,
    The file includes results of a genetic experiment. It includes 95 rows and about two thousands columns so even when it is duplicated, it solitude be alright regarding excel column limit. I am afraid I haven't used VBA codes at all.

    Cheers

    Hank

  4. #4
    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,051

    Re: How to automate duplication of many coulumns in Excel?

    OK, would it make sense to transpose that table? It is easier to work with more rows than with more columns

  5. #5
    Registered User
    Join Date
    11-20-2014
    Location
    USA
    MS-Off Ver
    2013
    Posts
    3

    Re: How to automate duplication of many coulumns in Excel?

    No, unfortunately it doesn't make sense.

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to automate duplication of many coulumns in Excel?

    Can you upload a workbook with a small representative sample showing what you are starting with and what you want as a result. I am not clear as to the meaning of "I need to copy each column data right next to it." So, if you include a few columns with dummy data and what you want it might be easier to help you out.

    General instructions to upload a file.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Want to copy coulumns cells only if another cell in same row is equal to a value.
    By Jhail83 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-13-2014, 03:38 PM
  2. [SOLVED] How can I automate the duplication of a row when the use tabs out of the last cell?
    By AAbrams in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-22-2013, 10:56 AM
  3. data from one row in coulumns.
    By SANJAcbO in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2013, 04:14 AM
  4. Cell Duplication in Excel
    By jigsaw in forum Excel General
    Replies: 0
    Last Post: 01-29-2009, 05:45 AM
  5. jumping coulumns
    By gavster in forum Excel General
    Replies: 2
    Last Post: 06-17-2008, 05:19 AM

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