Noting that you need to change columns too, INDEX can also work on a 2d array as well as a single column array (/list)
=INDEX(array,x,y) where you can use MATCH (or another approach) to return values for both parts of formula x and y, if needed
e.g. =INDEX(array, MATCH(...),MATCH(....))