index match array formula google sheets code example Example: index arrayformula =arrayformula(vlookup(F1:F, {row(x!C2:C) - row(x!C2) + 1, x!C2:C}, 2))