+ Reply to Thread
Results 1 to 5 of 5

Import specific cells in multiple sheets from hundreds of identical workbooks

  1. #1
    Registered User
    Join Date
    07-29-2016
    Location
    Little Rock, AR USA
    MS-Off Ver
    2010
    Posts
    2

    Question Import specific cells in multiple sheets from hundreds of identical workbooks

    In 2011 someone created an excel document to collect data from the field. It has 15 unique sheets where data is collected. I am trying to find the most efficient way to merge all the data into one spreadsheet. I would like to find a batch method to extract the data. I am looking at compiling over 250 cells of data from each workbook. The eventual goal is to import to an Access Data base that has already been created. I have looked at various ways to do this, such as scripting in Python. Before I commit a lot of time I was hoping to see if there are methods or tools so I do not re-invent the wheel.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Import specific cells in multiple sheets from hundreds of identical workbooks

    Are all the cells on the same sheet name in the workbook? Different sheets?

    I can conceive of a tool where you provide:

    1) A starting folder
    2) name of a sheet
    3) A list of cell addresses

    And a macro collects the data from all the found files in that one folder.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Import specific cells in multiple sheets from hundreds of identical workbooks

    Here's a sample file I created for someone else along the lines of what I described above.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-29-2016
    Location
    Little Rock, AR USA
    MS-Off Ver
    2010
    Posts
    2

    Re: Import specific cells in multiple sheets from hundreds of identical workbooks

    I appreciate your reply, I have attached a sample of the workbook that I am talking about. I will take a look at the template you posted.
    Attached Files Attached Files

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Import specific cells in multiple sheets from hundreds of identical workbooks

    A true "database" would be one row equals an entire dataset. So what is really needed is data dictionary for your new master worksheet.

    You could set it up by creating a multi row header as a descriptive map:

    Row1 you would list the sheet name
    Row2 you would list the cell address on that sheet
    Row3 you would be the title you want for the column of data.

    I would recommend the first column be called FILENAME so as data is imported the complete file/pathname can be listed for reference, and to insure we do no ever import the same workbook more than once.

    With that layout, it's easy to create a macro to go through all the workbooks in a folder and collect all the info based on the sheet names and cell addresses.

+ 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. Identical Columns in Different Sheets, Data-Import (Possible Macro)
    By RJA_VB in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2014, 03:39 PM
  2. Export/ Retrieve specific data from multiple workbooks and Import into Master workbook
    By SerenitynWisdom in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-29-2013, 10:41 PM
  3. [SOLVED] How to duplicate (hundreds) of identical worksheets?
    By agent46 in forum Excel General
    Replies: 10
    Last Post: 04-26-2013, 02:33 AM
  4. [SOLVED] Copy specific cells from multiple workbooks and import them to a master workbook
    By Alby22 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-28-2012, 12:45 PM
  5. Import a specific sheet from multiple workbooks
    By thedon_1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2011, 11:22 AM
  6. Replies: 0
    Last Post: 03-10-2010, 01:25 PM
  7. [SOLVED] Moving cursor to identical cells across multiple sheets
    By Sue Sch in forum Excel General
    Replies: 4
    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