Help, I'm looking to get a macro that will convert a single line on a spreadsheet into multiple lines based on a value on the line:
Input:
.
Output:
Any thoughts on how I can do that with a macro?
Input:
Item | Code | Quantity | |
A1509 | WTFH1 | 5 | |
A1645 | HFTW3 | 3 |
Output:
Item | Code | Quantity | Code2 |
A1509 | WTFH1 | 1 | WTFH1001 |
A1509 | WTFH1 | 1 | WTFH1002 |
A1509 | WTFH1 | 1 | WTFH1003 |
A1509 | WTFH1 | 1 | WTFH1004 |
A1509 | WTFH1 | 1 | WTFH1005 |
A1645 | HFTW3 | 1 | HFTW3001 |
A1645 | HFTW3 | 1 | HFTW3002 |
A1645 | HFTW3 | 1 | HFTW3003 |
Comment