2

I want to color a specific cell if (for example):

  • A1 has a value (meaning it is not blank)
  • B1 has no value (meaning it is blank)

In this scenario I would like to color B1 red. I want the formula to apply to the entirety of the B-column.

pnuts
  • 58,317
  • 11
  • 87
  • 139
Sven
  • 41
  • 1
  • 1
  • 3
  • 4
    possible duplicate of [Google Spreadsheet Conditional Formatting Based on another Cell Value](http://stackoverflow.com/questions/20545961/google-spreadsheet-conditional-formatting-based-on-another-cell-value) – whereisSQL Aug 23 '15 at 17:05
  • When I said that I want this to apply to the entirety of the B-column I meant the following: A1 has value B1 has no value > make B1 red A2 has value B2 has no value > make B2 red A3 has value B3 has no value > make B3 red – Sven Aug 23 '15 at 17:05

1 Answers1

6

Try clicking Format > Conditional formatting > Custom formula is:

=AND($A1<>"";$B1="")

Apply this to range B:B and select a red colour format

Philipp
  • 10,240
  • 8
  • 59
  • 71
Chris Hick
  • 3,004
  • 1
  • 13
  • 15