Applying a font color conditional format without affecting a border format

I have a conditional format that applies borders on cells. If I apply a conditional format that changes the font color the cell’s border goes away. How can I change the font color without also removing the border?

In other words, do you want to use formatting to display two different conditions—one affecting borders and the other the font color? Have I understood your problem correctly? If so, you would need 2 × 2 = 4 styles to cover every formatting combination. If you later wanted to add another condition (for example, changing the font style to italics), you would need 2 × 2 × 2 = 8 independent styles and 8 conditions to apply the correct style to the cell. Do you see what I mean? I am saying that you haven’t chosen the easiest path for visualizing the results—there are simpler ways to do it.

Updated. This issue was thoroughly analyzed a few years ago; I hope this information proves useful to you.

1 Like

hierarchically linked styles
CYT_depent colours_123717.ods (9.4 KB)

1 Like

Thanks for the example. Unfortunately I have too many combinations and columns to do this. Also, when I change a format none of the formats show until I close and reopen the spreadsheet. It would be nice if Calc would support discrete additive formats.