How to Check If a Cell Is Empty in Excel Program?

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
Just a few clicks on the keyboard using the right Excel function can save you hours of time.

In large complex spreadsheets, locating empty cells requires more than a glance. There are many methods available to make the task of identifying empty cells easier. They include the three function methods called ISBLANK, LEN and IF.

Advertisement

The ISBLANK function returns the logical value of TRUE if the cell is empty. The LEN function returns a value containing the number of characters in a string or the number of bytes required to store a variable in a cell. If a cell is blank, that value will be zero according to Microsoft. You can use the IF function with empty quotes ("") to test for empty cells.

Video of the Day

Advertisement

Video of the Day

To clarify the formula examples, "B2" represents the cell containing the data you want to test. "E2" represents the cell in which you enter the formula. Use the values of your data in place of these cell addresses. To keep your formulas simple, If your headers are on a row, the row numbers should match, if your headers are on a column, the column letters should match.

Advertisement

ISBLANK Function

Step 1

Open the Excel worksheet with the data you want to check.

Step 2

Enter an appropriate header in the first empty column.

Advertisement

Step 3

Input "=isblank(B2)" on the row corresponding to the first data you want to check and press "Enter." This formula says, "Cell B2 is empty." If that statement is true, it returns a value of "TRUE." Otherwise, it returns a value of "FALSE."

Step 4

Copy the cell containing the formula. Select all the cells corresponding to the data you want to check. Paste the formula.

Advertisement

Advertisement

Step 5

Select the "Data" tab on the menu and select the "Filter" button.

Step 6

Click the filter arrow at the top of the column containing the formula. Select "TRUE" to see the rows or columns with empty cells.

Advertisement

LEN Function

Step 1

Open the Excel worksheet you want to check.

Step 2

Enter an appropriate header in the first empty column.

Advertisement

Step 3

Input—on the row corresponding to the first data you want to check—the following:

=if(LEN(B2)<1, "EMPTY", "NOT EMPTY")

Press "Enter."

Advertisement

This formula says:

If the value of LEN is less than 1 (O), then input "EMPTY," if the value of LEN is not less than 1(O) then input "NOT EMPTY."

Advertisement

Step 4

Copy the cell containing the formula. Select all the cells corresponding to the data you want to check. Paste the formula.

Advertisement

Step 5

Select the "Data" tab on the menu and select the "Filter" button.

Step 6

Click the filter arrow at the top of the column containing the formula. Select "TRUE" to see the rows or columns with empty cells.

Advertisement

IF Function

Step 1

Open the Excel worksheet you want to check.

Step 2

Enter an appropriate header in the first empty column.

Step 3

Input—on the row corresponding to the first data you want to check—the following:

=if(B2="", "EMPTY", "NOT EMPTY")

Press "Enter."

Step 4

Copy the cell containing the formula. Select all the cells corresponding to the data you want to check. Paste the formula.

Step 5

Select the "Data" tab on the menu and select the "Filter" button.

Step 6

Click the filter arrow at the top of the column containing the formula. Select "TRUE" to see the rows or columns with empty cells.

Advertisement

Advertisement

references & resources

Report an Issue

screenshot of the current page

Screenshot loading...