+ Reply to Thread
Results 1 to 4 of 4

Trying to use Pull function with VLOOKUP function

Hybrid View

  1. #1
    Registered User
    Join Date
    06-13-2013
    Location
    Longdon, Angland
    MS-Off Ver
    Excel 2013
    Posts
    2

    Trying to use Pull function with VLOOKUP function

    Background: I'm working on a project that will be distributed throughout the company. As such, linked files in formulas may need to be changed periodically (I'm trying to idiot proof this project). I had originally just intended to have the users simply use the Change Source however this appears to crash Excel every time I try it.

    Instead I've opted to put the filename in cell A1 of a database and have that value changed through a macro. The problem I am having however is that I had been using a VLOOKUP that looked like this:

    =VLOOKUP([@[e-mail]],'C:\folders\[filename.xlsx]Sheet Name'!$B:$R,8,FALSE)
    To cross reference each e-mail in the project with information tied to that e-mail in a file they have downloaded from the intranet.

    I tried using something like this:

    =VLOOKUP([@[e-mail]],Indirect($A$1&"!$B:$R"),8,FALSE)
    However the file seems to need to be opened for that to work.

    Then I discovered the Pull function however using the pull function as such does not help at all:

    =VLOOKUP([@[e-mail]],PULL($A$1&"!$B:$R"),8,FALSE)
    I suspect that this is not the type of use the Pull Function was intended for. If anyone could help figuring out how to reference a closed file in a Vlookup indirectly it would be appreciated.

    I've read about Indirect.EXT however I'm concerned that I would need to make all users download and install that as well which I want to save as a last last resort.

    Thank You.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Trying to use Pull function with VLOOKUP function

    The INDIRECT.EXT function will provide you the ability to do what you want. You are correct that all users of your workbook would need to install that ADD-IN. You should be able to provide them the add-in and instructions on how to install it.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-13-2013
    Location
    Longdon, Angland
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Trying to use Pull function with VLOOKUP function

    Was informed that that solution probably won't fly with IT.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Trying to use Pull function with VLOOKUP function

    Then you will not be able to INDIRECT link to closed workbooks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1