Cell variable in external external link (hlookup fuction)

DorianGrim

New Member
Joined
Oct 10, 2011
Messages
13
Hi all,

I am dealing with a huge amount of data on google and forums, but can't seem to place it all together.

1. I need concatenation for this, since from what I read INDIRECT() does can't open closed excel files.
2. I can't use MOREFUNC | Ashish Mathur's Blog (morefunc), cause it's on the network, and I can't tell 100 people to install the add-in.

What I have is:

Code:
[FONT=lucida console]=HLOOKUP(A1,"'\\sftest\me\!reports\f\" & TEXT(A1, " yyyy ") & "\[EC"  & TEXT(A1, "mmm ") & TEXT(A1, "yyyy ")& ".xls]PPD'!$B$1:$AF$30",30)[/FONT]

The evaluation of the formula shows me the variable names ok, so the concatenation works, but I get #VALUE! error...

I am guessing my opening " and closing ", make the whole thing a string. But I really don't know.

I am open to other suggestions, but given the facts.

Please help.
Thanks in advance,
Dorian
 
Last edited:

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,215,430
Messages
6,124,852
Members
449,194
Latest member
HellScout

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