提示:其它语言是由 Google 机器翻译的。 你可以访问 English 版本。
登录
x
or
x
x
马上登记
x

or

如何在Excel中的单元格中创建或插入下拉列表?

您可以通过使用帮助自己或他人在工作表中更有效地工作以进行数据输入 下拉列表。 使用下拉列表,您可以快速从列表中选择项目,而不是手动键入自己的值。 在本教程的开头,让我们看看如何使用演示在工作表中创建下拉列表。

我们还提供了在Excel中创建下拉列表的详细步骤,如下所示。


在Excel单元格中创建下拉列表

1。 首先,您需要创建一个列表,其中包含您将在下拉列表中显示的数据。

小技巧:在许多情况下,您可能需要添加新数据或从列表中删除数据。 要使用新数据自动更新下拉列表,您需要将源列表转换为表。
  • 请选择整个列表,然后按 按Ctrl + T 键,然后单击 OK创建表 对话。

2。 选择放置下拉列表的位置。

3。 点击 数据 > 数据验证。 见截图:

4。 在弹出 数据验证 对话框,请执行以下操作:

  • 在下面 设置 标签,选择 名单 来自 下拉列表;
  • 点击 来源 框,然后选择您在步骤1中创建的数据;

提示建议:

  • 如果数据列表尚未转换为表格,并且您仍希望在添加或删除列表中的数据时使用新数据更新下拉列表,请直接在以下公式中键入以下公式: 来源 箱:
    = OFFSET(Sheet2 $ A $ 2,0,0,COUNTA(Sheet2 $ A:!$ A),1)
    就我而言, Sheet2!$ A $ 2 表示数据列表的第一个单元格(不包括标题单元格),和 !Sheet2 $ A:$ A 表示位于A列的数据列表。您可以根据数据的位置更改它们。 您可以 点击了解更多关于 OFFSET功能.
  • 您也可以手动输入项目 来源 框并将它们分开 逗号。 看截图:

5。 去 输入信息。 选项卡,填写 头衔 盒子和 输入 如果要在选择下拉列表单元格时显示输入消息,请使用消息框。

6。 继续点击 错误警报 选项卡,填写 头衔 盒子和 错误信息 框。

7。 点击 OK 完成整个设置。 现在创建下拉列表。

备注:

1。 只有在选中单元格时,才会显示下拉箭头。
2。 当无效数据输入下拉列表单元格时,将弹出错误警报,并显示特定的标题和错误消息。

更多下拉列表操作:


Kutools for Excel解决了您的大多数问题,并使您的生产率提高了80%

  • 重用: 快速插入 复杂的公式,图表 以及你以前用过的任何东西; 加密单元格 密码; 创建邮件列表 并发送电子邮件...
  • 超级方程式酒吧 (轻松编辑多行文字和公式); 阅读布局 (轻松读取和编辑大量单元格); 粘贴到过滤范围...
  • 合并单元格/行/列 不丢失数据; 分裂细胞含量; 组合重复的行/列...防止重复的细胞; 比较范围...
  • 选择复制或唯一 行; 选择空行 (所有细胞都是空的); 超级查找和模糊查找 在许多工作簿中; 随机选择......
  • 精确复制 多个单元格而不更改公式参考; 自动创建参考 多张表; 插入项目符号,复选框等等......
  • 提取文本,添加文本,按位置删除, 删除空间; 创建和打印分页小计; 在单元格内容和注释之间转换...
  • 超级过滤器 (将过滤方案保存并应用到其他工作表); 高级排序 按月/周/日,频率等; 特殊过滤器 用粗体,斜体......
  • 结合工作簿和工作表; 根据键列合并表; 将数据拆分为多个表格; 批量转换xls,xlsx和PDF...
  • 超过300强大的功能。 支持Office / Excel 2007-2019和365。 支持所有语言。 在您的企业或组织中轻松部署。 全功能30天免费试用。
kte tab 201905

Office选项卡为Office提供选项卡式界面,使您的工作更轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,Publisher,Access,Visio和Project。
  • 在同一窗口的新选项卡中打开并创建多个文档,而不是在新窗口中。
  • 通过50%提高您的工作效率,每天为您减少数百次鼠标点击!
官方底部
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.
  • To post as a guest, your comment is unpublished.
    KAMBALE JEAN DE DIEU · 2 months ago
    Highly appreciate the page. Great!
  • To post as a guest, your comment is unpublished.
    Tom · 3 years ago
    Perfect! Simple screen shots made building the drop down easy.
  • To post as a guest, your comment is unpublished.
    Jules · 4 years ago
    I was able to follow these steps and create a drop down list, however, when I save and exit, the next time I open the spreadsheet the drop down list is no longer there. How do I get it to save?
  • To post as a guest, your comment is unpublished.
    Sunil · 4 years ago
    That's good example.... :P
  • To post as a guest, your comment is unpublished.
    Accountant · 4 years ago
    How do I create a drop downlist with a Description that is different than my returned value?

    For Example: Description in List is - "ABG Interests"
    But I only want to return - "ABG" to the Cell

    Thanks
  • To post as a guest, your comment is unpublished.
    Laura Lee · 5 years ago
    After I have created my drop down box with a description of different types of equipment, can I have in another column (a rate for each piece of equipment) automatically generate. If so can you please let me know how to do this.
  • To post as a guest, your comment is unpublished.
    Swanlake · 5 years ago
    Great thanks! Now I'm looking to add a macro (linked to button)depending on the selection of the item on the menu...does anyone know what the syntax is for the drop down menu items?
  • To post as a guest, your comment is unpublished.
    Stark · 5 years ago
    Thank you :)it helped a lot
  • To post as a guest, your comment is unpublished.
    danny · 5 years ago
    I am most grateful, thanks
  • To post as a guest, your comment is unpublished.
    Abegga · 5 years ago
    Generous!!! Thanks a lot!
  • To post as a guest, your comment is unpublished.
    Kakaire Charles · 5 years ago
    Just too wonderful-as simple as it is. I am excited!!! Thanx a lot.
  • To post as a guest, your comment is unpublished.
    Amy · 5 years ago
    Any way to make this work on both 2013 and 2007?

    I created an excel file on my 2013 laptop and need to use the file on my 2007 desktop at work. How do I set it up so it works seamlessly on both?

    Thanks,
    Amy
  • To post as a guest, your comment is unpublished.
    Amy · 5 years ago
    When I did this in my 2013 version (the one on my laptop) it worked, but when I brought it into the office (office computer using 2007), it did not work. Any help on how to make it work on both seamlessly?
  • To post as a guest, your comment is unpublished.
    Christine M · 5 years ago
    Thanks! This was what I needed, as well. Steps were very simple.
  • To post as a guest, your comment is unpublished.
    Web Guy · 5 years ago
    Thanks for this informative post, just what I was looking for :lol: