跳到主要内容

在Excel下拉列表中选择值时如何自动填充其他单元格?

假设您已根据范围 A2:A8 中的值创建了一个下拉列表。您的目标是在从下拉列表中进行选择后,将 B2:B8 中的相关值自动填充到指定单元格中。例如,从列表中选择“Natalia”会自动将她的分数“40”填充到单元格 E2 中,如屏幕截图所示。本指南将引导您通过两种简单的方法来实现此功能。

下拉列表使用VLOOKUP功能自动填充
下拉列表自动使用了不起的工具进行填充
下拉列表的更多教程...


下拉列表使用VLOOKUP功能自动填充

在下拉列表中进行选择时,请执行以下操作以自动填充其他单元格。

  1. 选择要自动填充相应值的空白单元格。
  2. 将以下公式复制并粘贴到其中,然后按 输入 键。
    =VLOOKUP(D2,A2:B8,2,FALSE)
    备注:在公式, D2 代表带有下拉列表的单元格, A2:B8 定义包含查找值和所需结果的表范围,以及 2 指定结果位于表范围的第二列中。调整列号以匹配结果在范围内的位置,例如更改 23 对于第三列。根据需要调整这些参数以适合您的数据设置。
  3. 从现在开始,当您在下拉列表中选择一个名称时,E2 将自动填充特定的分数。

使用 Kutools for Excel 自动填充下拉列表

您可以根据下拉列表选择轻松填充其他值,而无需记住公式 在列表中查找值 的公式 Kutools for Excel.

申请前 Kutools for Excel首先下载并安装.

  1. 选择用于定位自动填充值的单元格(例如单元格 C10),然后单击 库工具 > 公式助手 > 公式助手,请参见屏幕截图:
  2. 公式助手 对话框中,指定参数如下:
    1. 选择一个公式 框,找到并选择 在列表中查找值;
      Tips:您可以检查 筛选器 框,在文本框中输入特定单词以快速过滤公式。
    2. 在 表格数组 框,单击 镜头查询值4 按钮选择包含查询值和结果值的表格范围;
    3. 在 外观值 框,单击 镜头查询值4 按钮以选择包含要搜索的值的单元格。 或者,您可以直接在此框中输入值;
    4. 在  框,单击 镜头查询值4 按钮指定要从中返回匹配值的列。 或者,您可以根据需要直接在文本框中输入列号。
    5. 点击 OK.

现在,将基于下拉列表选择在单元格C10中自动填充相应的单元格值。

  如果您想免费试用(30天)此实用程序, 请点击下载,然后按照上述步骤进行操作。


演示:下拉列表自动填充而无需记住公式


相关文章:

在Excel下拉列表中键入时自动完成
如果您有一个包含大值的数据验证下拉列表,则需要在列表中向下滚动以查找合适的列表,或直接在列表框中键入整个单词。 如果在下拉列表中键入第一个字母时有允许自动完成的方法,一切将变得更加容易。 本教程提供了解决问题的方法。

在Excel中从另一个工作簿创建下拉列表
在工作簿中的工作表之间创建数据验证下拉列表非常容易。 但是,如果数据验证所需的列表数据位于另一个工作簿中,您将怎么办? 在本教程中,您将详细了解如何从Excel中的另一个工作簿创建拖放列表。

在Excel中创建可搜索的下拉列表
对于具有众多价值的下拉列表,找到合适的价值并非易事。 以前,我们已经介绍了一种在下拉框中输入第一个字母时自动完成下拉列表的方法。 除了自动完成功能之外,您还可以使下拉列表可搜索,以提高在下拉列表中查找适当值时的工作效率。 为了使下拉列表可搜索,请尝试本教程中的方法。

如何在Excel中使用多个复选框创建下拉列表?
许多Excel用户倾向于创建带有多个复选框的下拉列表,以便每次都从列表中选择多个项目。 实际上,您无法使用数据验证功能创建带有多个复选框的列表。 在本教程中,我们将向您展示两种在Excel中创建带有多个复选框的下拉列表的方法。 本教程提供了解决问题的方法。

