So I'm using VLookup to draw some values from one workbook into another. However, I would like to specify the Table_Array for the Vlookup using a cell in another worksheet within the workbook.
So I have 2 files:
Report.xls
Numbers.xls
using Vlookup to pull from Numbers.xls into Report.xls I use:
vlookup("Sales",'[Numbers.xls]January!$A$1:$J$140,3,FALSE)
However, I need to be able to change Numbers.xls within that formula to whatever filename I so choose, that I can input into a cell within the Report.xls workbook.
So if I set Paths!A1 within Report.xls to Numbers2013.xls I want it to change the formula to:
vlookup("Sales",'[Numbers2013.xls]January!$A$1:$J$140,3,FALSE)
Tried lots of different ways like:
vlookup("Sales",'"["&A1&"]"January!$A$1:$J$140,3,FALSE)
without any luck so far.
Is that possible?
So I have 2 files:
Report.xls
Numbers.xls
using Vlookup to pull from Numbers.xls into Report.xls I use:
vlookup("Sales",'[Numbers.xls]January!$A$1:$J$140,3,FALSE)
However, I need to be able to change Numbers.xls within that formula to whatever filename I so choose, that I can input into a cell within the Report.xls workbook.
So if I set Paths!A1 within Report.xls to Numbers2013.xls I want it to change the formula to:
vlookup("Sales",'[Numbers2013.xls]January!$A$1:$J$140,3,FALSE)
Tried lots of different ways like:
vlookup("Sales",'"["&A1&"]"January!$A$1:$J$140,3,FALSE)
without any luck so far.
Is that possible?