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

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

prabby25101981

Active Member
Joined
Jul 28, 2010
Messages
348
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)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,713
Messages
5,833,269
Members
430,200
Latest member
ADLHMA2022

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
Top