Google-sheets – Conditional formatting based on another cell value

conditional formattinggoogle sheets

I'd like to format cell A338 so that, if that cell is blank and if cell H338 is not blank, then conditional formatting would apply.

=AND(NOT(ISBLANK($H338)),(ISBLANK($A338)))

That didn't work. Where's my error?

Best Answer

Select A338 and apply a Custom formula is of:

=and(A338="",H338<>"")

with formatting of choice and Done.

AND

You were, presumably, not applying your formula to the correct range.