需要根据 MS Excel 中同一行中两个单元格的精确匹配从行中获取值

问题描述 投票:0回答:1

我的 Excel 文件中有两个电子表格。一个看起来像这样: enter image description here

第二个看起来像这样:

enter image description here

现在,我需要根据电子表格 2 中的日期和名称获取电子表格 1 中的价格。请帮忙。

尝试使用 Vlookup,但它正在获取第一个匹配项,但我需要将两列中的两个值一起比较。

excel indexing excel-formula vlookup index-match
1个回答
0
投票

方法有很多。其中之一:

=FILTER($C$9:$C$12,($B$9:$B$12=$A3)*($A$9:$A$12=B$1),"")

向右和向下拖动。

结果:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.