How to create a drop-down list in Excel? [closed]

大憨熊 提交于 2019-12-02 02:41:43

问题


I have a column of values in Excel, like this :

How do I turn this into a drop-down list, such at each row in the column will have that drop-down list (with dog, cat , fish, bat , toad. .. all inside )

thanks !


回答1:


You do that with list validation in the "Data" ribbon.

See here




回答2:


First step is to make a list of the items you want to see in the drop-down, but anywhere in your spreadhseet , like so:

Then the next step is to click the "Data Validation" button in the ribbon :

Ok, step 3 is to click "Setitngs" in the "Data Valid" menu , and choose "List" from drop-drown:

Step 4 is to click on that little blue icon in the "List" sub-menu :

The next step is to simply highlight the Cells you needs.

Finished now. Here is dropdown :




回答3:


You have to use the data validation command in the data tools group on the data tab and then select a list and enter a reference to your list (assign it to a name range for simplicity).

Follow this link for complete steps.




回答4:


To do that, you should use Data Validation as described in Amit answer or in this page (except that for the seventh point, which I used for my case in Excel 2010, I replaced the ',' with ';')




回答5:


Create a hidden drop down list in excel using the Excel data validation options.

  1. Create a list of choice. This option of choice will be appear in drop down list.
    (I used 4 option of choice from A1 to A4, user can increase as per their demand)

  2. Select the cell/cells in a column where user wants to appear the drop-down list. I selected the cells in a column D from D1 to D10

  3. Go to Data -> Data Validation page

  1. On Settings page
    A. In Allow field, select the option 'List'.
    B. Ensure Ignore blank & In-cell dropdown option is ticked/selected.
    C. In the Source field, select/enter the range of cells where your original list of choice or your original list of options is present;
    (here in my case, it’s . $A$1:$A$4)

    If you prefer, you can enter this range using the mouse, by clicking on the symbol at the right of the Source field and then selecting the required range of cells with the mouse.

    D. Click OK.

  1. Once done, select any cell in column D, from D1 to D10. Your drop-down menu should appear containing your list of choice values.

Now, if you want to hide the column that contains the original list. Right click on column and select Hide

Un-Hidding it, by simply typing A1 in the Name Box next to the formula bar.

Reference:
1. http://www.excelfunctions.net/Excel-Drop-Down-List.html
2. https://support.office.com/en-us/article/Show-or-hide-columns-and-rows-659c2cad-802e-44ee-a614-dde8443579f8



来源:https://stackoverflow.com/questions/31278806/how-to-create-a-drop-down-list-in-excel

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!