on-internet
← Community

When/why can INDEX replace ARRAYFORMULA?

Stack Overflow ·

I found that INDEX() can replace ARRAYFORMULA() in some situations. I wonder this is a supported function of INDEX or just a bug since I cannot find any documentation of INDEX function working this way. For example, these two formulae give the same result. =INDEX(ArrayFormula(SPLIT (I2:I75," ")),,1) =INDEX(SPLIT (I2:I75," "),,1) However, without INDEX, SPLIT(I2:I75," ") gives only one result, not an array. In the same way, INDEX can be used instead of ARRAYFORMULA with VLOOKUP. The [G1] cell is calculated with a normal ARRAYFORMULA.

Comments

Sign in or sign up to comment and upvote.

No comments yet.