简体   繁体   English

使用索引匹配的数组公式

[英]Use array formula with index match

Is it possible to do an array formula with index match:是否可以使用索引匹配进行数组公式:

eg:例如:

=arrayformula(if(len(A3:A),INDEX('SheetB'!E:E,MATCH(A3:A,'SheetB'!H:H,0))))

It seems INDEX can not return multiple values. 看来INDEX无法返回多个值。 It can not be used inside ARRAYFORMULA . 不能在ARRAYFORMULA内部ARRAYFORMULA

The only solution I know of is to use VLOOKUP . 我知道的唯一解决方案是使用VLOOKUP

See this thread : https://productforums.google.com/forum/#!topic/docs/jVvjbz8u7A8 查看此线程: https : //productforums.google.com/forum/#!topic/ docs/ jVvjbz8u7A8

Example from there : 那里的例子:

=ArrayFormula(VLOOKUP( B12:B15; H2:R32; 1; TRUE))

Cheers! 干杯!

我不确定它是否会起作用,但我在 ARRAYFORMULA 中的 INDEX(...) 之前做了一个“IF(ISBLANK() 并且它一直下降

"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM