Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to create drop down list ignore blank cells in Excel?

Let’s say you have a list of values with several blank cells are populated, when you create a data validation drop-down list with this data list, you will find the blank cells are added into the drop-down list even you have checked the Ignore Blank option while creating it. Actually, there is no direct method for you to create drop-down list without the blank cells. In this tutorial, we will provide you a trick with separating the values and blank cells based on the original data, and finally creating a drop-down list for the extracting data.

Create drop down list ignore blank cells in Excel

Easily fill all blank cells with certain value in Excel

Click Kutools > Insert > Fill Blank Cells. Kutools for Excel's Fill Balnk Cells utility helps you not only fill all blank cells with certain value, but fill balnk cells based on the above value as you need. See screenshot:

Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 60 days. Read More      Download the free trial now

Excel Productivity Tools

Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial

Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately. 60-day Unlimited Free Trial

Create drop down list ignore blank cells in Excel

For example you have below data in a range B2:B13, for creating drop down list without blank cells, first, you can copy and paste the data into a new column without blanks. And then create a drop down list based on this new value list.

1. Apply the following formula to copy and paste only the non-blank cell values, please enter this formula: =LOOKUP("zzzzz",CHOOSE({1,2},"",INDEX(B:B,SMALL(IF($B$1:$B$13<>"",ROW($B$1:$B$13)),ROWS($D$1:D1))))) into a blank cell D1 for example, and then press Ctrl + Shift + Enter keys together to get the following result:

Note: In the above formula, B1:B13 is the data list that you want to use. You can change the cell reference to your need.

2. Then select the cell D1, and drag the fill handle down to the range that you want to contain this formula, and all the non-blank cell values have been extracted. See screenshot:

3. Now create you data validation drop down list with this new data list. Select the cells you want to locate the drop down list, then click Data > Data Validation.

4. In the Data Validation dialog box, you need to:

1). Go to the Settings tab, and select List in the Allow drop-down list;

2). Select the cell range with values which you have extracted above in the Source box;

3). Click the OK button. See screenshot:

5. Then the drop-down lists are created immediately without blanks.

Related articles:

Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for you.

  • Designed for 1500+ work scenarios, helps you solve 80% Excel problems.
  • Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  • Being used by 110,000 elites and 300+ well-known companies.

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.