Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to use Excel ROW Function
  • MATCH function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate two-way lookup VLOOKUP in Excel Table
  • Convert text string to valid reference in Excel using Indirect function
  • How to get address of last cell in range in Excel

Data Analysis Examples

  • Example of COUNTIFS with variable table column in Excel
  • Reverse List in Excel
  • How to Use Solver Tool in Excel
  • How to calculate current stock or inventory in Excel
  • Error Bars in Excel

Data Validation Examples

  • Excel Data validation allow uppercase only
  • Excel Data validation unique values only
  • Excel Data validation only dates between
  • Excel Data validation exists in list
  • Excel Data validation whole percentage only

Conditional formatting column is blank in Excel

by

This tutorial shows how to Conditionally format column is blank in Excel using the example below;

Formula

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

Explanation

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.

Worked Example:   Highlight missing values in Excel

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.

Worked Example:   Highlight dates between in Excel

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:

=OR(B5="",C5="", D5="") // E5
=OR(B6="",C6="", D6="") // E6
=OR(B7="",C7="", D7="") // E7
etc.

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.

Worked Example:   Highlight approximate match lookup conditional formatting in Excel

With ISBLANK

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

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

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.

Post navigation

Previous Post:

Conditional formatting based on another cell in Excel

Next Post:

Highlight 3 smallest values with criteria in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • How to create email address from name in Excel
  • Put names into proper case — Manipulating NAMES in Excel
  • How to abbreviate names or words in Excel
  • Add line break based on OS in Excel
  • How to get page from URL in Excel
  • How to calculate nth day of year in Excel
  • ISOWEEKNUM function: Description, Usage, Syntax, Examples and Explanation
  • Find Last Day of the Month in Excel
  • Get days between dates ignoring years in Excel
  • Get days between dates in Excel
  • TBILLPRICE function: Description, Usage, Syntax, Examples and Explanation
  • PDURATION function: Description, Usage, Syntax, Examples and Explanation
  • XIRR function: Description, Usage, Syntax, Examples and Explanation
  • NPV function: Description, Usage, Syntax, Examples and Explanation
  • IRR function: Description, Usage, Syntax, Examples and Explanation
Acronyms, Abbreviations, Initialism & What They Stand For
© 2022 xlsoffice . All Right Reserved. | Teal Smiles