I'm using INDEX MATCH formula to find a number in another table, but it always returns the first number it finds. I want it to return a number based on a variable.

I want it to do this: if a count number on the corresponding row is equal to 1, I want the INDEX MATCH to find the second number in the table it finds, not the first one. If the count number is equal 2, I want it to find the third number in the table, If the count number is equal 3, I want it to find the fourth number, etc.

Is this possible?

Thanks