Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to do a t-Test in Excel?
  • How to calculate average last N values in a table in Excel
  • Conditional Formatting Icon Sets Examples in Excel
  • Everything about Charts in Excel
  • Understanding Pivot Tables in Excel

References

  • How to reference named range different sheet in Excel
  • Extract all partial matches in Excel
  • How to get address of first cell in range in Excel
  • Extract data with helper column in Excel
  • Count rows that contain specific values in Excel

Data Validations

  • Excel Data validation must begin with
  • Excel Data validation whole percentage only
  • Excel Data validation must contain specific text
  • Excel Data validation date in specific year
  • Excel Data validation no punctuation

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.

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.

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).

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:

VLOOKUP with two client rates in Excel

Next Post:

How to Create Gantt Chart 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

Logical Functions

  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • Excel If, Nested If, And/Or Criteria Examples
  • Nested IF function example in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get project midpoint in Excel
  • Display Date is workday in Excel
  • Convert text date dd/mm/yy to mm/dd/yy in Excel
  • Add workdays no weekends in Excel
  • TODAY function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • If cell contains one of many things in Excel
  • Group times into unequal buckets in Excel
  • Calculate conditional mode with criteria in Excel
  • Map inputs to arbitrary values in Excel
  • Group times into 3 hour buckets in Excel

General

  • List sheet names with formula in Excel
  • How to increase by percentage in Excel
  • Convert column number to letter in Excel
  • How to create dynamic named range with INDEX in Excel
  • Cell References: Relative, Absolute and Mixed Referencing Examples
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning