+ Reply to Thread
Results 1 to 4 of 4

Consolidate from multiple workbooks

  1. #1
    Registered User
    Join Date
    12-13-2009
    Location
    Washington, D.C.
    MS-Off Ver
    Excel 2003
    Posts
    4

    Consolidate from multiple workbooks

    Background Info
    1. I am running Excel 2007 on Windows XP

    2. I have 10+ “feeder files” and one “Rollup” file located in folder.

    3. Each feeder file contains two worksheets: “SOTF” and “Directions”

    4. The “Rollup” file also contains two worksheets: “CJSOTF” and “Directions”

    5. The “SOTF” sheets vary in data length, however all data starts on row 6. “SOTF” sheets all have data in columns A-J (i.e. 10 columns of data).

    Requirement: I need to combine all the data from the “SOTF” sheets into an existing “CJSOTF” sheet in the “Rollup” file.

    Feeder File -- SOTF Example #1:
    A B C D E F G H I J
    XX XX XX XX XX XX XX XX XX XX
    QQ QQ QQ QQ QQ QQ QQ QQ QQ QQ
    MM MM MM MM MM MM MM MM MM MM


    Feeder File -- SOTF Example #2
    A B C D E F G H I J
    PPP PPP PPP PPP PPP PPP PPP PPP PPP PPP
    ZZZ ZZZ ZZZ ZZZ ZZZ ZZZ ZZZ ZZZ ZZZ ZZZ
    RRR RRR RRR RRR RRR RRR RRR RRR RRR RRR
    VVV VVV VVV VVV VVV VVV VVV VVV VVV VVV
    UUU UUU UUU UUU UUU UUU UUU UUU UUU UUU
    TTT TTT TTT TTT TTT TTT TTT TTT TTT TTT


    Desired Result (on “CJSOTF”)
    A B C D E F G H I J
    XX XX XX XX XX XX XX XX XX XX
    QQ QQ QQ QQ QQ QQ QQ QQ QQ QQ
    MM MM MM MM MM MM MM MM MM MM
    PPP PPP PPP PPP PPP PPP PPP PPP PPP PPP
    ZZZ ZZZ ZZZ ZZZ ZZZ ZZZ ZZZ ZZZ ZZZ ZZZ
    RRR RRR RRR RRR RRR RRR RRR RRR RRR RRR
    VVV VVV VVV VVV VVV VVV VVV VVV VVV VVV
    UUU UUU UUU UUU UUU UUU UUU UUU UUU UUU
    TTT TTT TTT TTT TTT TTT TTT TTT TTT TTT
    Last edited by delt127; 01-06-2011 at 01:46 PM.

  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: Consolidate from multiple workbooks

    Install this macro into your main workbook. The fPath string is set to match the folder where these the main file is, so it should be in the folder with the files to import. We can change that if you want so they are separate...

    Please Login or Register  to view this content.
    _________________
    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
    Registered User
    Join Date
    12-13-2009
    Location
    Washington, D.C.
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Consolidate from multiple workbooks

    JBeaucaire,
    Works like a charm, thanks!

    Sean

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

    Re: Consolidate from multiple workbooks

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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