Is it possible to highlight cells based on another cell. That is a bit of an oversimplification. My table looks something like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Choice 1[/TD]
[TD]Choice 2[/TD]
[TD]Choice 3[/TD]
[TD]Choice 4[/TD]
[TD]Choice 5[/TD]
[TD]Choice 6[/TD]
[TD]Option W[/TD]
[TD]Option X[/TD]
[TD]Option Y[/TD]
[TD]Option Z[/TD]
[/TR]
[TR]
[TD]History[/TD]
[TD]Spanish[/TD]
[TD]Media[/TD]
[TD]RS[/TD]
[TD]PE[/TD]
[TD]Art[/TD]
[TD]History[/TD]
[TD]Spanish[/TD]
[TD]Art[/TD]
[TD]RS[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
If the entries under Options w to Z match choice 1 to 4 I want to highlight in green, if options W to Z match entries under Choice 5 and 6 I want to highlight in yellow. Is there any way this can be done. So the table should look like:
[TABLE="width: 500"]
<tbody>[TR]
[/TR]
[TR]
[TD]Choice 1[/TD]
[TD]Choice 2[/TD]
[TD]Choice 3[/TD]
[TD]Choice 4[/TD]
[TD]Choice 5[/TD]
[TD]Choice 6[/TD]
[TD]Option W[/TD]
[TD]Option X[/TD]
[TD]Option Y[/TD]
[TD]Option Z[/TD]
[/TR]
[TR]
[TD]History[/TD]
[TD]Spanish[/TD]
[TD]Media[/TD]
[TD]RS[/TD]
[TD]PE[/TD]
[TD]Art[/TD]
[TD]History[/TD]
[TD]Spanish[/TD]
[TD]Art[/TD]
[TD]RS[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
As always, any help is very much appreciated.
Thanks
[TABLE="width: 500"]
<tbody>[TR]
[TD]Choice 1[/TD]
[TD]Choice 2[/TD]
[TD]Choice 3[/TD]
[TD]Choice 4[/TD]
[TD]Choice 5[/TD]
[TD]Choice 6[/TD]
[TD]Option W[/TD]
[TD]Option X[/TD]
[TD]Option Y[/TD]
[TD]Option Z[/TD]
[/TR]
[TR]
[TD]History[/TD]
[TD]Spanish[/TD]
[TD]Media[/TD]
[TD]RS[/TD]
[TD]PE[/TD]
[TD]Art[/TD]
[TD]History[/TD]
[TD]Spanish[/TD]
[TD]Art[/TD]
[TD]RS[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
If the entries under Options w to Z match choice 1 to 4 I want to highlight in green, if options W to Z match entries under Choice 5 and 6 I want to highlight in yellow. Is there any way this can be done. So the table should look like:
[TABLE="width: 500"]
<tbody>[TR]
[/TR]
[TR]
[TD]Choice 1[/TD]
[TD]Choice 2[/TD]
[TD]Choice 3[/TD]
[TD]Choice 4[/TD]
[TD]Choice 5[/TD]
[TD]Choice 6[/TD]
[TD]Option W[/TD]
[TD]Option X[/TD]
[TD]Option Y[/TD]
[TD]Option Z[/TD]
[/TR]
[TR]
[TD]History[/TD]
[TD]Spanish[/TD]
[TD]Media[/TD]
[TD]RS[/TD]
[TD]PE[/TD]
[TD]Art[/TD]
[TD]History[/TD]
[TD]Spanish[/TD]
[TD]Art[/TD]
[TD]RS[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
As always, any help is very much appreciated.
Thanks