downwithjunk
New Member
- Joined
- May 30, 2013
- Messages
- 16
Any help would be greatly appreciated.
I have a list of inventory (col A:C) with 3 criteria. I'm trying to figure out how to add conditional formatting to the table on the right (col E:I) that highlights the cells (g2:i10) if they are present in the list on the left. I've marked the cells with an "x" if they should be highlighted...for illustrative purposes.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Size[/TD]
[TD]Type[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Apples[/TD]
[TD]S[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]Apples[/TD]
[TD]S[/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Oranges[/TD]
[TD]S[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]Apples[/TD]
[TD]M[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pears[/TD]
[TD]M[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]Apples[/TD]
[TD]L[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Oranges[/TD]
[TD]L[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]Oranges[/TD]
[TD]S[/TD]
[TD][/TD]
[TD][/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]Apples[/TD]
[TD]M[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]Oranges[/TD]
[TD]M[/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Apples[/TD]
[TD]M[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]Oranges[/TD]
[TD]L[/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Oranges[/TD]
[TD]M[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]Pears[/TD]
[TD]S[/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pears[/TD]
[TD]S[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]Pears[/TD]
[TD]M[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Pears[/TD]
[TD]L[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a list of inventory (col A:C) with 3 criteria. I'm trying to figure out how to add conditional formatting to the table on the right (col E:I) that highlights the cells (g2:i10) if they are present in the list on the left. I've marked the cells with an "x" if they should be highlighted...for illustrative purposes.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Size[/TD]
[TD]Type[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Apples[/TD]
[TD]S[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]Apples[/TD]
[TD]S[/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Oranges[/TD]
[TD]S[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]Apples[/TD]
[TD]M[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pears[/TD]
[TD]M[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]Apples[/TD]
[TD]L[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Oranges[/TD]
[TD]L[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]Oranges[/TD]
[TD]S[/TD]
[TD][/TD]
[TD][/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]Apples[/TD]
[TD]M[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]Oranges[/TD]
[TD]M[/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]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