abdulhaque
Board Regular
- Joined
- Dec 2, 2015
- Messages
- 63
Hi all,
Just trying to think ahead of how best to tackle an upcoming task. What can I use to highlight differences in groups of cells in a row? In the example below, you can see two tables, table A = columns A-E and table B = columns G-K. Any row between each table, if found in both tables they are not highlighted. If a row is found in table A but not in table B, the row in table A is highlighted in red. Likewise if a row is found in table B but not in table A, the row in table B is highlighted in blue. The cells can contain anything, including numbers, characters, dates etc. Filtering can be applied by any column.
Thanks
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]a[/TD]
[TD]b[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]h[/TD]
[TD]t[/TD]
[TD]c[/TD]
[TD][/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]h[/TD]
[TD]t[/TD]
[TD]c[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]t[/TD]
[TD]j[/TD]
[TD]d[/TD]
[TD]7[/TD]
[TD]6[/TD]
[TD][/TD]
[TD]h[/TD]
[TD]h[/TD]
[TD]h[/TD]
[TD]h[/TD]
[TD]h[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]o[/TD]
[TD]o[/TD]
[TD]o[/TD]
[TD]o[/TD]
[TD]o[/TD]
[TD][/TD]
[TD]a[/TD]
[TD]b[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]5[/TD]
[TD]j[/TD]
[TD]j[/TD]
[TD]j[/TD]
[TD]p[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]6[/TD]
[TD][/TD]
[TD]f[/TD]
[TD]g[/TD]
[TD]h[/TD]
[TD]i[/TD]
[TD]j[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]h[/TD]
[TD]h[/TD]
[TD]h[/TD]
[TD]h[/TD]
[TD]h[/TD]
[TD][/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]7[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]d[/TD]
[TD]h[/TD]
[TD]d[/TD]
[TD]2[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]f[/TD]
[TD]g[/TD]
[TD]h[/TD]
[TD]i[/TD]
[TD]j[/TD]
[TD][/TD]
[TD]e[/TD]
[TD]y[/TD]
[TD]6[/TD]
[TD]l[/TD]
[TD]o[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]7[/TD]
[TD]8[/TD]
[TD][/TD]
[TD]o[/TD]
[TD]o[/TD]
[TD]o[/TD]
[TD]o[/TD]
[TD]o[/TD]
[/TR]
</tbody>[/TABLE]
Just trying to think ahead of how best to tackle an upcoming task. What can I use to highlight differences in groups of cells in a row? In the example below, you can see two tables, table A = columns A-E and table B = columns G-K. Any row between each table, if found in both tables they are not highlighted. If a row is found in table A but not in table B, the row in table A is highlighted in red. Likewise if a row is found in table B but not in table A, the row in table B is highlighted in blue. The cells can contain anything, including numbers, characters, dates etc. Filtering can be applied by any column.
Thanks
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD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