Hello Gurus,
For the following issue, I request your assistance.
I have two columns: first one has Shirt color and second one has Sizes. Within a color, the order size received is varied, just as below
[TABLE="width: 128"]
<tbody>[TR]
[TD="class: xl63, width: 64"]Shirt Color[/TD]
[TD="class: xl63, width: 64"]Size[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]XL[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]XL[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]XL[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]XL[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]L[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]L[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]M[/TD]
[/TR]
[TR]
[TD="class: xl63"]Blue[/TD]
[TD="class: xl63"]L[/TD]
[/TR]
[TR]
[TD="class: xl63"]Blue[/TD]
[TD="class: xl63"]XL[/TD]
[/TR]
[TR]
[TD="class: xl63"]Blue[/TD]
[TD="class: xl63"]XL[/TD]
[/TR]
[TR]
[TD="class: xl63"]Green[/TD]
[TD="class: xl63"]M[/TD]
[/TR]
[TR]
[TD="class: xl63"]Green[/TD]
[TD="class: xl63"]M[/TD]
[/TR]
</tbody>[/TABLE]
My requirement is to group the Yellow XL with Value 1, Yellow L with Value 2 and Yellow M with Value 3. when i encounter a new shirt color, i start the counter again, so therefore Blue L - Value 1, Blue XL - Value 2, and then Green M with value 1.
[TABLE="width: 192"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Shirt Color[/TD]
[TD="class: xl65, width: 64"]Size[/TD]
[TD="width: 64"]Grouped[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]XL[/TD]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]XL[/TD]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]XL[/TD]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]XL[/TD]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]L[/TD]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]L[/TD]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]M[/TD]
[TD="class: xl65, align: right"]3[/TD]
[/TR]
[TR]
[TD="class: xl65"]Blue[/TD]
[TD="class: xl65"]L[/TD]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65"]Blue[/TD]
[TD="class: xl65"]XL[/TD]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD="class: xl65"]Blue[/TD]
[TD="class: xl65"]XL[/TD]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD="class: xl65"]Green[/TD]
[TD="class: xl65"]M[/TD]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65"]Green[/TD]
[TD="class: xl65"]M[/TD]
[TD="class: xl65, align: right"]1
[/TD]
[/TR]
</tbody>[/TABLE]
This sounds simple and i tried creating a macro, somehow couldnt manage. Please help
Regards
Excel1404
For the following issue, I request your assistance.
I have two columns: first one has Shirt color and second one has Sizes. Within a color, the order size received is varied, just as below
[TABLE="width: 128"]
<tbody>[TR]
[TD="class: xl63, width: 64"]Shirt Color[/TD]
[TD="class: xl63, width: 64"]Size[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]XL[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]XL[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]XL[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]XL[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]L[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]L[/TD]
[/TR]
[TR]
[TD="class: xl63"]Yellow[/TD]
[TD="class: xl63"]M[/TD]
[/TR]
[TR]
[TD="class: xl63"]Blue[/TD]
[TD="class: xl63"]L[/TD]
[/TR]
[TR]
[TD="class: xl63"]Blue[/TD]
[TD="class: xl63"]XL[/TD]
[/TR]
[TR]
[TD="class: xl63"]Blue[/TD]
[TD="class: xl63"]XL[/TD]
[/TR]
[TR]
[TD="class: xl63"]Green[/TD]
[TD="class: xl63"]M[/TD]
[/TR]
[TR]
[TD="class: xl63"]Green[/TD]
[TD="class: xl63"]M[/TD]
[/TR]
</tbody>[/TABLE]
My requirement is to group the Yellow XL with Value 1, Yellow L with Value 2 and Yellow M with Value 3. when i encounter a new shirt color, i start the counter again, so therefore Blue L - Value 1, Blue XL - Value 2, and then Green M with value 1.
[TABLE="width: 192"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Shirt Color[/TD]
[TD="class: xl65, width: 64"]Size[/TD]
[TD="width: 64"]Grouped[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]XL[/TD]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]XL[/TD]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]XL[/TD]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]XL[/TD]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]L[/TD]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]L[/TD]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD="class: xl65"]Yellow[/TD]
[TD="class: xl65"]M[/TD]
[TD="class: xl65, align: right"]3[/TD]
[/TR]
[TR]
[TD="class: xl65"]Blue[/TD]
[TD="class: xl65"]L[/TD]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65"]Blue[/TD]
[TD="class: xl65"]XL[/TD]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD="class: xl65"]Blue[/TD]
[TD="class: xl65"]XL[/TD]
[TD="class: xl65, align: right"]2[/TD]
[/TR]
[TR]
[TD="class: xl65"]Green[/TD]
[TD="class: xl65"]M[/TD]
[TD="class: xl65, align: right"]1[/TD]
[/TR]
[TR]
[TD="class: xl65"]Green[/TD]
[TD="class: xl65"]M[/TD]
[TD="class: xl65, align: right"]1
[/TD]
[/TR]
</tbody>[/TABLE]
This sounds simple and i tried creating a macro, somehow couldnt manage. Please help
Regards
Excel1404