Hi All
I have this sort of data below:
I'm running For Next to go through the data row by row, what I need to do on each row is:
And then the next sytle "ABC124" below that, again with all the sizes added on.
Hope this makes sense, basically I need to create style codes for each style + size, and then list the QTY and the total value, but over hundreds of lines.
Is there a easy VBA way to do this? I'm sure I could code it out, but my code would be super long and complicated haha.
Thanks in advance.
I have this sort of data below:
I'm running For Next to go through the data row by row, what I need to do on each row is:
- Create a new row on a separate sheet with the "Style" combined with size (red columns) into A
- Next to the new row, put the number under that size
- Next to that use the "unit price" times the number to get total value
- Repeat the above again for the next red size column and continue until all red columns are done.
For example, the first row of data above (in row 2), I would need the new sheet to look like this:Style | QTY | Value |
ABC123-S | 15 | $90 |
ABC123-M | 20 | $120 |
ABC123-L | 20 | $120 |
ABC123-XL | 30 | $180 |
ABC123-XXL | 20 | $120 |
And then the next sytle "ABC124" below that, again with all the sizes added on.
Hope this makes sense, basically I need to create style codes for each style + size, and then list the QTY and the total value, but over hundreds of lines.
Is there a easy VBA way to do this? I'm sure I could code it out, but my code would be super long and complicated haha.
Thanks in advance.