avanced vlookup? off of other cells

Sunvisor

Board Regular
Joined
Oct 9, 2009
Messages
233
I have a sheet with the names of the file path...in cells A1-400. I need to use these files paths as the location of where to get the range...how would I incorporate that...when i select it, it just shows up as A2...then it will think that is the range instead of the director to the actual range in the directory whihc would be A1:G200.

Thanks for any ideas
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Something like this if A1 includes the filename -

=INDIRECT(A1&"!A2",1)

This will return the value included in A2 cell of sheet name given in cell A1. So, if you have "Sheet1" given in A1, the above formula will return Sheet1!A2 (value given in A2 of Sheet1.

The first part of the formula will change if there are spaces in the sheet name. e.g. A1 includes "Sheet 1" and you need to pickup value in A2 of this sheet, then the formula will be -

=INDIRECT("'",A1,"'!A2",1)
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,817
Members
449,049
Latest member
cybersurfer5000

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top