小编min*_*ues的帖子

查找索引(匹配)数组中的最小值[EXCEL]

这是我简单的表格

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
Run Code Online (Sandbox Code Playgroud)

索引匹配数组公式:

=INDEX(A2:C9,MATCH(1,(H4=$A:$A)*(I4=$B:$B),0),3)
Run Code Online (Sandbox Code Playgroud)

基本上A和B是我的查找标准,而C是我想要得到的值.我希望C是匹配的C值中的最小值.

防爆.如果我有塔斯马尼亚和霍巴特作为我的标准,我希望得到17因为它是最小值而不是21.

我尝试MIN在索引匹配数组中嵌套,(H4=$A:$A)*(I4=$B:$B)*(MIN($C:$C))但它只会导致错误

arrays lookup indexing excel match

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

arrays ×1

excel ×1

indexing ×1

lookup ×1

match ×1