Hello Friends,
I am preparing data to be imported from Excel (2010) in to our MRP. The system requires data to be presented in certain format. Could you please help me with a code that would present data in the required format? Following table show the input table (present format of the data) and output table (required format).
Information given in column D of Input is optional; it may or may not be present in the input file.
Thanks,
Rajesh
<p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5;color: #161120">
<p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5;color: #161120">
I am preparing data to be imported from Excel (2010) in to our MRP. The system requires data to be presented in certain format. Could you please help me with a code that would present data in the required format? Following table show the input table (present format of the data) and output table (required format).
Information given in column D of Input is optional; it may or may not be present in the input file.
Thanks,
Rajesh
Excel 2010 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
2 | Input | |||||
3 | Item | VendorID | Vendor Part Number | Vendor description | ||
4 | 12345 | V987 | ABCD | sample vendor desc. | ||
5 | 12345 | V567 | WXYZ | |||
6 | 45678 | V698 | EFGH | sample vendor desc. | ||
7 | 78956 | V987 | EHYC | |||
Sheet1 |
Excel 2010 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
11 | OutPut | ||||||
12 | Item | 12345 | |||||
13 | CrossReference | V | V987 | ABCD | sample vendor desc. | ||
14 | CrossReference | V | V567 | WXYZ | |||
15 | Item | 45678 | |||||
16 | CrossReference | V | V698 | EFGH | sample vendor desc. | ||
17 | Item | 78956 | |||||
18 | CrossReference | V987 | EHYC | ||||
Sheet1 |