Worksheet Name
As I recall, you need to use indirect to do this. I think it's like this
=VLOOKUP(A1,indirect("'Sheet1!A2:B100").2,false)
If you concatenate information together, make sure you hae a single quote
before and after the sheet name.
--
HTH,
Barb Reinhardt
"Greg" wrote:
I am trying to use Vlookup where the table_array refers to data on another
worksheet. However I have three worksheets with different data in the same
format. I have a cell which returns the Worksheet name ie 'Grating', 'Steel'
or 'Bolts'. How do I use this in vlookup. I seem to keep getting an error. I
have tried Concatenating name and data array, but it seems not to evaluate
the string..
Any help would be greatly appreciated.
--
Greg McLandsborough
|