Change cell colour based on other cells text

Closed
nikbak - 22 Sep 2016 à 09:23
Mazzaropi Posts 1983 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 - 22 Sep 2016 à 09:39
Hello, I really need help on this one as I can't work it out.

I need to change the colour of a cell if that cell and the previous 12 cells do not contain specific text.
I need to be able to apply this to a selection of cells in a sheet, not all of them.
I have worked out that it is done through conditional formatting but I cannot work out the formula to use to enable it.




Related:

1 response

Mazzaropi Posts 1983 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 147
22 Sep 2016 à 09:39
nikbak, Good morning.

Suppose:

Select M1
Conditional Format Menu --> Using formula

=ISERROR(MATCH("OK",A1:M1,0))

Choose Fill Color as you want
OK

If you want copy this FORMAT to others cells...

Select M1 --> COPY

Select M3 , M7 , O9 , Q12

SPECIAL PASTE --> FORMAT --> OK

Is this what you want?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão