Hello all,
I'm trying to link to an external file, but using the data in a cell to reference the sheet name:
So this formula works, as it is referencing the file/sheet - the Product Sales.xls file has 24 sheets, one for each product.
=VLOOKUP($C$4,'[Product Sales.xls]Product A'!$A$14:$AQ$67,G$1,FALSE)
But here I have "Product A" in cell A1 and I want to update the formula so the file name is constant but the sheet name may change.
=VLOOKUP($C$4,'[Product Sales.xls]&$A$1&'!$A$14:$AQ$67,G$1,FALSE)
Any pointers would be great.
Thanks
I'm trying to link to an external file, but using the data in a cell to reference the sheet name:
So this formula works, as it is referencing the file/sheet - the Product Sales.xls file has 24 sheets, one for each product.
=VLOOKUP($C$4,'[Product Sales.xls]Product A'!$A$14:$AQ$67,G$1,FALSE)
But here I have "Product A" in cell A1 and I want to update the formula so the file name is constant but the sheet name may change.
=VLOOKUP($C$4,'[Product Sales.xls]&$A$1&'!$A$14:$AQ$67,G$1,FALSE)
Any pointers would be great.
Thanks