Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Sheets - Conditional Formatting is overriding background color

I have a conditional format to color the background of even rows. I have another conditional format that changes the color of the text for duplicate cells, but this is removing the background color of even rows. If I switch the hierarchy of these formats, then I lose the text colouring but get back the coloured rows.

Not sure how to fix this.

like image 978
Karric Avatar asked May 06 '16 13:05

Karric


1 Answers

There's no direct way to do this in Google Sheets. But, there's good workaround.

Make the third Conditional formatting rule with your formula, checking both conditions:

=and(iseven(row($A1)),countif($A1:$A,$A1)>1)

and set it's hierarchy to the top.

like image 187
Max Makhrov Avatar answered Sep 29 '22 20:09

Max Makhrov