+ Reply to Thread
Results 1 to 9 of 9

Consolidate specific data, based on criteria, from multiple sheets into single sheet

  1. #1
    Registered User
    Join Date
    02-05-2022
    Location
    Lyon
    MS-Off Ver
    2019
    Posts
    5

    Consolidate specific data, based on criteria, from multiple sheets into single sheet

    Hello,

    I'm trying to automate a process in Excel but I don't know the best approach to do this.

    Use case: I need to create a summary report on a weekly basis. The information for this report is stored in multiple excel files. Those spreadsheets are being updated every week. The spreadsheets contain the same structure and design with multiple tabs. The only thing that changes from week to week is the information. So basically I want to extract only certain information which is deemed important for the summary report. The consolidated data for the summary report need to be saved in a separated file 'EDF.xlsx' AND within one worksheet.

    Example
    Week 1 >
    Excel file 'ABC.xlsx': data range to be consolidated ( Worksheet1 A1:A4, B1:B6; Worksheet2 A1:A6, B1:B3, ....)
    Excel file 'XYZ.xlsx': data range to be consolidated ( Worksheet1 A1: A3, B1:B4; Worksheet2 A1:A8, B1:B5, ....)
    :
    :
    Week 2 >
    Excel file 'ABC.xlsx': data range to be consolidated ( Worksheet1 A1:A5, B1:B4; Worksheet2 A1:A9, B1:B6, ....)
    Excel file 'XYZ.xlsx': data range to be consolidated ( Worksheet1 A1: A6, B1:B8; Worksheet2 A1:A4, B1:B7, ....)
    :
    :

    Summary report
    Excel file 'EDF v1.xlsx': consolidated information from Week 1
    Excel file 'EDF v2.xlsx': consolidated information from Week 2


    Any idea how to do that? If it requires programming I would appreciate it if somebody can help me with that.

    Thanks
    Last edited by Snabu; 02-06-2022 at 03:23 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Consolidate data from multiple sheets with dynamic range

    1. Will the source sheets be open or closed?

    2. How can they have the same structure & design if the data are in A1:A4 one week and A1:A5 the next week?

    Please upload SMALL, but representative files for two weeks, and the summary sheet, complete with expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Consolidate data from multiple sheets with dynamic range

    Also, why are you restricting yourself by using the (VERY) out of date .xls format, instead of .xlsx... wheich came along with Excel 2007.

  4. #4
    Registered User
    Join Date
    02-05-2022
    Location
    Lyon
    MS-Off Ver
    2019
    Posts
    5

    Re: Consolidate data from multiple sheets with dynamic range

    Thanks for the hint. I've changed it to xlsx

  5. #5
    Registered User
    Join Date
    02-05-2022
    Location
    Lyon
    MS-Off Ver
    2019
    Posts
    5

    Re: Consolidate data from multiple sheets with dynamic range

    Quote Originally Posted by Glenn Kennedy View Post
    1. Will the source sheets be open or closed?
    preferably closed but can also be open if required.
    Last edited by AliGW; 02-05-2022 at 04:43 AM. Reason: QUOTE tags fixed.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Consolidate data from multiple sheets with dynamic range

    And the sample sheets???

  7. #7
    Registered User
    Join Date
    02-05-2022
    Location
    Lyon
    MS-Off Ver
    2019
    Posts
    5
    Quote Originally Posted by Glenn Kennedy View Post
    And the sample sheets???
    coming later as soon as I get back home

  8. #8
    Registered User
    Join Date
    02-05-2022
    Location
    Lyon
    MS-Off Ver
    2019
    Posts
    5

    Re: Consolidate data from multiple sheets with dynamic range

    Link to spreadsheet: tinyurl.com/2f99uwfm

    The description I put in here earlier is probably not accurate. There is more that need to be considered. I hope you get the hang of it though.

    FYI:
    * 'ABC.xlsx' contains 'ABC - Sheet1' + 'ABC - Sheet2'
    * 'Consolidated data.xlsx' contains 'Consolidated Sheet ABC' + 'Consolidated Sheet EDF', etc.

    So basically the consolidated excel file is comprised of multiple worksheets and each worksheet
    should pull the information from the respective excel file (ABC.xlsx, EDF.xlsx, etc.)

    Regarding the color codes of the dropdown list 'Today / Yesterday': Please ignore for now. I have to check something and will be provide more details on this.
    Regarding color codes of Column 5: this need to be also copied into the consolidated excel file

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Consolidate specific data, based on criteria, from multiple sheets into single sheet

    1. Is this an Excel question or a Google sheets question? If it is Google sheets, I shall move it to the GS sub-forum and bow out.

    2. If it is an Excel Q... up load Excel files HERE not on an external site (see yellow banner for instructions) laid out as you get them and/or want to see them.

    3. I can see no logical pattern here. The entries seem to pop into place entirely randomly. Explain.... in full.

+ 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. Consolidate Data from Multiple Sheets
    By dchar1 in forum Excel General
    Replies: 7
    Last Post: 12-21-2021, 06:42 PM
  2. [SOLVED] Consolidate/Copy Data from Multiple Sheets from a Fixed Range into a single sheet
    By Rompurr in forum Excel Programming / VBA / Macros
    Replies: 29
    Last Post: 01-29-2020, 10:53 PM
  3. [SOLVED] Consolidate data from multiple sheets from specific ranges that can be in dynamic length
    By mujahidreza in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-11-2019, 04:31 AM
  4. [SOLVED] Consolidate multiple workbook sheets to one file - subscript out of range error?????
    By Crawfinator1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-29-2013, 06:03 PM
  5. [SOLVED] Need help with a macro to consolidate data from multiple sheets into one
    By xdskyline in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-15-2013, 06:21 PM
  6. Pull Data from multiple sheets and consolidate.
    By edgarx50 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-02-2013, 07:47 PM
  7. how do i use import to consolidate data from multiple sheets
    By Naveen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2006, 07:45 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