+ Reply to Thread
Results 1 to 4 of 4

How do I duplicate column data from one table to another without VBA?

  1. #1
    Registered User
    Join Date
    09-14-2019
    Location
    Manila, Philippines
    MS-Off Ver
    O365
    Posts
    5

    Question How do I duplicate column data from one table to another without VBA?

    Hi,

    I have 2 tables that are located in 2 worksheets:
    1. Worksheet1 = tblrawdata
    2. Worksheet2 = tblmergeddata

    What I am trying to do is to get tblrawdata's first column data and "copy" it to the tblmergeddata's first column. I will be merging other data on Worksheet2, but would just like to use the first column as my unique record ID. Also, as I will be updating the tblrawdata in the future, I would like to have the tblmergeddata's record ID column updated/expanded automatically.

    Sample records of my tables:
    tblrawdata:
    Record ID Other Data
    ID0001 C
    ID0002 B
    ID0003 A
    ID0004 X

    tblrawmergeddata:
    Record ID First Name
    ID0001 data from other cells

    Initially, it seems that this was an easy challenge. I tried to put this function on my first row in the tblrawmergeddata table, hoping the table will automatically expand, but of course it did not:
    Please Login or Register  to view this content.
    Any hint/help would be highly appreciated. Thanks!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: How do I duplicate column data from one table to another without VBA?

    The suitable solution will depend entirely on how you propose using the two tables. What is the reason for the duplication of data?

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-14-2019
    Location
    Manila, Philippines
    MS-Off Ver
    O365
    Posts
    5

    Re: How do I duplicate column data from one table to another without VBA?

    Thanks for the initial feedback. My ultimate purpose for this table is to have a "master" table that will contain select columns that I will get from other worksheets, with the Record ID as my unique key.

    For example, on the attached file, my Sheet2 will contain these merged data. But what I want to happen is, whenever the Sheet1 table is updated, I want the Record ID column on the Sheet2 table to be updated, so that the rest of the columns will get updated using index match expressions.

    In production, what I want to do is on a regular basis, I will just download the latest copy of csv data files in one folder, and once I open this Excel file, I will just need to do a refresh and the merged table will be automatically updated with the data coming from the latest csv files.

    Hoping my explanation is clearer now
    Attached Files Attached Files
    Last edited by AliGW; 08-28-2021 at 05:24 AM. Reason: PLEASE don't quote unnecessarily!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: How do I duplicate column data from one table to another without VBA?

    Still not 100% clear - sorry.

    Can you explain the workflow for ONE record ID so that I can understand the changes that might occur? How is the secondary table to be used? Your example workbook is too simplified to tell the whole story, I fear.

+ 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] Write a formula for table with duplicate values in Column A
    By arjun0405 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-10-2018, 04:38 AM
  2. [SOLVED] Duplicate a column of data from a table into new, sorted table
    By JimDandy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-17-2015, 12:53 PM
  3. Replies: 4
    Last Post: 02-18-2015, 10:03 AM
  4. Look up for duplicate values in column table
    By boboivan in forum Excel General
    Replies: 2
    Last Post: 01-28-2015, 07:18 AM
  5. Replies: 1
    Last Post: 06-01-2013, 01:27 AM
  6. [SOLVED] Vlook up when duplicate values in the array table and lookup column
    By vinodt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-02-2012, 10:28 PM
  7. Search column a for duplicate data and copy entire row to duplicate sheet
    By crazyAMP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2012, 08:21 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