+ Reply to Thread
Results 1 to 4 of 4

Inserting Table rows from another File

Hybrid View

  1. #1
    Registered User
    Join Date
    09-12-2013
    Location
    Washington, DC
    MS-Off Ver
    Excel 2011
    Posts
    3

    Inserting Table rows from another File

    After reading and playing around with Filters, Consolidation, Duplicates, VLOOKUP, etc., and searching this Forum I still need some guidance on how to approach my issue.

    First, I use Excel 2011 for Mac under OS 10.7.5 but also have access to a windows machine running Excel 2010 and Windows 7. I do not have macro writing skills.

    SUMMARY: I have 2 spreadsheets containing information about wines that are subsets of each other (each file has wines not listed in the other). Into the “Master” (most recent) file I would like to insert rows from the second file that are currently not in the Master.

    DETAILS: I track information about wines by vintage year in separate files. Currently I have files for 2010 and 2011 vintage years. The structure of the 2 files is the same. They were built with the Excel 2010/11 table capabilities so each column has a filter, and since 2011 was originally a copy of 2010 the headings are the same. Both files have the same table structure in each of 3 worksheets in each file containing info by wine types (Red, White, Dessert). Both files have about 700 wines with about 100 unique wines in each file.

    Column A contains the name of the Appellation the wine is from. Column B contains the name of the Wine. The last column contains Comments about the wine and/or vineyard. The remaining columns contain numeric information about the wines. Examining Columns A and B determines a unique wine entry since wines from different appellations can have the same name. Each worksheet within each file is sorted by Appellation and within that by Wine.

    I have taken a copy of the 2010 file and removed the numeric data from each worksheet leaving only the textual entries in Appellation, Wine, and Comments.

    I need to figure out which wines in the 2010 file are not in the 2011 file and insert them into the 2011 tables in each of the 3 worksheets. I need to retain all data currently in the 2011 file. I will use the updated 2011 file to add further data about the 2011 wines and as a master template to maintain for use in subsequent years.

    If it is easiest to append the unique rows from the 2010 file to the end of the 2011 tables that is fine since I can use the table filters to re-sort the wines within appellation easily.

    Ideally a solution between visual inspection with copy and paste, and learning VBA, is possible. Suggestions on the best approach are requested.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Inserting Table rows from another File

    Do you have sample files that you can upload?

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    09-12-2013
    Location
    Washington, DC
    MS-Off Ver
    Excel 2011
    Posts
    3

    Re: Inserting Table rows from another File

    Thank you for the reply. The data I am working with is for a proprietary project so I am not a liberty to share the data or the purpose of the project. But if it would help I could create 2 smaller spreadsheets, with say only 2 worksheets each and 2-3 dozen wine entries containing data I make up. If that will help you understand what and how I need to rows of data I will try to upload the files within 24 hours.

  4. #4
    Registered User
    Join Date
    09-12-2013
    Location
    Washington, DC
    MS-Off Ver
    Excel 2011
    Posts
    3

    Re: Inserting Table rows from another File

    Sample files as requested
    Attached Files Attached Files

+ 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] Inserting columns and rows at the end of table with border
    By evilr34 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2013, 02:47 PM
  2. Replies: 1
    Last Post: 02-26-2012, 02:18 PM
  3. Inserting rows in a table
    By Pat Jordan in forum Excel General
    Replies: 4
    Last Post: 11-13-2011, 03:46 PM
  4. Replies: 5
    Last Post: 11-12-2008, 05:44 AM
  5. [SOLVED] Inserting rows;delimited file
    By LeRoy in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-15-2005, 12: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