How to Use ISBLANK Function for Conditional Formatting in Excel

In a large dataset with numerous entries, there may be many blank cells. You may need to identify those empty cells. We can use the ISBLANK function to find blank cells in our dataset and conditional formatting to highlight them.

Overview of Using ISBLANK function for Conditional Formatting in Excel


How to Use the ISBLANK Function for Conditional Formatting in Excel: 3 Suitable Methods


Method 1 – Using the ISBLANK Function for Conditional Formatting in a Single Cell

Steps:

  • Select the cell where you want to apply the function. We are selecting the blank cell D5.

Selecting a Particular Cell to Apply the ISBLANK Function for Conditional Formatting

  • Select the Home tab.

Selecting Home Tab

  • Go to Conditional Formatting and choose New Rule.

Selecting the New Rule Command from Conditional Formatting Group

  • From the New Formatting Rule dialog box, click on Use a formula to determine which cells to format.

Selecting a Rule Type to Apply the ISBLANK Function for Conditional Formatting

  • Use the following formula in the formula box:
=ISBLANK(D5)
  • Click on Format.

Clicking on Format Button

  • You will get different options to highlight the cell. If you want to fill the cell with any specific color, click on Fill, then select any color of your choice.
  • Click OK.

Selecting a Color to Highlight the Cells

  • The New Formatting Rule dialog box will appear again. Click OK to apply the formatting to the selected cell.

Pressing OK to Apply the ISBLANK Function for Conditional Formatting

  • Here’s the result. The cell is blank so it got filled with color.

Using the ISBLANK Function for Conditional Formatting in A Single Cell

  • If you put any value into the cell and press the Enter key, the cell will lose its formatting.

Using the ISBLANK Function for Conditional Formatting in A Single Blank Cell

Read More: How to Use SUMIF and ISBLANK to Sum for Blank Cells in Excel


Method 2 – Applying the ISBLANK Function for Conditional Formatting in Multiple Cells

Case 2.1 – Using the Manage Rules Command for Conditional Formatting

Steps:

  • Follow Method 1 to highlight a single cell with the ISBLANK function.

Using the ISBLANK Function for Conditional Formatting in A Single Blank Cell

  • Go to Conditional Formatting and click on Manage Rules.

Selecting the Manage Rules Command from Conditional Formatting Group

  • From the menu bar, select This Worksheet.

Selecting the Worksheet to Apply the ISBLANK Function for Conditional Formatting

  • Select the up-arrow sign next to the range bar for the rule already in place.

Selecting the Up Arrow Sign to Change the Range

  • Select the new range where you want the rule to apply, such as cells D5:F9.

Selecting the Range of Dataset to Apply the ISBLANK Function for Conditional Formatting

  • Click on the down arrow sign at the end of the range bar.

Applying the Formula to the Chosen Range

  • Click on Apply.

Applying the ISBLANK Function for Conditional Formatting in a Newly Selected Range

  • Press OK.

Applying the ISBLANK Function in a Newly Selected Range

  • All the empty cells in the specified range will be filled with your chosen color.

Using Manage Rules Command to Apply the ISBLANK Function for Conditional Formatting in Multiple Cells

Case 2.2 – Selecting a Range of Data

Steps: 

  • Select the range of cells where you want to apply the function. We are selecting cells D5:F9.

Selecting the Range of Cells to Apply the ISBLANK Function for Conditional Formatting

  • Select the Home tab.

Selecting Home Tab

  • Go to Conditional Formatting and open New Rule.

Selecting the New Rule Command from Conditional Formatting Group

  • From the New Formatting Rule dialog box, click on Use a formula to determine which cells to format.

Selecting a Rule Type to Apply the ISBLANK Function for Conditional Formatting

  • Use the following formula in the formula box.
=ISBLANK(D5:F9)
  • Click on Format.

Clicking on the Format Button

  • Choose your highlighting color or pattern in the Fill tab and click OK.

Selecting a Color to Highlight the Cells

  • The New Formatting Rule dialog box will appear again. Click on OK.

Pressing OK to Apply the ISBLANK Function for Conditional Formatting

  • Here are the results.

Using the ISBLANK Function for Conditional Formatting in Multiple Cells

Read More: How to Use ISBLANK Function to Check If Cell Is Blank in Excel


Method 3 – Combining ISBLANK and OR Functions for Conditional Formatting in Excel

In the data set, there are students who have not received their grades in all subjects. If there is even one empty cell in any of the fields (English, Physics, and Chemistry), the oversight is noted in Missing Data. We’ll use the column to display a blank value if at least one of the scores is missing, then highlight those cells.

