Highlighting Blank Cells in Excel: A Complete Guide
In this article
To highlight blank cells in Excel, the fastest method is using Conditional Formatting to automatically apply a color to any empty cell, or using Go To Special to select all blanks at once for a manual fill. This process allows you to quickly identify missing data, audit spreadsheets for completeness, and ensure that your datasets are clean before performing calculations or importing them into other software.
What You'll Need
- A computer with Microsoft Excel installed (works on Office 365, Excel 2021, 2019, 2016, and earlier versions).
- A dataset containing cells that are either truly empty or appear empty.
- Basic knowledge of how to select a range of cells in a worksheet.
Step-by-Step
Depending on whether you want the highlighting to be permanent (manual) or dynamic (automatic), choose one of the two methods below. Note that menu labels may differ slightly depending on your version of Excel, device, or regional settings.
Method 1: Dynamic Highlighting with Conditional Formatting
Use this method if you want cells to turn a specific color the moment they become blank, or if you want the highlight to disappear as soon as you enter data into the cell.
- Select your data range: Click and drag your mouse to highlight the area where you want to find blanks. If you want to apply this to the entire sheet, click the triangle in the top-left corner of the grid (between column A and row 1) or press
Ctrl + A. - Open Conditional Formatting: Go to the Home tab on the top ribbon. In the Styles group, click on Conditional Formatting.
- Create a New Rule: From the dropdown menu, select New Rule.... This will open a dialog box with several rule types.
- Select the Rule Type: Click on the option that says Format only cells that contain. This is usually the second option from the bottom.
- Configure the Rule: In the lower section of the window, you will see a description area. Change the first dropdown (which usually says "Cell Value") to Blanks.
- Set the Format: Click the Format... button. A new window will appear. Go to the Fill tab and select the color you want (e.g., bright yellow or red) to make the blank cells stand out. Click OK.
- Apply the Rule: Click OK again on the New Formatting Rule window. All blank cells in your selected range will now be highlighted.
Method 2: Manual Highlighting with Go To Special
Use this method if you want to quickly find all current blanks, fill them with a specific value, or color them once without the formatting changing later.
- Select your data range: Highlight the specific columns or rows you wish to audit.
- Open the Go To dialog: Press the
F5key on your keyboard, or pressCtrl + G. Alternatively, go to the Home tab, click Find & Select (far right of the ribbon), and choose Go To.... - Access Special: In the Go To dialog box, click the Special... button located at the bottom left.
- Select Blanks: In the Go To Special window, select the radio button for Blanks. Click OK. Excel will now have every empty cell within your selection highlighted (selected), while cells with data remain unselected.
- Apply Color: Without clicking anywhere else (which would deselect the cells), go to the Home tab and click the Fill Color (paint bucket) icon in the Font group. Choose your desired color.
- Deselect: Click any single cell to remove the selection. Your blank cells are now permanently colored.
Common Mistakes
One of the most frequent errors users encounter is the "Pseudo-Blank" cell. This happens when a cell looks empty but actually contains a formula that returns an empty string ("") or contains invisible characters like a single space. Because these cells technically contain a formula or a character, Excel does not recognize them as "Blanks." In these cases, the Go To Special method will ignore them entirely, and the Conditional Formatting "Blanks" rule will not trigger.
Another common mistake is selecting the entire worksheet (all 17 billion cells) when using Go To Special. If your sheet is very large, attempting to select every blank cell in the entire workbook can cause Excel to freeze or crash because it is trying to manage millions of individual selections. It is always better to select only the specific columns or the active data range where you expect missing information.
Users also often forget to check for hidden rows or columns. If you have hidden data, the highlighting will still occur, but you won't see it until you unhide the rows/columns. This can lead to confusion when you see a "Conditional Formatting" rule active but cannot see the colored cells on your screen.
Tips
Filling Blanks Quickly: If you used the Go To Special method to select all blanks, you can fill them all with a value (like "N/A" or "0") instantly. While the blanks are still selected, type the value you want, then press Ctrl + Enter. This pushes that value into every selected blank cell simultaneously, saving you from manual entry.
Using a Custom Formula for "Pseudo-Blanks": If your blanks are actually formulas returning "", use a custom formula in Conditional Formatting. Instead of selecting "Blanks," choose Use a formula to determine which cells to format and enter =LEN(TRIM(A1))=0 (replacing A1 with the top-left cell of your selection). This identifies cells that are truly empty OR contain only spaces.
Managing Multiple Rules: If you have several formatting rules, they can conflict. Go to Conditional Formatting > Manage Rules to see the order of priority. You can check the Stop If True box to prevent other rules from overriding your blank cell highlights.
Troubleshooting
If the cells are not highlighting: First, check if the cells actually contain a space character. Click into a blank cell and press Backspace or Delete; if the color suddenly appears, the cell wasn't actually blank. To fix this for a whole column, use the Find and Replace tool (Ctrl + H), leave "Find what" as a single space, and leave "Replace with" completely empty.
If Excel freezes during "Go To Special": This usually means your selection area is too large. Instead of selecting the whole sheet, select only the columns that contain your data. If the file is still sluggish, try turning off Automatic Calculations (Formulas tab > Calculation Options > Manual) before running the command.
If the color doesn't change when you delete data: This happens if you used the Go To Special method, which is a one-time action. To make the highlighting react to changes in real-time, you must use the Conditional Formatting method described in Method 1.
If the formatting is applied to the wrong cells: This usually occurs when the "Applies to" range in the Conditional Formatting Manager has shifted. Go to Conditional Formatting > Manage Rules and verify that the range in the "Applies to" field matches your actual data range (e.g., =$A$2:$G$500).
Frequently Asked Questions
Can I highlight blank cells across multiple worksheets at once?
No, Excel's Conditional Formatting and Go To Special tools only work on the active sheet. You must apply the formatting to each sheet individually or use a VBA macro to loop through all sheets.
Will highlighting blank cells affect my printout?
Yes, any fill color applied via Conditional Formatting or manual fill will appear when printing. If you only want the highlights for auditing, remember to clear the formatting before printing.
Is there a way to count the blank cells after highlighting them?
Yes, you can use the =COUNTBLANK(range) formula to get a numerical count of all empty cells in a specific area, regardless of whether they are highlighted.
Does this work in Excel for the Web (Browser version)?
Conditional Formatting works in the web version, but the Go To Special feature is limited or unavailable in some browser versions. Use Conditional Formatting for the most consistent experience across platforms.
Can I use a different color for different types of blanks?
Not with a single "Blanks" rule. However, you can create multiple Conditional Formatting rules. For example, one rule for truly blank cells and another rule using a formula to highlight cells that contain only a zero.
How do I remove the highlighting once I'm done?
For manual highlights, select the range and set the Fill Color to No Fill. For Conditional Formatting, go to Conditional Formatting > Clear Rules > Clear Rules from Selected Cells.