+ Reply to Thread
Results 1 to 11 of 11

Array Formula to collate data from multiple worksheets to a master sheet

  1. #1
    Forum Contributor
    Join Date
    04-14-2017
    Location
    Auckland
    MS-Off Ver
    2016
    Posts
    119

    Array Formula to collate data from multiple worksheets to a master sheet

    Hello Experts

    Can you help me to get this problem sorted? I have few worksheets under the same heading with different data set across the board. All I need is my Master Worksheet to show all data being collated from all worksheets. As soon as anyone updates any row in any particular worksheet, it would automatically update the result in the Master Sheet. It could either be vb or formula but I would prefer having the array formula to do at ease.

    This would be basically a training register where all Managers would be updating their own dept's data and the management would see the complete picture of the Organisation. I'v attached the sample file here. Please
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,148

    Re: Array Formula to collate data from multiple worksheets to a master sheet

    See attached as one approach:
    Attached Files Attached Files

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Array Formula to collate data from multiple worksheets to a master sheet

    Hi jaredli,

    Because you have Excel 2016, you have the new tool called Get&Transform available. I've used that new tool to append all sheets into the master. I created 3 Dynamic Named Ranges of your department sheets using the Names Manager. This will allow these tables to grow to any number of rows.

    Then using Power Query (Get & Transform) I created a "Connection Only" to all three sheets. Lastly I created an Append query of the three tables and put the answer on the Master Sheet. See the attached. NO Formulas needed. You simply need to refresh the connection after data is added or removed and it will update.

    PQ Append Master from DNR sheets.xlsx

    See https://www.powerquery.training/port...ta-from-files/ if you want each department to keep their own workbook and you only need a master with a single sheet. Time to learn Power Query?
    Last edited by MarvinP; 06-10-2017 at 10:38 AM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Array Formula to collate data from multiple worksheets to a master sheet

    or with the macro below,

    See the sheet consolidated in the attached file.

    Please Login or Register  to view this content.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Forum Contributor
    Join Date
    04-14-2017
    Location
    Auckland
    MS-Off Ver
    2016
    Posts
    119

    Re: Array Formula to collate data from multiple worksheets to a master sheet

    Thanks MarvinP. This would be participated by various people and they might not have 2016 version of Excel. Can it be done in array formula?

  6. #6
    Forum Contributor
    Join Date
    04-14-2017
    Location
    Auckland
    MS-Off Ver
    2016
    Posts
    119

    Re: Array Formula to collate data from multiple worksheets to a master sheet

    John, is there any easy way out? it would be complex when i'd have hundreds of dataset with 15 department information.

  7. #7
    Forum Contributor
    Join Date
    04-14-2017
    Location
    Auckland
    MS-Off Ver
    2016
    Posts
    119

    Re: Array Formula to collate data from multiple worksheets to a master sheet

    Thanks Oeldere. This vb code would be pretty tough to maintain when you change the headers and ranges frequently according to the need. everytime you have to change the code as per the changes. is there any other way?

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Array Formula to collate data from multiple worksheets to a master sheet

    Thanks Oeldere. This vb code would be pretty tough to maintain when you change the headers and ranges frequently according to the need. everytime you have to change the code as per the changes. is there any other way?
    Reading your comment I get the feeling you did not tried the code.

    Did you?

  9. #9
    Forum Contributor
    Join Date
    04-14-2017
    Location
    Auckland
    MS-Off Ver
    2016
    Posts
    119
    Quote Originally Posted by oeldere View Post
    Reading your comment I get the feeling you did not tried the code.

    Did you?
    I tried for sure. I submitted a sample workbook and the actual workbook is having a massive information store with the nature of regular changes in the training headings.

  10. #10
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Array Formula to collate data from multiple worksheets to a master sheet

    Hi jaredli,

    Only the Master needs to have 2016 installed for my solution. The other workbooks do not need a newer version of excel.

    And.. CSE formulas are much harder than my PQ solution and I'm a lazy guy. I keep looking for the solution that has no formulas or VBA to accomplish an answer. Sorry, I don't want to work on a harder solution than the one I've provided.

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,148

    Re: Array Formula to collate data from multiple worksheets to a master sheet

    i'd have hundreds of dataset with 15 department information.
    ... not sure what you mean by dataset but I suspect this NOT something you will do easily and productively with formulae.

    As I am only on Excel 2010, I cannot comment on Marvin's solution but I would expect the "built-in" features he advocates would be pretty efficient.

    regular changes in the training headings.
    If I interpret this correctly, it also mitigates against ANY easy solution whatever technique is used.

    You vastly over simplified the nature of your requirement so you naturally get responses based on what you have posted.

    I suggest you post a much more detailed requirement statement.
    Last edited by JohnTopley; 06-10-2017 at 03:20 PM.

+ 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] Getting data from multiple worksheets to a master sheet
    By SmoothRider in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-09-2014, 10:05 AM
  2. cross populate master sheet with data from multiple worksheets by date
    By irvinkm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2013, 12:02 PM
  3. Pull data from specific cells on multiple worksheets onto one master sheet
    By WorkforceMedia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2013, 03:25 AM
  4. Copying (but not deleting) data from a master sheet to multiple worksheets based on Col A
    By SmartBalance in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-06-2013, 03:09 PM
  5. [SOLVED] Consolidating multiple worksheets into one and retain links to source data in master sheet
    By enigmadreama in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-09-2012, 08:33 PM
  6. Populate Data from Master Sheet to Multiple Worksheets
    By redheadedstepchild in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-22-2012, 04:50 PM
  7. Replies: 1
    Last Post: 07-26-2011, 02:58 AM

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