INDEX ARRAY code example
Example 1: get array by array of indices js
var resultArr = indexArr.map(i => fruitier[i])
Example 2: index arrayformula
=arrayformula(vlookup(F1:F, {row(x!C2:C) - row(x!C2) + 1, x!C2:C}, 2))
var resultArr = indexArr.map(i => fruitier[i])
=arrayformula(vlookup(F1:F, {row(x!C2:C) - row(x!C2) + 1, x!C2:C}, 2))