data
<tbody>
</tbody>
it finds for the article and the color and searches if in corresponding colum "4" there is a zero then it does nothing then it will will check column under 5 if it says 2 it print 5 twice against the article and color
thanks in advance plz help me out with this
I WANT THE FOLLOWING OUTPUT | article | color | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | ||||
1307 | BR | 5 | 1307 | BR | 0 | 2 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | ||
1307 | BR | 5 | 1307 | BK | 0 | 1 | 1 | 1 | 2 | 1 | 1 | 0 | 0 | 0 | ||
1307 | BR | 6 | 1311 | MR | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | ||
1307 | BR | 7 | ||||||||||||||
1307 | BR | 8 | ||||||||||||||
1307 | BR | 10 | ||||||||||||||
1307 | BR | 11 | ||||||||||||||
1307 | BK | 5 | ||||||||||||||
1307 | BK | 6 | ||||||||||||||
1307 | BK | 7 | ||||||||||||||
1307 | BK | 8 | ||||||||||||||
1307 | BK | 8 | ||||||||||||||
1307 | BK | 9 | ||||||||||||||
1307 | BK | 10 | ||||||||||||||
1311 | MR | 7 | ||||||||||||||
1311 | MR | 8 | ||||||||||||||
1311 | MR | 9 | ||||||||||||||
1311 | MR | 13 |
<tbody>
</tbody>
it finds for the article and the color and searches if in corresponding colum "4" there is a zero then it does nothing then it will will check column under 5 if it says 2 it print 5 twice against the article and color
thanks in advance plz help me out with this