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

Lookup and Reference Examples

  • To count total rows in a range in Excel
  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • Merge tables with VLOOKUP in Excel
  • How to get relative column numbers in a range in Excel
  • How to get address of last cell in range in Excel

Data Analysis Examples

  • Filter Data Based on Date in Excel
  • How To Create Pareto Chart in Excel
  • Get column name from index in Excel Table
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • How To Perform and Interpret Regression Analysis in Excel

Data Validation Examples

  • Excel Data validation specific characters only
  • Excel Data validation unique values only
  • Excel Data validation require unique number
  • Excel Data validation date in specific year
  • Prevent invalid data entering in specific cells

Highlight blank cells in Excel

by

This tutorial shows how to Highlight blank cells in Excel using the example below;

Formula

=ISBLANK(A1)

Explanation

If you want to highlight cells that are blank or empty with conditional formatting, you can do so with a simple formula based on the ISBLANK function. For example, if you want to highlight blank cells in the range B4:G11, just select the range and create a conditional formatting rule based on this formula:

=ISBLANK(B4)

Note: it’s important that CF formulas be entered relative to the “active cell” in the selection, which is assumed to be B4 in this case.

Worked Example:   How to count specific words in a range in Excel

Once you save the rule, you’ll see the formatting applied to all empty cells.

How this formula works

When you use a formula to apply conditional formatting, the formula is evaluated relative to the active cell in the selection at the time the rule is created. So, in this case the formula =ISBLANK(B4) is evaluated for each cells in B4:G11. Because B4 is entered as a relative address, the address will be updated each time the formula is applied, and ISBLANK() is run on each cell in the range.

Worked Example:   How to translate letters to numbers in Excel

Empty vs. blank

The ISBLANK function only returns true when cell are actually empty. If a cell contains a formula that returns an empty string (i.e. “”) ISBLANK won’t see these cells as blank, and won’t return true, so they won’t be highlighted. In this way, ISBLANK would be better thought of as “ISEMPTY” (Hat tip, Mike Girvin).

Worked Example:   Extract word that begins with specific character in Excel

If you want to highlight all cells that are blank and cells that just appear blank, you can use this formula instead:

=LEN(B4)=0

The LEN formula returns the length of text as a number. The formula LEN(B4)=0, will return true for both “blank” and “empty” cells.

Post navigation

Previous Post:

Highlight approximate match lookup conditional formatting in Excel

Next Post:

Highlight bottom values 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
  • CODE function: Description, Usage, Syntax, Examples and Explanation
  • ASC function: Description, Usage, Syntax, Examples and Explanation
  • How to strip non-numeric characters in Excel
  • Convert text to numbers using VALUE function in Excel
  • Replace one character with another in Excel
  • Calculate years between dates in Excel
  • Convert decimal seconds to Excel time
  • Get project midpoint in Excel
  • How to calculate Next working/business day in Excel
  • How to calculate project start date based on end date in Excel
  • ODDLYIELD function: Description, Usage, Syntax, Examples and Explanation
  • TBILLPRICE function: Description, Usage, Syntax, Examples and Explanation
  • COUPPCD function: Description, Usage, Syntax, Examples and Explanation
  • ODDLPRICE function: Description, Usage, Syntax, Examples and Explanation
  • AMORDEGRC function: Description, Usage, Syntax, Examples and Explanation
© 2022 xlsoffice . All Right Reserved. | Teal Smiles