+ Reply to Thread
Results 1 to 3 of 3

Compiling data from several files into one

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-11-2008
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    111

    Compiling data from several files into one

    Hi,

    I'm trying to develop a way to gather information from several excel files into one that will analyse all the data. I want to collect, for ex, named ranges A, B and C from files 1, 2 and 3 and then display that data in file 4, where I will display that data in form of a chart (i'm guessing pivot tables here are essential).

    What's the best way to accomplish this? Writing VBA code to copy data from those 1, 2 and 3 files to file nš4?

    I'm sorry if it's confusing..

  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: Compiling data from several files into one

    'WORKBOOKS TO 1 SHEET
    I have a macro that may be pretty close to "ready to use" for collecting data all files in a specific folder.The parts of the code that need to be edited are colored to draw your attention.
    _________________
    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 Contributor
    Join Date
    10-11-2008
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    111

    Re: Compiling data from several files into one

    thanks JBeaucaire but this is not exactly what I want...I want something more simple

    I would like to compile into one file a determined amount of data, in this case, some 15-20 named ranges from other files. The other files work as a template, they are all similar, except for the input data.

    I would then like for excel to collect those named ranges from those files (which are located in a folder) into the "master" file which will contain all the data.

    how can this be achieved?

    thank you

+ 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