+ Reply to Thread
Results 1 to 3 of 3

Extract data from multiple files into a main file

  1. #1
    Registered User
    Join Date
    06-18-2010
    Location
    Tokyo
    MS-Off Ver
    Excel 2013
    Posts
    17

    Extract data from multiple files into a main file

    I have checked about threads of similar problems but could not figure out how to improvise them for my case.

    A Files.pngB Data in file.pngC Combined file.png

    Image A: multiple files in a folder which i want to extract data from.
    Image B: I want to extract range(C2:C25) from each file.
    Image C: This is the final layout of my combined file. I want to fill up range(C15:Z15) with the extracted data (transposed). The file name (It can be the full file name) of the extracted data is input in the column B. And the filling will go down until all files are extracted.

    Notes:
    1) Actually I wish the extraction can follow my pre-determined order but the files in windows explorer are listed in different order. Which is why I need to input extracted file name in column B to avoid confusion.

    Please help.
    Thanks.

  2. #2
    Valued Forum Contributor AlvaroSiza's Avatar
    Join Date
    09-19-2007
    Location
    Staffordshire
    MS-Off Ver
    2007
    Posts
    591

    Re: Extract data from multiple files into a main file

    Here is a start.
    Perhaps it was the Noid who should have avoided me...
    If you are satisfied with my solution click the small star icon on the left. Thanks
    1. Make a copy of your workbook and run the following code on your copy (just in case)
    2. With excel open, press ALT+F11 to open the Visual Basic Editor (VBE). From the "Insert" menu, select "Module".
    3. Paste the code from above into the empty white space. Close the VBE.
    4. From the developer tab, choose "Macros", select the Sub Name, and click "Run".

  3. #3
    Registered User
    Join Date
    06-18-2010
    Location
    Tokyo
    MS-Off Ver
    Excel 2013
    Posts
    17

    Re: Extract data from multiple files into a main file

    Thank you for quick response.
    I find this add-in is good enough for my problem.
    http://www.rondebruin.nl/win/addins/rdbmerge.htm

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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