banner



How To Create A Drop Down List Excel 2007

How to create a searchable drop down list in Excel?

For a drop down list with numerous values, finding a proper one is not an easy work. Previously we have introduced a method of auto completing drop down list when enter the first letter into the drop down box. Besides the autocomplete function, you can also make the drop down list searchable for enhancing the working efficiency in finding proper values in the drop down list. For making drop down list searchable, please do as below tutorial shows step by step.

Create a searchable drop down list in Excel
Easily create a searchable drop down list with an amazing tool

More tutorials for drop down list...


Create a searchable drop down list in Excel

For example, the source data you need for the drop down list is in range A2:A9.

This method requires Combo box instead of data validation drop down list. For creating searchable drop down list, please do as follows.

1. If you cannot find the Developer tab in the ribbon, please enable the Developer tab as follows.

1). In Excel 2010 and 2013, click File > Options. And in the Options dialog box, click Customize Ribbon in the right pane, check the Developer box, then click the OK button. See screenshot:

2). In Outlook 2007, click Office button > Excel Options. In the Excel Options dialog box, click Popular in the right bar, then check the Show Developer tab in the Ribbon box, and finally click the OK button.

2. After showing the Developer tab, please click Developer > Insert > Combo box. See screenshot:

3. Draw the Combo box in the worksheet and right click it. Select Properties from the right-clicking menu.

4. In the Properties dialog box, you need to:

1). Select False in the AutoWordSelect field;

2). Specify a cell in the LinkedCell field. In this case, we enter A12;

3). Select 2-fmMatchEntryNone in the MatchEntry field;

4). Type DropDownList into the ListFillRange field;

5). Close the Properties dialog box. See screenshot:

5. Now close the design mode with clicking Developer > Design Mode.

6. Select a blank cell C2, enter the below formula into it and press Enter key. They drag it down to cell C9 to auto fill the selected cells with same formula. See screenshot:

=--ISNUMBER(IFERROR(SEARCH($A$12,A2,1),""))

Notes:

1. The $A$12 is the cell you have specified in the LinkedCell field in step 4;

2. After finishing the above step, you can now test it. Enter a letter C into the drop down box, you will see all cells containing C are filled with number 1.

7. Select the cell D2, enter the below formula into it, and press Enter key. Then drag the Fill Handle in the D2 down to D9 to fill the range D3:D9.

=IF(C2=1,COUNTIF($C$2:C2,1),"")

8. Select cell E2, enter the below Formula into it and press Enter key. Then drag the Fill Handle in E2 down to E9 to fill the cells. Then you will see the cells are filled as below screenshot shows.

=IFERROR(INDEX($A$2:$A$9,MATCH(ROWS($D$2:D2),$D$2:$D$9,0)),"")

9. Now you need to create a name range. Please click Formula > Define Name.

10. In the New Name dialog box, type DropDownList into Name box, type the below formula into the Refers to box, then click the OK button.

=$E$2:INDEX($E$2:$E$9,MAX($D$2:$D$9),1)

11. Now, enable the design mode by clicking Developer > Design Mode. Then double click the Combo box you created in step 3 to open the Microsoft Visual Basic for Applications window.

12. Copy and paste the below VBA code into the Code editor.

VBA code: make drop down list searchable

Private Sub ComboBox1_GotFocus() 	ComboBox1.ListFillRange = "DropDownList" 	Me.ComboBox1.DropDown End Sub

13. Close the Microsoft Visual Basic for Applications window.

From now on, when you start typing in the list box, it will start ambiguous searching and just list the relevant values in the drop down list.

Note: After closing and reopening the worksheet, the VBA code you have created in step 12 is removed automatically. So, you need to save this workbook as Excel Macro-Enabled Workbook format.


Easily create a searchable drop down list with an amazing tool

It seems that the above method is not easy to handle. Here recommend a handy feature - Searchable drop-down List of Kutools for Excel to help easily create a searchable drop-down list in Excel.

Before applying Kutools for Excel, please download and install it firstly.

Please do as follows to create a searchable drop-down list with the Searchable drop-down List feature.

1. Click Kutools > Drop-down List > Searchable Drop-down List > Enable Searchable Drop-down List.

2. In the opening Kutools for Excel dialog box (this dialog only pops up when applying this feature at the first time), click the Yes button.

3. Then in the Searchable Drop-down List dialog box, you need to configure as follows.

3.1) In the Apply to section, you can specify the range scope for applying this feature:

A : Specified Range(s): Support one or more drop-down list ranges;

B : Specified Scope: Support Current worksheet, Current workbook or All workbooks.

3.2) In the Options section, there are two options, you can choose one of them, both of them or none of them as you need:

A : Matches only the beginning of the word: If this option is checked, only the items that begin with the typed character are displayed, meanwhile, the first displayed item will be autocompleted; If this option is unchecked, items that contain the typed character will be displayed;

B : Case sensitive: If this option is checked, only the items match the case of the typed character are displayed; If this option is unchecked, items contain the typed character will be displayed without case sensitive.

3.3) Click OK.

Note: You can click Kutools > Drop-down List > Searchable Drop-down List > Settings to open this Searchable Drop-down List dialog box.

Now the searchable drop down list are created. When clicking a drop down list cell, a list box will pop up with all drop-down items listing inside, type in a character, the corresponding items will be searched out at once, you can click the needed item to insert into the cell.

Click to know more about this feature.

  If you want to have a free trial ( 30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Related articles:

Autocomplete when typing in Excel drop down list
If you have a data validation drop down list with large values, you need to scroll down in the list just for finding the proper one, or type the whole word into the list box directly. If there is method for allowing to auto complete when typing the first letter in the drop down list, everything will become easier. This tutorial provides the method to solve the problem.

Create drop down list from another workbook in Excel
It is quite easy to create a data validation drop down list among worksheets within a workbook. But if the list data you need for the data validation locates in another workbook, what would you do? In this tutorial, you will learn how to create a drop fown list from another workbook in Excel in details.

Create a searchable drop down list in Excel
For a drop down list with numerous values, finding a proper one is not an easy work. Previously we have introduced a method of auto completing drop down list when enter the first letter into the drop down box. Besides the autocomplete function, you can also make the drop down list searchable for enhancing the working efficiency in finding proper values in the drop down list. For making drop down list searchable, try the method in this tutorial.

Auto populate other cells when selecting values in Excel drop down list
Let's say you have created a drop down list based on the values in cell range B8:B14. When you selecting any value in the drop down list, you want the corresponding values in cell range C8:C14 be automatically populated in a selected cell. For solving the problem, the methods in this tutorial will do you a favor.

More tutorial for drop down list...


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts  and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.

kte tab 201905


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint , Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!

officetab bottom

How To Create A Drop Down List Excel 2007

Source: https://www.extendoffice.com/documents/excel/2439-excel-drop-down-list-search.html

Posted by: hoffmanvalinarts.blogspot.com

0 Response to "How To Create A Drop Down List Excel 2007"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel