Can anyone please help to create a csv file
I got an excel sheet with values like below:
The column names below will be different, for understanding i had put column name ans type as same.
Model | P | S | I | Adj |
A | 10 | 5 | 20 | 4 |
B | 20 | 6 | 15 | 5 |
C | 30 | 19 | 25 | 7 |
I need to create a csv file in the below format, the first column need to hard code with value 1, others values from the excel, it can some more values with hard coding.
CD | Model | Type | QTY |
1 | A | P | 10 |
1 | A | S | 5 |
1 | A | I | 20 |
1 | A | ADJ | 4 |
1 | B | P | 20 |
1 | B | S | 6 |
1 | B | I | 15 |
1 | B | ADJ | 5 |
1 | C | P | 30 |
1 | C | S | 19 |
1 | C | I | 25 |
1 | C | ADJ | 7 |
Can anyone please help...very urgent.
Thanks in advance.