+ Reply to Thread
Results 1 to 3 of 3

Most efficient way to grab data from excel files in a folder.

  1. #1
    Registered User
    Join Date
    03-05-2011
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    84

    Most efficient way to grab data from excel files in a folder.

    I have a folder updated daily with 5 excel workbooks. I need to automatically get data from those books into a master excel sheet daily. Each daily sheet has its own formatting but the same structure except for more or less data rows day over day.

    This data needs to be added to specific tabs on the master workbook, which then populates pivot tables and other sheets in that file. Right now we copy/paste/refresh all.

    Question I have is what is the most efficient way to get the data I need imported and refreshed automatically everyday?

    Best scenario would be pointing each tab on the master sheet to its workbook and telling it which columns have the data in another workbook (minus headers), and then adding that days data to the end of the master sheet tabs.

    Daily sheet workbooks with exact structure and filenames attached.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Most efficient way to grab data from excel files in a folder.

    Let me rephrase the requirement to see if I have it. You have a master workbook (which one is it in the above?) and it has a tab on which you want to append data from 5 subordinate workbooks. Do you start fresh every day or do you append to previous days' data. The order of the columns on the subordinate workbooks do not match the order of the columns on the master workbook.

    I only see three workbooks attached. It would be worth while to compress the 6 workbooks (master and 5 sources) and attach the ZIP file. Also, any hints on naming conventions for the subordinate workbooks would be appreciated. Perhaps the names of these workbooks can be generated.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    03-05-2011
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    84

    Re: Most efficient way to grab data from excel files in a folder.

    Sorry didn't see your post. Recently learned how to use Power Query and that seems to be the best solution. Still trying to learn the best ways to use but so far so good.

+ 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. copying data from excel files in folder/subfolders
    By Hannspree in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-22-2015, 06:22 AM
  2. [SOLVED] Transfer data from all the files in a folder to all the files in another folder
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-17-2015, 02:06 PM
  3. Display data from all excel files in a folder
    By smugglersblues in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-22-2013, 12:27 PM
  4. copying data from excel files in a source folder to target folder
    By Javed07 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2013, 04:27 PM
  5. Replies: 0
    Last Post: 11-13-2012, 02:26 AM
  6. Replies: 1
    Last Post: 03-13-2012, 09:45 AM
  7. Grab data from all files with certain name in a folder
    By Directlinq in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-29-2009, 05:12 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