+ Reply to Thread
Results 1 to 2 of 2

Combine horizontally multiple ranges from different files with different columns. Power Qu

  1. #1
    Registered User
    Join Date
    12-23-2019
    Location
    Москва
    MS-Off Ver
    Office 2016
    Posts
    7

    Combine horizontally multiple ranges from different files with different columns. Power Qu

    There is a folder in which files with reports are constantly saved.
    In the n_report file.xlsx:
    - fields: code, name, description - will be required;
    - fields: property_1, property_2, property_3 , and so on-the fields will be in any composition, in any sequence, with any names.

    Folder structure:
    .\Folder\Main.xlsx
    ..\Folder\Data\01_Report.xlsx
    ..\Folder\Data\02_Report.xlsx
    ..\Folder\Data\03_Report.xlsx
    ..\Folder\Data\04_Report.xlsx

    Question.
    1. How to use Power Query to collect from the files n_Report.xlsx ranges per table (range) per file Main.xlsx?
    2. As in the file Main.xlsx in the table (range), always have the current composition of data from all files in the folder ..\Folder\Data ?
    In other words, if in a folder ..\Folder\Data added a new file n_Report.xlsx, then the user in the file Main.xlsx clicks the Update button and results in data from all files n_Report.xlsx are displayed(updated) in the table (range).
    3. If Power Query can't implement this with its own tools, what additional work needs to be done?
    For example, make ranges in the file n_Report.xlsx make tables...

    Note.
    Formatting the name_report field in the file "Main.xlsx the ExpectedResult tab is shown conditionally.

    01_Report.xlsx
    2021-04-28_14-28-58.png

    02_Report.xlsx
    2021-04-28_14-29-19.png

    03_Report.xlsx
    2021-04-28_14-29-34.png

    04_Report.xlsx
    2021-04-28_14-29-46.png

    Main.xlsx
    2021-04-28_15-05-19.png

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: Combine horizontally multiple ranges from different files with different columns. Powe

    Perhaps the information in this video tutorial, produced by an instructor at Highline College, will help: https://www.youtube.com/watch?v=_csX8sCzJd0
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Power Query, Problem with combine inconsistent column files in a folder
    By Eric Tsang in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 02-11-2021, 07:17 PM
  2. [SOLVED] combine 2 columns ranges within 1 array
    By terriertrip in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-10-2020, 01:19 PM
  3. [SOLVED] Power Query - Synchronize multiple csv files that are time coded
    By dcwan in forum Excel General
    Replies: 7
    Last Post: 07-28-2020, 03:14 PM
  4. [SOLVED] Combine ranges A1:B100 for all xlsx files in a folder into a new file
    By billj in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-01-2017, 08:49 PM
  5. Replies: 4
    Last Post: 10-04-2015, 08:21 AM
  6. Replies: 4
    Last Post: 11-20-2014, 10:57 PM
  7. Replies: 3
    Last Post: 07-12-2006, 08:20 AM

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