Hello All,
I need to change the last instance of the "yes or no" column to be "yes" if the first two columns match. The prior matching instances would need to be "No".
Below are examples of the data before and after replacing based upon matching column data.
Incorrect:
[TABLE="width: 500"]
<tbody>[TR]
[TD]18225[/TD]
[TD]10
[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]20[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]30[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]30[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]30[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]50[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]
would become if corrected:
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 500"]
<tbody>[TR]
[TD]18225[/TD]
[TD]10
[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]20[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]30[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]30[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]30[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]50[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
My first time on the forum, bear with me and thanks in advance!
Justin
I need to change the last instance of the "yes or no" column to be "yes" if the first two columns match. The prior matching instances would need to be "No".
Below are examples of the data before and after replacing based upon matching column data.
Incorrect:
[TABLE="width: 500"]
<tbody>[TR]
[TD]18225[/TD]
[TD]10
[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]20[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]30[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]30[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]30[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]50[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]
would become if corrected:
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 500"]
<tbody>[TR]
[TD]18225[/TD]
[TD]10
[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]20[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]30[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]30[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]30[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]18225[/TD]
[TD]50[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]10[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]19001[/TD]
[TD]20[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
My first time on the forum, bear with me and thanks in advance!
Justin