+ Reply to Thread
Results 1 to 9 of 9

Consolidating spreadsheets

  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Consolidating spreadsheets

    Hi
    I have around 100 spreadsheets, all saved within 1 folder.
    In my consolidation spreadsheet, I'd like to pull the same cell (i.e. B4) from each of the spreadsheets (same sheet title 'Sheet2' in all spreadsheets)
    i.e. in consolidation spreadsheet, there will be 100 cells, each linking from B4 of each of the 100 spreadsheets.
    Is there a quick way of doing this (without having to go into each of the 100 spreadsheets and separately linking to the consolidation spreadsheet)?
    Many thanks!
    WP

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Consolidating spreadsheets

    is there any logic/sequence to the file names?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-24-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Consolidating spreadsheets

    No - they are called after company names on the whole, so no sequence as such.
    Thanks

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Consolidating spreadsheets

    ok, do you have a list of the file names then? what im aiming at, is to create a formula that will reference a list if the file names

  5. #5
    Registered User
    Join Date
    11-24-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Consolidating spreadsheets

    Thanks - the file names are below (there are more, but if you'd advise for these that would be really helpful :-))

    Xaxaba
    Services UK
    OE Services
    Central Services
    O Holdings SA
    JB Ltd
    CAB SA
    Casa AB
    WM Data AS

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Consolidating spreadsheets

    Open a blank workbook and in Column A begging with A2 list all of the worksheets (with the extension) and run...

    Please Login or Register  to view this content.
    HTH
    Regards, Jeff

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Consolidating spreadsheets

    Jeff's will probably work easier than mine, so I will await you're feedback on his suggestion

  8. #8
    Registered User
    Join Date
    11-24-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Consolidating spreadsheets

    Many thanks both - much appreciated.
    Not quite getting the marco to work at the moment - when I input the list of worksheets, I need to do so in format c:/folder/ style?
    Thanks
    WP

  9. #9
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Consolidating spreadsheets

    You can establish the workbook path in this line.

    Please Login or Register  to view this content.
    If you place the workbook into the same folder with all the other workbooks then you can keep the line above as is.

    If you want to establish a different path

    Please Login or Register  to view this content.

+ 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