Greetings,
I have a column with values and I change the fill using a set of conditional formatting rules with the criteria below (well as much as I can remember from work, so these are not the exact values but the same principle)
=COUNTIF(A1:A100, "*AA*")
=COUNTIF(A1:A100, "*AB*")...