【发布时间】:2016-08-25 12:16:00
【问题描述】:
这是我的简单表格
A B C
tasmania hobart 21
queensland brisbane 22
new south wales sydney 23
northern territory darwin 24
south australia adelaide 25
western australia perth 26
tasmania hobart 17
queensland brisbane 18
new south wales sydney 19
northern territory darwin 11
south australia adelaide 12
western australia perth 13
索引匹配数组公式:
=INDEX(A2:C9,MATCH(1,(H4=$A:$A)*(I4=$B:$B),0),3)
基本上 A 和 B 是我的查找条件,而 C 是我想要获得的值。我希望 C 是匹配的 C 值中的最小值。
例如。 如果我将塔斯马尼亚和霍巴特作为我的标准,我希望得到 17,因为它是最小值,而不是 21。
我尝试将MIN 嵌套在索引匹配数组(H4=$A:$A)*(I4=$B:$B)*(MIN($C:$C)) 中,但这只会导致错误
【问题讨论】:
标签: arrays excel indexing match lookup