vlookup没有给我正确的数据
我有一个带有表1的Excel工作簿(其中包含我们所有当前项目的列表)和表2(其中包含一些项目以及特定位置的单元数量)。
表1: 项目|描述|单位 -380行
表2: 项目|描述|单位 -48行在
表1中,单位列应比较表2中的项目名称,并从表2中返回单位数量。
我的公式: = vlookup(a5,'segp 2'!$ a $ 1:$ c $ 48,3)
结果: 如果该项目未在表2中列出,则表1中的单元格将从表1中的上一个单元格中返回值。它应返回0或空白(null)
是错误的,或者我应该添加一个If If If If If if if if if if if if if vlookup函数?请问正确的语法是什么?
I have an Excel workbook with Sheet 1 (which contains a list of all our current items) and Sheet 2 (which contains a few items and the number of units at a specific location).
Sheet 1:
Item | Description | Units
-- 380 rows
Sheet 2:
Item | Description | Units
-- 48 rows
In Sheet 1, the units column should compare the item name from Sheet 2 and return the number of units from Sheet 2.
My Formula :
=VLOOKUP(A5,'Sheet 2'!$A$1:$C$48,3)
Result :
If the item is not listed in Sheet 2, then the cell in Sheet 1 returns the value from the previous cell in Sheet 1. It should return 0 or blank(NULL)
Is the formula wrong or should I add a IF ISNULL part outside the VLOOKUP function? What would be the correct syntax for it please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您这样更改vlookup:
零驱动匹配。即使它是可选的,我也从不留下不确定的论点。
I suggest you change your vlookup like so:
The zero drives an exact match. I never leave that argument indeterminate even though it is optional.