Vlookup using a cell containing a reference to closed workbook array

Fredek

Board Regular
Joined
Mar 8, 2011
Messages
65
Hi all,

I am trying to do the below VLOOKUP, however I am getting an error. The Source Workbook is closed and I would like array to be a cell in my workbook (G1 in this example).

Anyone have any idea if this is possible in Excel? Any help would be greatly appreciated!



ABCDEFG
1Frog=vlookup(A1,G1,2,false)'C:\Users\Fred\Desktop\[Source.xlsx]Sheet1'!$A:$H
2
3
4
5
6
7

<tbody>
</tbody>
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
You would need to use =vlookup(A1, indirect(G1), 2, false), except that Indirect doesn't work with closed workbooks.

There is an add-in (Morefunc.xll) that has a function INDIRECT.EXT that does this, but I've not used it.

Doing full-column references like that is going to be dog-slow.
 
Upvote 0

Forum statistics

Threads
1,217,312
Messages
6,135,796
Members
449,965
Latest member
Ckl43

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