Ali - I apologize if I didn't provide the correct amount of detail. I'm new to power query, internet forums, and file sharing.
That being said, the layout you have in your file is EXACTLY what I'm looking for! I'm wanting to use a separate workbook from the data for the query though.
I was able to recreate that layout in a separate workbook with the following code:
I used that code for each of the 5 P&L's, then combined them into one table with the following code:
You're suggestions have helped tremendously so far. I've attached a zipped folder so you can have all the data in one place.
The problem with applying this to the real world project that I'm working on is that I will to make separate queries for 216 worksheets. It's going to take quite some time if I use the method above. I'm hoping that I can import folders as data sources to consolidate some of these steps.
The attached zip folder contains the support folder with the 5 P&L's that I'm wanting to use as a data source for the query that I would like to be in the same layout as the "Power Query Test" file.
Is this possible with Power Query, or will I have to go down another route?
Bookmarks