Google-sheets – How to use conditional formatting on one column based on certain characters in another column

conditional formattingformulasgoogle sheets

When column D has a hyphen (-) in it, I want the fill color in column H to change.
What is the custom formula for that?

Best Answer

Please place the following formula in cell H1:

=SEARCH("-",$D1)

enter image description here