DanniiMarie
New Member
- Joined
- May 21, 2018
- Messages
- 30
- Office Version
- 365
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
- 2003 or older
- Platform
- Windows
- MacOS
- Mobile
- Web
I have a manifest of items shipped to store locations but it needs to be uploaded to a service in a very specific format. I know there is a quick way to complete this task using a macro but just don't know where to start. Here is the format I have:
The format I need ignores the zeros and rearranges things like this:
Notice how it doesn't matter what the # is in the item columns so long as it is not a zero. The new table can be on a new tab and the tab title doesn't matter as I can simply cut and paste the results of the macro into my upload sheet.
Can someone help me with this?
|
| Item #1 | Item #2 | Item#3 | Item #4 | ||
1234 | Wowza on Main | 1 | 0 | 0 | 4 | ||
5678 | Wowza on 2nd | 5 | 0 | 3 | 0 | ||
9012 | Wowza on 15th | 1 | 0 | 0 | 1 | ||
3456 | Wowza on 22nd | 1 | 2 | 1 | 1 |
The format I need ignores the zeros and rearranges things like this:
Store Name | Content | Store # |
Wowza on Main | Item 1 | 1234 |
Wowza on Main | Item 4 | 1234 |
Wowza on 2nd | Item 1 | 5678 |
Wowza on 2nd | Item 3 | 5678 |
Wowza on 15th | Item 1 | 9012 |
Wowza on 15th | Item 4 | 9012 |
Wowza on 22nd | Item 1 | 3456 |
Wowza on 22nd | Item 2 | 3456 |
Wowza on 22nd | Item 3 | 3456 |
Wowza on 22nd | Item 4 | 3456 |
Notice how it doesn't matter what the # is in the item columns so long as it is not a zero. The new table can be on a new tab and the tab title doesn't matter as I can simply cut and paste the results of the macro into my upload sheet.
Can someone help me with this?