I have an excel formula that does a simple count if. However, I want to add a condition to that, if met would change the fill colour of the cell. Example: In Sheet 1 cell A1 I have "XXX". In Sheet 1 cell A2 I have a boolean of "True". In Sheet 2 cell B1, I have
=COUNTIF(A1,"*XXX*")
What I want to do is say that if in Sheet 1 cell A1 I have XXX AND Sheet 1 Cell A2 is "True" then in Sheet 2 cell B1 I should have "1" displayed within a red cell
An alternate to the color coding would be to say that if Sheet 1 cell A2 has a boolean of "True" and Sheet 1 cell A1 has XXX then on sheet 2 cell B1, I should have "1R" displayed.
Any help is appreciated