How to Create Drop Down List with Blank Cells Ignored in Excel

When we setting up a data validation drop-down list, if the data in the list has blank cells, the blank cells will also appear in the drop-down list. There’s no better way to avoid blank them when creating a drop-down list, so we can just remove the blank cells from the list first and then re-establish the drop-down list. You can follow below steps in this article to create drop-down list excluding blank cells.

Prepare a table with Fruit Classification. And in this Fruit column, there are some blank cells.

Create Drop Down List with Blank Cells Ignored 1

If you create dropdown list with this column, even ignore blank option is checked when creating data validation, the blank cell still displays in dropdown list. So we need to remove the blank cells from the list.

Create Drop Down List with Blank Cells Ignored 2

Create Drop Down List Ignore Blank Cells in Excel


Step 1: As we mentioned above, first we need to copy the column to another column and remove the blank cells included in this list. To copy and paste the list in another column we need to use some functions combination. In cell C1, enter the formula =LOOKUP(“xxxxx”,CHOOSE({1,2},””,INDEX(A:A,SMALL(IF($A$1:$A$10<>””,ROW($A$1:$A$10)),ROWS($C$1:C1))))), then press Ctrl + Shift + Enter.

Create Drop Down List with Blank Cells Ignored 3

Step 2: Select C1, drag the fill handle down to fill the cells till all data is displayed in C column. Verify that blank cells are removed from the new list.

Create Drop Down List with Blank Cells Ignored 4

Step 3: Create drop-down list with the new list. Select C1, then click Data->Data Validation->Data Validation.

Create Drop Down List with Blank Cells Ignored 5

Step 4: In Data Validation window, under Settings tab, select List in Allow drop-down list.

Create Drop Down List with Blank Cells Ignored 6

Step 5: Then in Source field, you can enter the range of list =$C$2:$C$7, or you can click the arrow button and select the range of C2:C7 on worksheet directly. Then the source field is filled with the selected data.

Create Drop Down List with Blank Cells Ignored 7

Step 6: Click OK and quit Data Validation. Verify that drop-down list with fruits is created properly. Click the dropdown list arrow, you can select fruit from the list.

Create Drop Down List with Blank Cells Ignored 8

 

Related Posts

Match Single Criteria in Excel

No repeat statistic based on a single condition is used wildly in daily work, for example, count type of products, the duplicate types are not encountered. This article describes the way of no repeats statistics for data in a single ...

Excel Array Construction

This article will talk about how to create one-dimensional array or two-dimensional array by using some functions in Excel. When using array formulas in Excel, we often use functions to construct arrays. Generate Array with ROW or COLUMN Functions Array ...

Excel Array Operation

We have all heard of arrays. Depending on the dimensionality, they are divided into one-dimensional arrays and two-dimensional arrays. Depending on the data type, they can also be divided into numeric arrays, logical arrays, and so on. The concatenation and ...

Excel Array Matrix Operation

In Excel, we have a built-in function used to perform matrix operations. It is the MMULT function. This function accepts two arrays as parameters and returns the product of the two arrays. However, this function has a prerequisite that the ...

A1 Reference Style and R1C2 Reference in Excel

In Excel, there are two reference styles. A1 reference style and R1C2 reference style. These two reference styles can help us find the cell by the cell address. Some functions return these two addresses through the argument settings. A1 Reference ...

Sidebar