I am new to Macros, and I am learning new was to make repetitive tasks easier.
Here is what I need help with. I have 3 list of data and I need to combine them.
For every item in my list, I need to add the list of stores to distribute to, and the quantity needed.
Example of order sheet
I need a macro to convert the order array list into column form such as Items “A”, Store “B” and Qty “C”
I have been trying for 3 weeks diffrent loop combinations, and I just cannot figure this out.
Please Help
Here is what I need help with. I have 3 list of data and I need to combine them.
- Item list (5 to 100 items in a list)
- Quantity list
- Store list (2 to 10 stores)
For every item in my list, I need to add the list of stores to distribute to, and the quantity needed.
Example of order sheet
Stores | |||||
Items | 74 | 22 | 70 | 71 | 59 |
1001 | 2 | 2 | 2 | 2 | 2 |
2002 | 1 | 1 | 1 | 1 | 1 |
3003 | 4 | 4 | 4 | 4 | 4 |
4004 | 6 | 6 | 6 | 6 | 6 |
5005 | 3 | 3 | 3 | 3 | 3 |
6006 | 8 | 8 | 8 | 8 | 8 |
I need a macro to convert the order array list into column form such as Items “A”, Store “B” and Qty “C”
Item | QTY | Store |
1001 | 2 | 74 |
1001 | 2 | 22 |
1001 | 2 | 70 |
1001 | 2 | 71 |
1001 | 2 | 59 |
2002 | 1 | 74 |
2002 | 1 | 22 |
2002 | 1 | 70 |
2002 | 1 | 71 |
2002 | 1 | 59 |
3003 | 4 | 74 |
3003 | 4 | 22 |
3003 | 4 | 70 |
3003 | 4 | 71 |
3003 | 4 | 59 |
I have been trying for 3 weeks diffrent loop combinations, and I just cannot figure this out.
Please Help