=If cell A1 has text, then B1 changes color
jsecours
Posted messages
5
Status
Membre
-
huhh -
huhh -
Hello,
I am looking for a two-part formula:
In the same formula:
If cell A1 contains the letter P = cell B1 turns blue OR if cell A1 contains the letter D, the cell turns red.
Can anyone help me?
Thank you
Julie
I am looking for a two-part formula:
In the same formula:
If cell A1 contains the letter P = cell B1 turns blue OR if cell A1 contains the letter D, the cell turns red.
Can anyone help me?
Thank you
Julie
2 answers
Hello,
A formula does not change the color of a cell.
For that, you need to use conditional formatting (CF):
Home / Conditional Formatting / New Rule ...
Apply formatting only to cells that contain
Specific Text / containing / P
Format / Fill / Blue
And add another CF for D red
--
Best regards
Patrice
A formula does not change the color of a cell.
For that, you need to use conditional formatting (CF):
Home / Conditional Formatting / New Rule ...
Apply formatting only to cells that contain
Specific Text / containing / P
Format / Fill / Blue
And add another CF for D red
--
Best regards
Patrice
Formula of the type:
=IF(ISERROR(SEARCH("P",$A1)),FALSE,TRUE)
ftggrfcgr't
wxtjgj(t'v'(t