Forum Discussion
Can you use AND / OR in an INDEX MATCH
Hi Sergei, What does the INDEX function inside the MATCH function signify and How can we use INDEX inside MATCH or INDEX function?
That's the trick for the Excel which doesn't support dynamic arrays, e.g. Excel 2016. If in such Excel we use formula like
=INDEX(A:A, MATCH( 1, (B:B=2)*(C:C=3), 0 ) )
here (B:B=2)*(C:C=3) is an array and we shall use above formula as an array one, i.e. to enter with Ctrl+Shift+Enter.
However, with INDEX( (B:B=2)*(C:C=3), 0 ) which returns exactly the same array we may use formula
=INDEX(A:A, MATCH( 1, INDEX( (B:B=2)*(C:C=3), 0 ), 0 ) )
as regular one, i.e. enter it simply with Enter.
Above is not required for the Excel which supports dynamic arrays (Excel 365).
And on practice please don't use entire columns as in above sample, that significantly affects the performance. Structured tables, dynamic ranges or fixed ranges instead.