Hi,
I am using the INDEX and MATCH functions to match two tables that I have and return a value. I am wanting to apply the formula to all cells in the column but when I drag the formula down it changes all of the cell numbers not just the one variable. I have inputted the formula into 10 cells and dragged them together to see if it can detect my pattern but this does not work either.
My code
=INDEX(Z2:Z36,MATCH(A2,Y2:Y36,0))
I want the next to be =INDEX(Z2:Z36,MATCH(A3,Y2:Y36,0))
and for just the A number to change
BUT it seems to be changing it to
=INDEX(Z3:Z37,MATCH(A3,Y3:Y37,0))
Is there any way of doing this?
Thanks
I am using the INDEX and MATCH functions to match two tables that I have and return a value. I am wanting to apply the formula to all cells in the column but when I drag the formula down it changes all of the cell numbers not just the one variable. I have inputted the formula into 10 cells and dragged them together to see if it can detect my pattern but this does not work either.
My code
=INDEX(Z2:Z36,MATCH(A2,Y2:Y36,0))
I want the next to be =INDEX(Z2:Z36,MATCH(A3,Y2:Y36,0))
and for just the A number to change
BUT it seems to be changing it to
=INDEX(Z3:Z37,MATCH(A3,Y3:Y37,0))
Is there any way of doing this?
Thanks