比较2列中的2列,然后返回第三个值vlookup

发布于 2025-02-11 17:17:29 字数 468 浏览 2 评论 0 原文

我有这样的表:

我有BEDEN B,如下:

现在我想通过匹配log&代码

Sheet B Result2 =  Sheet A result2

如何编写vlookup公式。 请帮我。

谢谢

I have a sheet A like this:
enter image description here

And I have Sheet B like this:
enter image description here

Now I want to get the Result2 from sheet B and fill Sheet A result2 column by matching log & code

Sheet B Result2 =  Sheet A result2

How can I write the vlookup formula.
Please help me.

Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

策马西风 2025-02-18 17:17:29

您可以使用sumifs非常简单地做到这一点,因为您正在尝试获得一个数字:

“在此处输入图像描述”

单元格A中的cell d2中的公式是:

=SUMIFS('Sheet B'!$C$2:$C$8;'Sheet B'!$A$2:$A$8;'Sheet A'!A2;'Sheet B'!$B$2:$B$8;'Sheet A'!B2)

另一个选项将使用数组公式(必须介绍 ctrl + enter + shift ):

=INDEX('Sheet B'!$C$2:$C$8;MATCH(A2&B2;'Sheet B'!$A$2:$A$8&'Sheet B'!$B$2:$B$8;0))

You can do this really easy with SUMIFS because you are trying to get a number:

enter image description here

Formula in cell D2 from Sheet A is:

=SUMIFS('Sheet B'!$C$2:$C$8;'Sheet B'!$A$2:$A$8;'Sheet A'!A2;'Sheet B'!$B$2:$B$8;'Sheet A'!B2)

Another option would be using an array formula (it must be introduced pressing CTRL+ENTER+SHIFT):

=INDEX('Sheet B'!$C$2:$C$8;MATCH(A2&B2;'Sheet B'!$A$2:$A$8&'Sheet B'!$B$2:$B$8;0))
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文