跳到主要内容

如何在Excel中使用下拉列表进行VLOOKUP?

doc-vlookup-下拉列表-1
在Excel中,VLOOKUP和下拉列表是两个有用的功能。 但是,您是否尝试过使用下拉列表进行VLOOKUP? 例如,您在一个范围内有一个下拉列表,并且当您从下拉列表中选择一种水果时,相对价格将显示在相邻的单元格中,如下面的屏幕快照所示。 现在,本教程将通过下拉列表告诉您VLOOKUP。
带下拉列表的VLOOKUP

箭头蓝色右气泡 带下拉列表的VLOOKUP

实际上,当查找值在下拉列表中时,VLOOKUP函数也可以工作。

例如,您有一系列数据,如下图所示:

doc-vlookup-下拉列表-2

然后根据上述数据创建一个下拉列表。 见下面的截图:

doc-vlookup-下拉列表-3

现在,您想使用VLOOKUP来获取所选水果的相对价格。

1.从下拉列表中选择一个值,键入以下公式 = VLOOKUP(E2,$ A $ 2:$ B $ 6,2,FALSE) 放入与下拉列表相邻的单元格。 看截图:

doc-vlookup-下拉列表-4

2。 然后点击 输入 键,并显示相对价格。 看截图:

doc-vlookup-下拉列表-5

提示:

在上面的公式中,E2是下拉列表中的查找值,A2:B6是原始数据的数据范围,2表示此公式将返回原始数据第二列中的值。


在Excel中轻松创建动态的2级或多级依赖下拉列表

在Excel中,创建2级或多级下拉列表很复杂。 在这里 动态下拉列表 实用程序 Kutools for Excel 可以帮你一个忙。 您唯一要做的就是按所示示例对数据进行排序,然后选择数据范围和输出范围,然后将其留给实用程序。  点击免费试用30天!
doc高级合并行
 
Kutools for Excel:拥有300多个便捷的Excel加载项,可以在30天内免费试用。

最佳办公生产力工具

🤖 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 (4)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I have a drop list in sheet-2 so it is in this format500 usd / 37500 inr. so i want to use VLOOKUP in an other cell so it only represents the value in inr like - 37500 inr . so what should i do
This comment was minimized by the moderator on the site
Hello,

I want to extend this question:
I have a table with Vlookup, which is used to create a Dropdown list depended on another selection of a first dropdown list.
Now if I Change the selection on the first Dropdown list, the table gets changed and the second Dropdown list is altered. However,only the entries/items in the second Dropdown list Change, but not the already choosen entries/items of this list in one cell (e.g. Keeper: ("B2")). How can I update also already choosen items?

Thanks for your hints!

Example:

Team | BVB | SVW | Table for Dropdown 1 | Table for Dropdown 2
Keeper | Mister 1 | Mister 11 | BVB | =VLookup...
Libero | Mister 2 | Mister 22 | SVW | =Vlookup...
Libero2 | Mister 3 | Mister 33 | =Vlookup...

ColA Col B
Row1 Team: Choose Dropdown 1 with team
Row2 Keeper: Selected Dropdown 2 with player
Row3 Libero: Selected Dropdown 2 with player
This comment was minimized by the moderator on the site
Sorry, I have no idea about this problem. maybe someone can help you if you carry on the problem in our forum https://www.extendoffice.com/forum.html
This comment was minimized by the moderator on the site
Based on this, I have two tables in a sheet. The first table looks has following format - Name Email Position John Left Silver Right James Center Entries in the 3rd column position are selected from a drop down list. The second table is where I want names to populate i.e. it has following format - Left is a blank cell where I want name (John) to appear when I select Left from dropdown in position column. I am using VLOOKUP with following formula - VLOOKUP(cell with value 'left' in second table, range from John to Center, 1, FALSE). I am getting #N/A error. Anyone facing similar problem or has solution to this? Thanks in advance.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations