# Conditional formatting column is blank

=OR(A1="",B1="", C1="")

To highlight values in one column when values in one or more other columns are blank, you can use the OR function and a basic logical expression to test for blank or empty values. In the example shown, conditional formatting has been applied to the range E5:E14 with this formula:

=OR(B5="",C5="", D5="")

If B5 or C5 or D5 is blank, the formula returns TRUE and triggers the rule.

*Note: conditional formatting formulas should be entered relative to the "active cell" in the selection, which is assumed to be E5 in this case.*

### How this formula works

When conditional formatting is applied with a formula, the formula is evaluated relative to the active cell in the selection at the time the rule is created. In this case, the active cell when the rule is created is assumed to be cell E5, with the range E5:E14 selected.

As the formula is evaluated, formula references change so that the rule is testing for blank values in the correct row for each of the 10 cells in the range:

If any cell in a corresponding row in column B, C, or D is blank, OR function returns TRUE and the rule is triggered and the green fill is applied. When all tests return FALSE, the OR function returns FALSE and no conditional formatting is applied.

### With ISBLANK

of testing for an empty string (="") directly you can use the ISBLANK function in an equivalent formula like this:

### AND, OR, NOT

Other logical tests can be constructed using combinations of AND, OR, and NOT. For example, to test for a blank cell in column B and column D, you could use a formula like this:

=AND(B5="",D5="")

This will trigger conditional formatting only when the column B and D are blank.

For more information on building formula criteria, see 50+ formula criteria examples.

## Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.