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

Data Analysis

  • How to Create Thermometer Chart in Excel
  • How To Filter Data in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • Conditional Formatting Color Scales Examples in Excel
  • How To Create Pareto Chart in Excel

References

  • Count unique text values with criteria
  • How to get first column number in range in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • Perform case-sensitive Lookup in Excel
  • Find closest match in Excel

Data Validations

  • Data validation must not exist in list
  • Excel Data validation specific characters only
  • Excel Data validation allow uppercase only
  • Excel Data validation with conditional list
  • 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.

Worked Example:   How to Remove Leading Spaces 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:   Highlight numbers that include symbols 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 last name from full name -- Manipulating NAMES 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:

VLOOKUP without #N/A error 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

  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • Return blank if in Excel
  • Extract multiple matches into separate rows in Excel
  • SWITCH function example in Excel
  • NOT function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • WEEKNUM function: Description, Usage, Syntax, Examples and Explanation
  • Find Last Day of the Month in Excel
  • How to determine year is a leap year in Excel
  • Calculate number of hours between two times in Excel
  • How to show last updated date stamp in Excel

Grouping

  • Group times into 3 hour buckets in Excel
  • Group times into unequal buckets in Excel
  • How to randomly assign people to groups in Excel
  • Map text to numbers in Excel
  • Group arbitrary text values in Excel

General

  • How to Create Calendar in Excel
  • How to calculate percent of goal in Excel
  • Common Errors in Excel
  • How to generate random number weighted probability in Excel
  • Index and match on multiple columns in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning