Dear Experts,
I have a some data as shown below
[TABLE="width: 345"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD]Part[/TD]
[TD]Manufacturer[/TD]
[TD]Status[/TD]
[TD]Code[/TD]
[/TR]
[TR]
[TD]123-456[/TD]
[TD]AA[/TD]
[TD]Obsolete[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]123-456[/TD]
[TD]BB[/TD]
[TD]Active[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]123-456[/TD]
[TD]CC[/TD]
[TD]Active[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]123-456[/TD]
[TD]DD[/TD]
[TD]Active[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]123-456[/TD]
[TD]AA[/TD]
[TD]Active[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]123-456[/TD]
[TD]BB[/TD]
[TD]Active[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]
I want to look for part 123-456 and if any of the part among the many listed is active, I want to display the part 123-456 as 'active' in a cell with code smallest of all in another cell else Obsolete with code 6.
I have a some data as shown below
[TABLE="width: 345"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD]Part[/TD]
[TD]Manufacturer[/TD]
[TD]Status[/TD]
[TD]Code[/TD]
[/TR]
[TR]
[TD]123-456[/TD]
[TD]AA[/TD]
[TD]Obsolete[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]123-456[/TD]
[TD]BB[/TD]
[TD]Active[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]123-456[/TD]
[TD]CC[/TD]
[TD]Active[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]123-456[/TD]
[TD]DD[/TD]
[TD]Active[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]123-456[/TD]
[TD]AA[/TD]
[TD]Active[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]123-456[/TD]
[TD]BB[/TD]
[TD]Active[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]
I want to look for part 123-456 and if any of the part among the many listed is active, I want to display the part 123-456 as 'active' in a cell with code smallest of all in another cell else Obsolete with code 6.