Consider a table like shown
[TABLE="width: 500"]
<tbody>[TR]
[TD]Shipment No.[/TD]
[TD]Company[/TD]
[TD]Match[/TD]
[/TR]
[TR]
[TD]s1[/TD]
[TD]a[/TD]
[TD]exception[/TD]
[/TR]
[TR]
[TD]s2[/TD]
[TD]b[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]s3[/TD]
[TD]a[/TD]
[TD]exception[/TD]
[/TR]
[TR]
[TD]s2[/TD]
[TD]b[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
What I want to do is in the 'Match' column, check if the same company has the same shipment number or not. The actual record has approx 300 values.
In the above table, since company 'a' has two shipment numbers s1 and s3, I want it to be shown as an exception in the match column while company 'b' has the same shipment number so it passes.
Thanks a lot!
[TABLE="width: 500"]
<tbody>[TR]
[TD]Shipment No.[/TD]
[TD]Company[/TD]
[TD]Match[/TD]
[/TR]
[TR]
[TD]s1[/TD]
[TD]a[/TD]
[TD]exception[/TD]
[/TR]
[TR]
[TD]s2[/TD]
[TD]b[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]s3[/TD]
[TD]a[/TD]
[TD]exception[/TD]
[/TR]
[TR]
[TD]s2[/TD]
[TD]b[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
What I want to do is in the 'Match' column, check if the same company has the same shipment number or not. The actual record has approx 300 values.
In the above table, since company 'a' has two shipment numbers s1 and s3, I want it to be shown as an exception in the match column while company 'b' has the same shipment number so it passes.
Thanks a lot!