+ Reply to Thread
Results 1 to 8 of 8

Indirect lookup

  1. #1
    Forum Contributor
    Join Date
    09-05-2009
    Location
    Cologne, Germany
    MS-Off Ver
    Excel 2010
    Posts
    156

    Question Indirect lookup

    Hi All,
    I think I need the Indirect function for this scenario but I cannot figure out how to use it correctly:
    I have a column of file names - ie. CEL43.xls, that relate to files that are all contained within the same folder. In a new workbook, I'm trying to look up a common cell (H9) in each file for summary purposes, without opening any of the files. Any suggestions welcome please!

  2. #2
    Forum Contributor
    Join Date
    09-05-2009
    Location
    Cologne, Germany
    MS-Off Ver
    Excel 2010
    Posts
    156

    Re: Indirect lookup

    Hi People, I've had a lot of views to this question but no answers - I guess it's not possible then? Perhaps one of the 'super-brains' could just confirm? Many thanks!

  3. #3
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Indirect lookup

    Hey,

    I might have misunderstood your query, but... can you not just type in the filename, followed by the tab name, followed by the cell address (H9) in your new workbook? In the format '[filename.extension-name]tabname'!celladdress
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

  4. #4
    Forum Contributor
    Join Date
    09-05-2009
    Location
    Cologne, Germany
    MS-Off Ver
    Excel 2010
    Posts
    156

    Re: Indirect lookup

    Hi Brendan,
    Thanks for replying. The issue is, that I have a column of very many workbook file names that each need to be referred to in order for me to extract the required information. Doing it on a file by file basis would take me an awful long time. Therefore I really need to find a formula that will refer to each file name as part of the lookup function. Does this make sense?

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,616

    Re: Indirect lookup

    Quote Originally Posted by kborgers View Post
    Hi People, I've had a lot of views to this question but no answers - I guess it's not possible then? Perhaps one of the 'super-brains' could just confirm? Many thanks!
    Hi
    please note that forum rules ask to wait about a day before bumping - Your problem will probably need VBA to be solved. Ask a mod to move it to the correct forum

  6. #6
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Indirect lookup

    Ah, right - I see what you mean now. I'll be following this thread with interest, as that's something I tried to do recently. (I failed miserably!)

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,890

    Re: Indirect lookup

    You can use INDIRECT to reference the cells in those files, but if you use INDIRECT, Excel requires the referenced file to be open.

    There is an add-in floating around called INDIRECT.EXT that allows you to use a function similar to INDIRECT that does not require the file to be open. Here is one page that describes it.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  8. #8
    Forum Contributor
    Join Date
    09-05-2009
    Location
    Cologne, Germany
    MS-Off Ver
    Excel 2010
    Posts
    156

    Re: Indirect lookup

    Many thanks 6String - I'll check that out.

+ 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