Hi
I have a standard vlookup formula as follows:
=VLOOKUP(A6,A14:D100,2,FALSE)
where the function looks up the value in Column A, and returns the corresponding value in Column B ('2').
The problem is that the data in my spreadsheet is copied from another software program where columns are sometimes added or deleted, so I have to change the column number in the formula whenever this happens.
Is it possible for the vlookup formula to be based on the column header rather than the column number?
Thanks for any help you can give.
R
I have a standard vlookup formula as follows:
=VLOOKUP(A6,A14:D100,2,FALSE)
where the function looks up the value in Column A, and returns the corresponding value in Column B ('2').
The problem is that the data in my spreadsheet is copied from another software program where columns are sometimes added or deleted, so I have to change the column number in the formula whenever this happens.
Is it possible for the vlookup formula to be based on the column header rather than the column number?
Thanks for any help you can give.
R