A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You can use the INDIRECT function for this purpose:
=VLOOKUP(C3,INDIRECT("I:J"),2,FALSE)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a working vlookup that is changing automatically and I need to stop it.
The formula is =vlookup(C3,$I:$J,2,0). It works on the first run. On the second run I insert new data to I thru J which pushes the first run data out to K thru L. The formula automatically changes to =vlookup(C3,$K:$L,2,0)
How do I get the formula to stay at I thru J?
Thanks!
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
You can use the INDIRECT function for this purpose:
=VLOOKUP(C3,INDIRECT("I:J"),2,FALSE)
Answer accepted by question author
Another alternative is
=VLOOKUP(C3,OFFSET($A:$B,,8),2,0)
But if volatility of OFFSET and INDIRECT is a concern in your case, you can use following formula which is non-volatile -
=VLOOKUP(C3,INDEX($1:$1048576,,9):INDEX($1:$1048576,,10),2,0)