+ Reply to Thread
Results 1 to 5 of 5

Heterogenous Worksheet/Spreadsheet Consolidation, with a twist

  1. #1
    Registered User
    Join Date
    06-19-2015
    Location
    Ireland
    MS-Off Ver
    2010, 2013
    Posts
    3

    Question Heterogenous Worksheet/Spreadsheet Consolidation, with a twist

    Hi everyone,

    I have several Excel workbooks, each containing a couple dozen spreadsheets. The workbooks have different names and so do the spreadsheets, and simply mass consolidating doesn't help with the issue I need to solve.

    I've been trying to find a way to consolidate them all in a way that would display the following output in a single spreadsheet:

    Column A: Name of origin file. (Not an absolute must, but would help.)
    Column B: Name of origin tab/spreadsheet.
    Columns C-End: Content of said spreadsheet.

    Does anyone know how can I accomplish that? Either in Access or in Excel...

    Thanks in advance!

  2. #2
    Registered User
    Join Date
    06-12-2015
    Location
    Maryland, USA
    MS-Off Ver
    2010
    Posts
    83

    Re: Heterogenous Worksheet/Spreadsheet Consolidation, with a twist

    Need way more details about this problem.

    Are all the workbooks in the same folder?

    You mentioned each book has multiple sheets. Does this mean Column A will have the name and then Column B will be populated with the sheets' names with one name per row until end of the book?

    Are all your spreadsheets just a straight array along the columns? Otherwise how do you expect the content to fit Columns C-End since each row will be a separate spreadsheet.

    Probably want to give an example of the sheets and an example of how you want the final Single spreadsheet to look like.
    Got help? Pls give rep.
    If you do R&D learn VBA

  3. #3
    Registered User
    Join Date
    06-19-2015
    Location
    Ireland
    MS-Off Ver
    2010, 2013
    Posts
    3

    Re: Heterogenous Worksheet/Spreadsheet Consolidation, with a twist

    Hey,

    First off - thanks for your reply.

    All workbooks are in the same folder, that much - at least - is in order.
    As to columns A/B - there are two options:

    1. One name per row until the end of copied information per worksheet X.
    2. One name at the first row of copied data, per worksheet copied.

    Now, since the worksheets are not homogenous, and have different amounts of rows/columns, perhaps a set definition of rows to copy would be of help.
    I know for a fact that I only need to copy about 15 columns per worksheet, and approximately 50 rows per worksheet - so that's a possible limit that would unify the code.

    An optimal final result would be something like this:

    Picture1.png

  4. #4
    Registered User
    Join Date
    06-19-2015
    Location
    Ireland
    MS-Off Ver
    2010, 2013
    Posts
    3

    Re: Heterogenous Worksheet/Spreadsheet Consolidation, with a twist

    Bump!
    Does anyone have an idea...?

  5. #5
    Registered User
    Join Date
    06-12-2015
    Location
    Maryland, USA
    MS-Off Ver
    2010
    Posts
    83

    Re: Heterogenous Worksheet/Spreadsheet Consolidation, with a twist

    Alright, do you have a list of the workbook names or do you need to search through the folder and open as you go?

    Addressing the variability in the size of the datasets is not a big deal as long as the table has no gaps along the first column and no gaps along the first row.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Using a Macro to format spreadsheet - warning, there's a twist number of columns varies
    By MagicMan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-30-2015, 10:52 AM
  2. Consolidation of password protected workbooks with a twist
    By Philsargent in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-05-2012, 05:22 AM
  3. [SOLVED] Copy A Worksheet, with a Twist
    By John in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-28-2005, 12:05 PM
  4. [SOLVED] Automated spreadsheet Consolidation
    By Rob in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-29-2005, 04:06 PM

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