tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
I have a grid of data with names along the top and sales down the side in Sheet "Data" (see chart1)
I want to convert this data into a list in Sheet "New Data" (see chart 2)
I just can't get anything to work so please help
I figure its best if I show you an example so here is a small example of what I want:
What I have :
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[TD]L
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]DATE
[/TD]
[TD]12/06/2017
[/TD]
[TD]SALES PERSON
[/TD]
[TD]Terry
[/TD]
[TD]Sue
[/TD]
[TD]Mat
[/TD]
[TD]Tony
[/TD]
[TD]Andy
[/TD]
[TD]John
[/TD]
[TD]Jo
[/TD]
[TD]Kevin
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]INV NO
[/TD]
[TD]PRODUCT
[/TD]
[TD]TYPE
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]1234
[/TD]
[TD]Glue
[/TD]
[TD]sticky
[/TD]
[TD]40
[/TD]
[TD][/TD]
[TD][/TD]
[TD]20
[/TD]
[TD][/TD]
[TD][/TD]
[TD]12
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]1235
[/TD]
[TD]Jam
[/TD]
[TD]Strawb
[/TD]
[TD][/TD]
[TD]12
[/TD]
[TD][/TD]
[TD]12
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]1236
[/TD]
[TD]Maps
[/TD]
[TD]Euro
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]60
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]1121
[/TD]
[TD]Glue
[/TD]
[TD]Dry
[/TD]
[TD][/TD]
[TD][/TD]
[TD]34
[/TD]
[TD][/TD]
[TD][/TD]
[TD]45
[/TD]
[TD][/TD]
[TD]11
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]1000
[/TD]
[TD]Sand
[/TD]
[TD]Paper
[/TD]
[TD][/TD]
[TD][/TD]
[TD]12
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So as you can see, I currently have all my sales in one row for each product, but I need to change this to a list like shown below.
Also its important to note that not every row has sales as Columns A, B & C are a List of Every product we Sell so some will have no sales and some clould have everyone selling as shown above.
What I want it to look like
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]INV NO
[/TD]
[TD]PRODUCT
[/TD]
[TD]TYPE
[/TD]
[TD]Sales Person
[/TD]
[TD]Amount
[/TD]
[TD]Date
[/TD]
[TD][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06/17
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD]1000
[/TD]
[TD]Sand
[/TD]
[TD]Paper
[/TD]
[TD]Mat
[/TD]
[TD]12[/TD]
[TD]12/06/17
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm really stuck with this one so please help if you can
Thanks
Tony
I have a grid of data with names along the top and sales down the side in Sheet "Data" (see chart1)
I want to convert this data into a list in Sheet "New Data" (see chart 2)
I just can't get anything to work so please help
I figure its best if I show you an example so here is a small example of what I want:
What I have :
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[TD]L
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]DATE
[/TD]
[TD]12/06/2017
[/TD]
[TD]SALES PERSON
[/TD]
[TD]Terry
[/TD]
[TD]Sue
[/TD]
[TD]Mat
[/TD]
[TD]Tony
[/TD]
[TD]Andy
[/TD]
[TD]John
[/TD]
[TD]Jo
[/TD]
[TD]Kevin
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]INV NO
[/TD]
[TD]PRODUCT
[/TD]
[TD]TYPE
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]1234
[/TD]
[TD]Glue
[/TD]
[TD]sticky
[/TD]
[TD]40
[/TD]
[TD][/TD]
[TD][/TD]
[TD]20
[/TD]
[TD][/TD]
[TD][/TD]
[TD]12
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]1235
[/TD]
[TD]Jam
[/TD]
[TD]Strawb
[/TD]
[TD][/TD]
[TD]12
[/TD]
[TD][/TD]
[TD]12
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]1236
[/TD]
[TD]Maps
[/TD]
[TD]Euro
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]60
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]1121
[/TD]
[TD]Glue
[/TD]
[TD]Dry
[/TD]
[TD][/TD]
[TD][/TD]
[TD]34
[/TD]
[TD][/TD]
[TD][/TD]
[TD]45
[/TD]
[TD][/TD]
[TD]11
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]1000
[/TD]
[TD]Sand
[/TD]
[TD]Paper
[/TD]
[TD][/TD]
[TD][/TD]
[TD]12
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So as you can see, I currently have all my sales in one row for each product, but I need to change this to a list like shown below.
Also its important to note that not every row has sales as Columns A, B & C are a List of Every product we Sell so some will have no sales and some clould have everyone selling as shown above.
What I want it to look like
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[/TR]
[TR]
[TD]1
[/TD]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
[/TD]
[TD]Glue
[/TD]
[TD]Dry
[/TD]
[TD]John
[/TD]
[TD]45
[/TD]
[TD]12/06/17
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11
[/TD]
[TD]1121
[/TD]
[TD]Glue
[/TD]
[TD]Dry
[/TD]
[TD]Kevin
[/TD]
[TD]11
[/TD]
[TD]12/06/17
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD]1000
[/TD]
[TD]Sand
[/TD]
[TD]Paper
[/TD]
[TD]Mat
[/TD]
[TD]12[/TD]
[TD]12/06/17
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm really stuck with this one so please help if you can
Thanks
Tony