I am trying to return the text in a column, when the value in another column is greater than 0 for any entry matching a value. From below I need to write the Loc of each bin into the cell with ??.
[TABLE="width: 200"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Blocked[/TD]
[TD]Loc[/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD]123[/TD]
[TD]??[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Blocked[/TD]
[TD]Loc[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1[/TD]
[TD]S[/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD]100[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD]20[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD]3[/TD]
[TD]S[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 200"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Blocked[/TD]
[TD]Loc[/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD]123[/TD]
[TD]??[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Blocked[/TD]
[TD]Loc[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1[/TD]
[TD]S[/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD]100[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD]20[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]X[/TD]
[TD]3[/TD]
[TD]S[/TD]
[/TR]
</tbody>[/TABLE]