$ 0 0 I don't understand why you would count the number of occurrences and compare this with 3: just count that number of occurrences and use a 2-colour scale based conditional formatting, this gives you the following result: