+ Reply to Thread
Results 1 to 8 of 8

VLOOKUP and indirect references

Hybrid View

  1. #1
    Registered User
    Join Date
    02-26-2008
    Posts
    5

    VLOOKUP and indirect references

    I am trying to use VLOOKUP from another spreadsheet. Currently it looks like this: =VLOOKUP(C$1,'[Moneyline and Sec spreadsheet.xls]UTX'!$B:$F,5,FALSE) I would like the "UTX" to be a cell reference instead, ie cell A4. I would like to be able to change cell A4 from UTX to IBM and have the lookup look to a tab on my ohter spreadsheet which is the IBM tab. Is this possible?

    Thanks

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    TRY:

    =VLOOKUP(C$1,INDIRECT("'[Moneyline and Sec spreadsheet.xls]"&A4&"'!$B:$F"),5,FALSE)

    Note: This only works if all workbooks are open.

    If the lookup book is closed, then you need to install the free Morefunc.xll addin from http://xcell05.free.fr/english/ and adjust formula to:

    =VLOOKUP(C$1,INDIRECT.EXT("'[Moneyline and Sec spreadsheet.xls]"&A4&"'!$B:$F"),5,FALSE)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-26-2008
    Posts
    5
    Thank you so much. I tried to add-in and it would not work. I am guessing because I have the other spreadsheet on a shared drive so it can't locate the spreadhseet.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I think it should work...you just have to define the entire path in the formula.

  5. #5
    Registered User
    Join Date
    02-26-2008
    Posts
    5
    would the parens, quotes, et. be in this order? I keep getting ?NAME Error.
    =VLOOKUP(C$1,INDIRECT.ext("'S:\RSN\Trading\[Moneyline and Sec spreadsheet.xls]" & $A17 & "'!$b:$F"),5,FALSE)

  6. #6
    Registered User
    Join Date
    02-26-2008
    Posts
    5
    Actually sorry, #NAME?. Tried to do it from memory since I am so used to seeing it on various other spreadsheets. Guess the memory is the first to go.

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Looks ok... make sure you downloaded the addin and have it installed. The Morefunc addin should appear and be checked in the Tools|Addins menu.

+ 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