Steps:

  • Select the range where you want to apply Conditional Formatting. We are selecting G5:G9.

Selecting the Range of Cells to Apply ISBLANK and OR Functions for Conditional Formatting

  • Select the Home tab.

Selecting Home Tab

  • Go to Conditional Formatting and select New Rule.

Selecting the New Rule Command from Conditional Formatting Group

  • From the New Formatting Rule dialog box, click on Use a formula to determine which cells to format.

Selecting a Rule Type to Apply ISBLANK and OR Functions for Conditional Formatting

  • Use the following formula into the formula box:
=OR(ISBLANK(D5),ISBLANK(E5),ISBLANK(F5))
Inserting a Formula Combining ISBLANK and OR Functions

  • Press Format.

Clicking on the Format Button

  • Click on Fill, select any color of your choice, and press OK.

Selecting a Color to Highlight the Cells

  • The dialog box will appear again. Click on OK.

Pressing OK to Apply ISBLANK and OR Functions for Conditional Formatting

  • If any data is missing in the subject fields, the corresponding cell in the Missing Data field will turn into your chosen color.

Combining ISBLANK and OR Functions for Conditional Formatting


Nesting ISBLANK, NOT, and AND Functions to Ignore Blank Cells with Conditional Formatting

Steps:

  • Select the range where you want to apply Conditional Formatting. We put D5:D9.

Selecting the Range of Cells to Apply ISBLANK and NOT Functions for Conditional Formatting

  • Select the Home tab.

Selecting Home Tab

  • Go to Conditional Formatting and select New Rule.

Selecting the New Rule Command from Conditional Formatting Group

  • In the New Formatting Rule dialog box, click on Use a formula to determine which cells to format.

Selecting a Rule Type to Apply ISBLANK and NOT Functions for Conditional Formatting

  • Use the following formula in the formula box:
=NOT(ISBLANK(D5:D9))
Inserting a Formula Combining ISBLANK and NOT Functions

  • Press Format.

Clicking on the Format Button

  • Click on Fill and select any color of your choice, then press OK.

Selecting a Color to Highlight the Cells

  • The dialog box will appear again. Click on OK.

Pressing OK to Apply ISBLANK and NOT Functions for Conditional Formatting

  • You will see that the non-empty cells will be highlighted.

Combining ISBLANK and NOT Functions for Conditional Formatting

We can also highlight cells with specific criteria and ignore empty cells from the range. Let’s highlight those values that are lower than 75 from column F. If we were to only check the value of the cell, blank cells would be implicitly converted to 0 and highlighted. We can use the NOT and ISBLANK functions to get around that.

Steps:

  • Select the range where you want to apply Conditional Formatting. We are selecting F5:F9.

Selecting the Range of Cells to Apply ISBLANK, NOT and AND Functions for Conditional

  • Select the Home tab.

Selecting Home Tab

  • Go to Conditional Formatting and choose New Rule.

Selecting the New Rule Command from Conditional Formatting Group

  • In the New Formatting Rule dialog box, click on Use a formula to determine which cells to format.

Selecting a Rule Type to Apply ISBLANK, NOT and AND Functions for Conditional Formatting

  • Insert the following formula into the formula box:
=AND(NOT(ISBLANK($F5)), $F5<75)
Inserting a Formula Nesting ISBLANK, NOT and AND Functions

  • Press Format.

Clicking on the Format Button

  • Click on Fill and select any color of your choice, then press OK.

Selecting a Color to Highlight the Cells

  • The Formatting dialog box will appear again. Click on OK.

Pressing OK to Apply ISBLANK, NOT and AND Functions for Conditional Formatting

  • Here are the results.

Nesting ISBLANK, NOT and AND Functions for Conditional Formatting


Download the Practice Workbook


Related Articles


<< Go Back to Excel ISBLANK Function | Excel Functions | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Md. Abu Sina Ibne Albaruni
Md. Abu Sina Ibne Albaruni

Md. Abu Sina Ibne Albaruni holds a BSc in Mechanical Engineering from Bangladesh University of Engineering and Technology. He is a dedicated employee of the ExcelDemy project. He has written quite a large number of articles for ExcelDemy. Besides, he has expertise in VBA. He efficiently automates Excel issues using VBA macros and actively engages in the ExcelDemy forum, offering valuable solutions for user interface challenges. His areas of interest in work and study span MATLAB, Machine Learning,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo