Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use array formula with index match

Is it possible to do an array formula with index match:

e.g:

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

If not, is there a solution that doesn't involve google scripts?

like image 933
adamsportstech Avatar asked Jan 20 '15 10:01

adamsportstech


1 Answers

It seems INDEX can not return multiple values. It can not be used inside ARRAYFORMULA.

The only solution I know of is to use VLOOKUP.

See this thread : https://productforums.google.com/forum/#!topic/docs/jVvjbz8u7A8

Example from there :

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

Cheers!

like image 130
Armel Larcier Avatar answered Sep 29 '22 12:09

Armel Larcier