▲ 0 r/googlesheets
Conditional formatting for unique sets
Trying to assign conditional formating to any row marked "Group" ("E") by using the row number of the group's first appearance as a stable identifier (D).
I attempted this:
=AND($E2="Group", COUNTIF($D$2:$D$600, $D2)>1, MOD(COUNTUNIQUE($D$2:INDEX($D$2:$D$600, MATCH($D2, $D$2:$D$600, 0))), 4)=1)
=AND($E2="Group", COUNTIF($D$2:$D$600, $D2)>1, MOD(COUNTUNIQUE($D$2:INDEX($D$2:$D$600, MATCH($D2, $D$2:$D$600, 0))), 4)=2)
=AND($E2="Group", COUNTIF($D$2:$D$600, $D2)>1, MOD(COUNTUNIQUE($D$2:INDEX($D$2:$D$600, MATCH($D2, $D$2:$D$600, 0))), 4)=3)
=AND($E2="Group", COUNTIF($D$2:$D$600, $D2)>1, MOD(COUNTUNIQUE($D$2:INDEX($D$2:$D$600, MATCH($D2, $D$2:$D$600, 0))), 4)=0)
However it returns a result where rows with different D values (202 and 304) are formatted the same. Any suggestions on what I'm missing?
u/Sptlots — 3 days ago