Solved it!

Using the Choose function within the index/match function allows me to find the correct column and search it based on the criteria of row 1.