radonwilson
Board Regular
- Joined
- Jun 23, 2021
- Messages
- 50
- Office Version
- 2019
- Platform
- Windows
I have 4 different .csv files that sit in a folder. I want to combine all of these.
But there is a catch, the first 2 files have 4 top junk rows that need to be removed and 5 columns.
And the last 2 files have 5 top junks rows and 6 columns.
I am looking for a dynamic way of combining all my CSV files from a folder.
Download Files
Expecting Result:-
But there is a catch, the first 2 files have 4 top junk rows that need to be removed and 5 columns.
And the last 2 files have 5 top junks rows and 6 columns.
I am looking for a dynamic way of combining all my CSV files from a folder.
Download Files
Expecting Result:-
Result.xlsx | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | Date | Settlement ID | closing fees | promo rebates | TDS | total | ||
2 | 01-01-2022 | 111222333 | 1 | 2.5 | null | 3.5 | ||
3 | 02-01-2022 | 111222333 | 1 | 2.5 | null | 3.5 | ||
4 | 03-01-2022 | 111222333 | 1 | 2.5 | null | 3.5 | ||
5 | 04-01-2022 | 111222333 | 1 | 2.5 | null | 3.5 | ||
6 | 05-01-2022 | 111222333 | 1 | 2.5 | null | 3.5 | ||
7 | 01-02-2022 | 222333444 | 2 | 3.5 | null | 4.5 | ||
8 | 02-02-2022 | 222333444 | 2 | 3.5 | null | 4.5 | ||
9 | 03-02-2022 | 222333444 | 2 | 3.5 | null | 4.5 | ||
10 | 04-02-2022 | 222333444 | 2 | 3.5 | null | 4.5 | ||
11 | 01-03-2022 | 444555666 | 3 | 5.5 | 1 | 9.5 | ||
12 | 02-03-2022 | 444555666 | 3 | 5.5 | 1 | 9.5 | ||
13 | 03-03-2022 | 444555666 | 3 | 5.5 | 1 | 9.5 | ||
14 | 01-04-2022 | 333777888 | 7.5 | 1.4 | 0.75 | 9.65 | ||
15 | 02-04-2022 | 333777888 | 7.5 | 1.4 | 0.75 | 9.65 | ||
16 | 03-04-2022 | 333777888 | 7.5 | 1.4 | 0.75 | 9.65 | ||
Sheet1 |