Conditional formatting in Microsoft Excel is a great tool to visually differentiate and focus data based on specific criteria. Applying conditional formatting to blank cells can be complex, but Excel’s feature allows you to easily locate those blank cells. In this article, you will learn how to conditionally format blank cells in Excel.
Key Takeaways
- Conditional Formatting visually guides users to format cells based on specified criteria.
- It is important to differentiate between blank cells and cells with invisible characters.
- Identify missing data by highlighting blank cells using conditional formatting.
- Create custom formulas like ISBLANK for blank cell detection.
- Utilize VBA Macro for improved control in highlighting blank cells.
Table of Contents
Introduction to Conditional Formatting in Excel
Conditional Formatting in Excel is like the traffic lights of a dataset. It guides you where to pay attention. It is a great tool that allows you to automatically apply a format to a cell based on certain criteria. This could be anything from a simple color fill to data bars and color scales, helping you visualize data at a glance.
Understanding the difference between blank and non-blank cells in Excel is important for accurate data analysis. While both types of cells might appear empty, only truly blank cells contain no data whatsoever. Cells that may look blank could hold invisible characters, like spaces or formulas returning empty strings. By differentiating them correctly, you can make your Excel workbooks more reliable and error-proof.
How to Conditional Format Blank Cells
Use Conditional Formatting
STEP 1: Select the range where you suspect there are blanks.
STEP 2: Go to the ‘Home’ tab and find the ‘Styles’ group. Click on ‘Conditional Formatting.
STEP 3: Go to ‘Highlight Cells Rules‘ followed by ‘More Rules.
STEP 4: In the new window, opt for ‘Format only cells that contain’, then pick ‘Blanks’ from the drop-down list.
STEP 5: Now, click on the Format button to select the formatting style of your preference.
STEP 6: Hit ‘OK’, and voilà! All blank cells in your selected range will now be visually distinguished.
Custom Formulas
STEP 1: Select the range.
STEP 2: Go to the Home tab > Conditional Formatting > New Rule.
STEP 3: Choose ‘Use a formula to determine which cells to format’.
In the formula box, type this formula.
STEP 4: Press the ‘Format…’ button.
STEP 5: Click ‘OK’ to set the rule.
Use VBA
STEP 1: Press ALT + F11 to open the Developer tab and access the Visual Basic Editor.
STEP 2: Go to ‘Insert’ > ‘Module’.
STEP 3: Paste the following VBA script.
STEP 4: Close the VBA Editor.
STEP 5: Select the range.
STEP 6: Press ALT + F8,
STEP 7: Select ‘HighlightBlankCells’, and click ‘Run’.
The result-
Troubleshoot Mistakes
Blank Cells Not Highlighted
Sometimes, the blank cells may not get highlighted after applying the rule. It can be because:
- The order of conditional formatting is interfering. If any existing rule affecting the same cell is above, Excel will apply that rule and ignore the rule below.
- The formula is incorrect. The syntax or the referenced cell may be wrong.
- Cells that seem empty but contain spaces.
FAQs
What is conditional formatting in Excel?
Conditional formatting automatically changes cell formatting based on specific rules.
What is the shortcut to highlight blank cells?
- Press
F5to open the Go To dialog box Alt + Sto hit the Special button- Followed by
xto select Blanks - Click
OK
Why are some blank-looking cells not highlighted?
The blank-looking cells may not get highlighted because they are not actually blank. They may contain spaces, formulas, or invisible characters.
How to Apply Conditional Formatting to Multiple Sheets at Once?
To apply conditional formatting to multiple sheets simultaneously in Excel, you’ll have to group the sheets by selecting them while holding the Ctrl key (Cmd key for Mac). Once grouped, apply conditional formatting to the active sheet, and the same rule will be applied to all selected sheets in the group.
Can I use a formula to highlight blank cells?
Yes, you can use the ISBLANK function in a conditional formatting rule.
John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship MyExcelOnline Academy Online Course.



