下拉列表的更多教程...

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


Office Tab 为 Office 带来选项卡式界面,让您的工作更加轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,发布者,Access,Visio和Project。
  • 在同一窗口的新选项卡中而不是在新窗口中打开并创建多个文档。
  • 每天将您的工作效率提高50%,并减少数百次鼠标单击!
Comments (29)
Rated 3.5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
I want to make a data base on excel, but I want it to be when I choose from the dropdown list the next column must change automatically.
How do I do that.
For example from the dropdown list I will choose, Medical and then the next column must give me a date and in the same row if I change from medical to something else that date must change as well.
Can you assist me or is it impossible.
This comment was minimized by the moderator on the site
Hi Yolanda,

The method provided in the article is the one that automatically changes the matching data based on the selection of the drop-down list. For clarity, please provide a screenshot of your data and the result you want to get.
This comment was minimized by the moderator on the site
Спасибо, но не работает Ваша формула. Я вчера мозг сломал себе весь!
Путем перебора и подстановок вышел вот к такой формуле:

=ВПР(A6;A12:B16;2;ЛОЖЬ)

!!ВОТ ЭТА ТОЧНО РАБОТАЕТ!!
This comment was minimized by the moderator on the site
هل تعمل الخاصية بعد حفظ الملف على جهاز اخر ؟؟
بمعنى هل يلزم وجود الاداة على الجهاز الاخر ؟
Rated 3.5 out of 5
This comment was minimized by the moderator on the site
Hi,
Formulas created by Kutools for Excel will remain after sending a workbook to someone else who does not have Kutools installed.
This comment was minimized by the moderator on the site
Hi. I've noticed that the autopopulate works only on a first name basis. If you were to type a surname or family name, you would not see it working. Any chance of fixing this?
This comment was minimized by the moderator on the site
hi, thanks for your code. I would like to autocomplete and make multiple selections in a drop down list. Can you help me please?, thank you
This comment was minimized by the moderator on the site
If you would like the exact same data to populate in numerous cells, select the range of cells, type the data and then, Ctrl Enter. Magic!
This comment was minimized by the moderator on the site
Hi
I want to know the most effiecient way to create a template we can easily auto populate with corresponding information .
I'll try to explain :
I want to make a list saying : if we type the airline code ( 3 digits ) we need to deliver it to 'that' specific warehouse.
We have like 6 warehouses , each handling multiple airlines . So if we type airline code 'x' it should automatically indicate to which warehouse we should deliver .
What do I do :D , which formula is to be used , how do we select a wide range of values ( all the different ailrines )
This comment was minimized by the moderator on the site
HI I WANT TO KNOW HOW to INSERT A COMPANY NAME AND COMPANY ADDRESS AUTOMATICALLY GENERATED LIKE
RAMYA TRADE---------CHENNAI
KAVYA TRADE----------MADURAI
RAMYA TRADE----------CHENNAI
This comment was minimized by the moderator on the site
Hi,
You need to prepare your data as a table range in advanced, and then apply one of the above methods.
This comment was minimized by the moderator on the site
I want to do this, but I do not want to use a drop down, the cells will be populated with a value/name from data on another sheet, sort of like a leaderboard so the names will move up and down accordingly I need certain values to follow those names up or down.
This comment was minimized by the moderator on the site
Hello, I have tried this and keep getting error #NA in the field ... Anyone know how to fix this.

For reference, I am trying to auto-populate contact information when the person selects a contact name from the drop down. So if someone selects John Smith from the drop down, his company, phone number, and email will auto populate in the next couple cells.

The formula I am using is =VLOOKUP(B7;Brokers!A2:D36,3,0). Open Office keeps changing the false at the end of my formula to a 0. I tried using True in lieu of False no change. I tried adding $ before the Array range values still getting #N/A....Can anyone advise how I can get this to work
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations