SeveralTradesLater
New Member
- Joined
- May 30, 2023
- Messages
- 14
- Office Version
- 2019
- Platform
- Windows
Hi everyone. Happy July 4th to those who celebrate. Hope you smart folks can assist. Let's see who can beat a large language learning model at giving step by step instructions.
Here is the scenario,
I have a folder, let's call this folder "ALL". The folder "ALL" contains more folders North, West, East and South. Folders North, West, East and South each contain various Company Workbooks. Each workbook has a company name, but for our purposes let's assume they are named Company 001 thru Company 020 all divided randomly within Folders North, West, East and South.
However, within each North, West, East and South folder I am only focused on the workbooks that contain "(Reviewed)" in the file name. Example: "Company 003 (Reviewed)" , "Company 007 "Reviewed".
Each workbook contains multiple sheets of irrelevant data. There are only two sheets with each workbook I am concerned about, let's assume they are named sheets "A" and "B". In most cases the workbooks contain both sheets "A" and "B", in very few cases they contain either sheet "A" or sheet "B".
Both sheets "A" and "B" contain the same headers. However, those headers consist of five rows of useless labels. All data I am trying to append exists below those five rows.
Normally, I would have to copy and paste columns A, B and C of sheets "A" and "B" into a new worksheet and combine all of them thru Company 020.
Example Company 001 - Reviewed
Example of final result I want to produce and load to another sheet in Power Query.
Here is the scenario,
I have a folder, let's call this folder "ALL". The folder "ALL" contains more folders North, West, East and South. Folders North, West, East and South each contain various Company Workbooks. Each workbook has a company name, but for our purposes let's assume they are named Company 001 thru Company 020 all divided randomly within Folders North, West, East and South.
However, within each North, West, East and South folder I am only focused on the workbooks that contain "(Reviewed)" in the file name. Example: "Company 003 (Reviewed)" , "Company 007 "Reviewed".
Each workbook contains multiple sheets of irrelevant data. There are only two sheets with each workbook I am concerned about, let's assume they are named sheets "A" and "B". In most cases the workbooks contain both sheets "A" and "B", in very few cases they contain either sheet "A" or sheet "B".
Both sheets "A" and "B" contain the same headers. However, those headers consist of five rows of useless labels. All data I am trying to append exists below those five rows.
Normally, I would have to copy and paste columns A, B and C of sheets "A" and "B" into a new worksheet and combine all of them thru Company 020.
Example Company 001 - Reviewed
Company 001 - Reviewed | Sheet A | Apple | $1.00 | $3.00 |
Company 001 - Reviewed | Sheet A | Orange | $5.00 | $8.00 |
Company 001 - Reviewed | Sheet A | Kiwi | $3.50 | $2.00 |
Company 001 - Reviewed | Sheet B | Banana | $1.20 | $4.40 |
Company 001 - Reviewed | Sheet B | Coffee | $5.00 | $7.00 |
Example of final result I want to produce and load to another sheet in Power Query.
Company 001 - Reviewed | Sheet A | Apple | $1.00 | $3.00 |
Company 001 - Reviewed | Sheet A | Orange | $5.00 | $8.00 |
Company 001 - Reviewed | Sheet A | Kiwi | $3.50 | $2.00 |
Company 001 - Reviewed | Sheet B | Banana | $1.20 | $4.40 |
Company 001 - Reviewed | Sheet B | Coffee | $5.00 | $7.00 |
Company 005 - Reviewed | Sheet A | Candy | $1.00 | $3.00 |
Company 005 - Reviewed | Sheet A | Orange | $5.00 | $8.00 |
Company 005 - Reviewed | Sheet A | Pens | $3.50 | $2.00 |
Company 005 - Reviewed | Sheet B | Pencils | $1.20 | $4.40 |
Company 005 - Reviewed | Sheet B | Paper | $5.00 | $7.00 |
Company 007 - Reviewed | Sheet B | Apple | $1.00 | $3.00 |
Company 007 - Reviewed | Sheet B | Orange | $5.00 | $8.00 |
Company 009 - Reviewed | Sheet A | Comic Books | $3.50 | $2.00 |
Company 009 - Reviewed | Sheet A | Banana | $1.20 | $4.40 |
Company 009 - Reviewed | Sheet A | Coffee | $5.00 | $7.00 |
Company 015 - Reviewed | Sheet B | Soda | $1.00 | $3.00 |
Company 015- Reviewed | Sheet B | Clothing | $5.00 | $8.00 |
Company 017 - Reviewed | Sheet A | Plants | $3.50 | $2.00 |
Company 019 - Reviewed | Sheet A | Banana | $1.20 | $4.40 |
Company 020 - Reviewed | Sheet B | Vitamins | $5.00 | $7.00 |