+ Reply to Thread
Results 1 to 4 of 4

Alternative to Indirect()

  1. #1
    Registered User
    Join Date
    09-04-2010
    Location
    Manila
    MS-Off Ver
    Excel 2003
    Posts
    2

    Alternative to Indirect()

    Hi everyone, I have a spreadsheet that looks up data from other files. As usual I have an Indirect() problem, wherein the file has to be open for it to work. The reason why I use Indirect is because my I want my lookup formula to reference another cell for the filename of the other spreadsheets. I can't figure out a workaround using Index or the other usual workarounds suggested.

    Here is what my formula looks like:

    =VLOOKUP($C$5,INDIRECT(CONCATENATE("'\\3.206.0.237\files\[",$B15,"]compsheet'!$B$3:$AK$27")),E$4,false)

    Where C5 contains a name I use for looking up.
    B15 is where the name of the spreadsheet is -- this changes so I want to it to be replaceable.

    Originally the formula was a lot simpler and looked like the usual:

    =VLOOKUP(C5,'\\3.206.0.237\files\[2010-07.xls]compsheet'!$B$3:$P$22,15,FALSE)

    But this does't have the replaceable filename.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Alternative to Indirect()

    One option is to install Morefunc add-in (try googling it) and use INDIRECT.EXT function. That's designed to work with closed workbooks.

    There aren't any inbuilt formula alternatives to INDIRECT for your problem.
    Audere est facere

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Alternative to Indirect()

    Hi erwina,

    Read a thread from a few days ago, similar to your question.

    Read it by clicking this link.

  4. #4
    Registered User
    Join Date
    09-04-2010
    Location
    Manila
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Alternative to Indirect()

    Thanks for the input Marvin.

    I followed the thread and arrived here:
    http://spreadsheetpage.com/index.php...a_closed_file/

    The getvalue function though doesn't seem to be powerful enough for what I need it to do. Thanks for the suggestion, seems I will just need to use MoreFunc if ever, but likely I'll just scale down the automation of the spreadsheet.

    my other problem is that we can't install stuff on our workstations here at work, but thanks for the suggestion Daddylonglegs. I will probably have to open a ticket requesting Morefunc to be installed standard to our workstations sometime.
    Last edited by erwina; 09-04-2010 at 08:11 PM.

+ 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