如何从ID中获取Excel中匹配值的名称
我正在尝试将不同表格的值匹配到另一个表格,以根据ID获得匹配值,但是一旦编写公式,它都不会给出正确的结果,
因此表1
Name ID
Test 1
Test2 2
和表2
ID Name
2
1
2 2 因此,喜欢匹配表1的ID列,并在Sheet2中填充名称,
我尝试使用Vlookup,但不确定这是正确写作的正确方法
=VLOOKUP(B5,Sheet2!$B$5:$C$104,2,0)
I am trying to match value from different sheet to another sheet to get match value as per ID but when ever writing formula it does not give correct results
So Sheet 1
Name ID
Test 1
Test2 2
And Sheet 2
ID Name
2
1
2
so like to match ID column from sheet 1 and populate name in Sheet2
I tried using vlookup but not working not sure is it the right way to write as am new to excel
=VLOOKUP(B5,Sheet2!$B$5:$C$104,2,0)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我以前也遇到过类似的问题,但不记得解决方案了。您可以借助这些 Reddit 子版块的帮助,因为这是一个类似的问题。
链接 - https://www.reddit.com/r/excel/comments/jvyovz/comment/gcmz4mq/?utm_source=share&utm_medium=web2x&context=3
如果这是正确的解决方案,很高兴帮助。
I had also encountered a similar problem before but i do not remember the solution. You can take the help of these subreddit as it is a similar problem.
Link- https://www.reddit.com/r/excel/comments/jvyovz/comment/gcmz4mq/?utm_source=share&utm_medium=web2x&context=3
If this is the correct solution, happy to help.