+ Reply to Thread
Results 1 to 2 of 2

pull information from unspecified number of workbooks with same name format

  1. #1
    Registered User
    Join Date
    02-11-2013
    Location
    new york
    MS-Off Ver
    Excel 2013
    Posts
    3

    pull information from unspecified number of workbooks with same name format

    Good day everyone

    Is there a way to write a formula that will load information from x number of workbooks automatically?

    This is the scenario:

    I have a folder named "reports"
    in this folder I periodically download reports of raw data. I name these files in the following format "Raw january 2012", "Raw february 2012", and so forth. In the same folder I want to have an excel file called "output", that automatically extracts info from these files and summarize them for me.

    Here is an illustration of what I want to do:
    Lets say that every Raw data report I download into that folder has a column heading at cell A5 called "values"
    I want to write a formula in, say cell A3 of "output" that will look for all workbooks with file name that starts with file name "Raw"
    and load all of their collective datas on cells A5 and below and return these values.

    for better illustration, this is what would be below cell A5 in raw files
    Raw january 2012
    a

    Raw february 2012
    b

    Raw march 2012
    c
    a

    this is the result I want to get starting at cell A3 of the file called "output"
    a
    b
    c
    a

    That way whenever I download "Raw april 2012" this information will autopopulate into my output report as soon as I open it.

    Any help would be greatly appreciated.

    Thank you!

  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: pull information from unspecified number of workbooks with same name format

    If its just one cell location, you can try it via formula (i have not tried it myself though). However, if its a varying number of cells that need to be copied from the RAW file then a macro is the best way to do it.
    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]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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