Highlight the background color of any cell with duplicate content in any row or column in a table?

In this case, the contents of the non-adjacent cells in the same row are repeated, how about highlighting their backgrounds as well, also in the case of columns

The problem is, that the CSS has no idea about the content of the cells.

The OT is slightly related to: Change the background color of one single cell easily. If it would be easy to manually style single cells this could be solved in the same way.

1 Like

As @pmario indicates you need to find some way to determine duplicates before you can highlight them. Unless you can find a tricky feature of CSS, which is closer to programing than pure CSS.

@XYZ you may need to determine/design the algorithm to identify the duplicates

  • I gave this a little thought and it seems somewhat complex.
1 Like