Hello,
PN's in each row are alternate to each other but they are repeated in other rows in different order / sequence
Example - PN's in 1st row are also in row 3,5 & 7.
Output requirement - I need to retain only 1 row which has the maximum alternate parts and delete the remaining rows. In this case it should retain Row7 and delete Row 1,3 & 5. The same should happen to B PN's and so on.
[TABLE="width: 288"]
<tbody>[TR]
[TD="class: xl66, width: 64, bgcolor: #44546A"]PN
[/TD]
[TD="class: xl66, width: 64, bgcolor: #44546A"]ALT1
[/TD]
[TD="class: xl66, width: 64, bgcolor: #44546A"]ALT 2
[/TD]
[TD="class: xl66, width: 64, bgcolor: #44546A"]ALT3
[/TD]
[TD="class: xl66, width: 64, bgcolor: #44546A"]ALT4
[/TD]
[TD="class: xl66, width: 64, bgcolor: #44546A"]ALT5
[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]A1
[/TD]
[TD="class: xl65, bgcolor: transparent"]A2
[/TD]
[TD="class: xl65, bgcolor: transparent"]A3
[/TD]
[TD="class: xl65, bgcolor: transparent"]A4
[/TD]
[TD="class: xl65, bgcolor: transparent"]A5
[/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]B1
[/TD]
[TD="class: xl65, bgcolor: transparent"]B2
[/TD]
[TD="class: xl65, bgcolor: transparent"]B3
[/TD]
[TD="class: xl65, bgcolor: transparent"]B4
[/TD]
[TD="class: xl65, bgcolor: transparent"]B5
[/TD]
[TD="class: xl65, bgcolor: transparent"]B6
[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]A2
[/TD]
[TD="class: xl65, bgcolor: transparent"]A1
[/TD]
[TD="class: xl65, bgcolor: transparent"]A3
[/TD]
[TD="class: xl65, bgcolor: transparent"]A4
[/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]B2
[/TD]
[TD="class: xl65, bgcolor: transparent"]B1
[/TD]
[TD="class: xl65, bgcolor: transparent"]B3
[/TD]
[TD="class: xl65, bgcolor: transparent"]B4
[/TD]
[TD="class: xl65, bgcolor: transparent"]B5
[/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]A3
[/TD]
[TD="class: xl65, bgcolor: transparent"]A4
[/TD]
[TD="class: xl65, bgcolor: transparent"]A5
[/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]B3
[/TD]
[TD="class: xl65, bgcolor: transparent"]B1
[/TD]
[TD="class: xl65, bgcolor: transparent"]B2
[/TD]
[TD="class: xl65, bgcolor: transparent"]B4
[/TD]
[TD="class: xl65, bgcolor: transparent"]B5
[/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]A4
[/TD]
[TD="class: xl65, bgcolor: transparent"]A5
[/TD]
[TD="class: xl65, bgcolor: transparent"]A1
[/TD]
[TD="class: xl65, bgcolor: transparent"]A2
[/TD]
[TD="class: xl65, bgcolor: transparent"]A3
[/TD]
[TD="class: xl65, bgcolor: transparent"]A6
[/TD]
[/TR]
</tbody>[/TABLE]
PN's in each row are alternate to each other but they are repeated in other rows in different order / sequence
Example - PN's in 1st row are also in row 3,5 & 7.
Output requirement - I need to retain only 1 row which has the maximum alternate parts and delete the remaining rows. In this case it should retain Row7 and delete Row 1,3 & 5. The same should happen to B PN's and so on.
[TABLE="width: 288"]
<tbody>[TR]
[TD="class: xl66, width: 64, bgcolor: #44546A"]PN
[/TD]
[TD="class: xl66, width: 64, bgcolor: #44546A"]ALT1
[/TD]
[TD="class: xl66, width: 64, bgcolor: #44546A"]ALT 2
[/TD]
[TD="class: xl66, width: 64, bgcolor: #44546A"]ALT3
[/TD]
[TD="class: xl66, width: 64, bgcolor: #44546A"]ALT4
[/TD]
[TD="class: xl66, width: 64, bgcolor: #44546A"]ALT5
[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]A1
[/TD]
[TD="class: xl65, bgcolor: transparent"]A2
[/TD]
[TD="class: xl65, bgcolor: transparent"]A3
[/TD]
[TD="class: xl65, bgcolor: transparent"]A4
[/TD]
[TD="class: xl65, bgcolor: transparent"]A5
[/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]B1
[/TD]
[TD="class: xl65, bgcolor: transparent"]B2
[/TD]
[TD="class: xl65, bgcolor: transparent"]B3
[/TD]
[TD="class: xl65, bgcolor: transparent"]B4
[/TD]
[TD="class: xl65, bgcolor: transparent"]B5
[/TD]
[TD="class: xl65, bgcolor: transparent"]B6
[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]A2
[/TD]
[TD="class: xl65, bgcolor: transparent"]A1
[/TD]
[TD="class: xl65, bgcolor: transparent"]A3
[/TD]
[TD="class: xl65, bgcolor: transparent"]A4
[/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]B2
[/TD]
[TD="class: xl65, bgcolor: transparent"]B1
[/TD]
[TD="class: xl65, bgcolor: transparent"]B3
[/TD]
[TD="class: xl65, bgcolor: transparent"]B4
[/TD]
[TD="class: xl65, bgcolor: transparent"]B5
[/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]A3
[/TD]
[TD="class: xl65, bgcolor: transparent"]A4
[/TD]
[TD="class: xl65, bgcolor: transparent"]A5
[/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]B3
[/TD]
[TD="class: xl65, bgcolor: transparent"]B1
[/TD]
[TD="class: xl65, bgcolor: transparent"]B2
[/TD]
[TD="class: xl65, bgcolor: transparent"]B4
[/TD]
[TD="class: xl65, bgcolor: transparent"]B5
[/TD]
[TD="class: xl65, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]A4
[/TD]
[TD="class: xl65, bgcolor: transparent"]A5
[/TD]
[TD="class: xl65, bgcolor: transparent"]A1
[/TD]
[TD="class: xl65, bgcolor: transparent"]A2
[/TD]
[TD="class: xl65, bgcolor: transparent"]A3
[/TD]
[TD="class: xl65, bgcolor: transparent"]A6
[/TD]
[/TR]
</tbody>[/TABLE]
Last edited: