I have multiple excel files and each file contains the same sheet names such as:
- "Keyset"
- "Case"
- "Switch"
- "Plate"
- "Layout"
The same sheets will have the same column headers.
How can i append excel 1 - 15 files into the same sheet?
For example - Keyset sheet:
Excel 1: (keyset sheet)
Year Bought | Amount Paid |
---|---|
2020 | 250 |
2020 | 200 |
Excel 2: (keyset sheet)
Year Bought | Amount Paid |
---|---|
2019 | 200 |
2019 | 200 |
Excel 3: (keyset sheet)
Year Bought | Amount Paid |
---|---|
2019 | 242 |
2019 | 187 |
They have the same column headers, but i am not sure how to efficiently loop my code so that it will append to the same sheet for each excel file.
Desired output:
Year Bought | Amount Paid |
---|---|
2020 | 250 |
2020 | 200 |
2019 | 200 |
2019 | 200 |
2019 | 242 |
2019 | 187 |