+ Reply to Thread
Results 1 to 3 of 3

Using VLOOKUP with cell data for table array

  1. #1
    Registered User
    Join Date
    08-25-2011
    Location
    IL, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Using VLOOKUP with cell data for table array

    I am having some problems using data from a cell as a table array in VLOOKUP.

    Here is my lookup formula

    =VLOOKUP(B41,INDIRECT("'"&$D$23),11,FALSE)
    the " " in the indirect formula are including the ' at the beginning of the following location, that when put into a cell, magically disappears. The following information is in the D23 cell that i am trying to reference.

    S:\BCI Quality System\Environmental\EPA\EMISSIONS LOG\[2011 Emissions.xls]April'!$B$5:$O$26

    Right now i am getting a #REF error and don't know where to head. I have toyed around with the INDIRECT function but have thus far failed to return any information. OR am not sure if that is where my troubles reside.

    Please advise me in a direction to head.
    Thanks in advance.

    Yours truly,
    Someone in need of help

  2. #2
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: Using VLOOKUP with cell data for table array

    Welcome to the forum!

    Unfortunately, if INDIRECT contains an external reference, it will return #REF! unless the other workbook is open.

    Two alternatives are
    (1) a VBA UDF (there is one called PULL() which was written by Harlan Grove);
    (2) INDIRECT.EXT() which comes in Laurent Longre's MoreFunc addin (a free download)
    Hope that helps,

    Colin

    RAD Excel Blog

  3. #3
    Registered User
    Join Date
    08-25-2011
    Location
    IL, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Using VLOOKUP with cell data for table array

    Thanks a lot i decided to go along with the method of just having to have the other workbooks open. I was unaware of this stipulation. Thanks again for your help.

+ 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