+ Reply to Thread
Results 1 to 8 of 8

Thread: VLOOKUP and indirect references

  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 Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636
    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)
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  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 Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636
    I think it should work...you just have to define the entire path in the formula.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  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 Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636
    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.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  8. #8
    Registered User
    Join Date
    02-26-2008
    Posts
    5
    That could be the problem. Don't see it right now. Had to go through our IT dept. to get it loaded to computer. I will try that again. Thanks

+ 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.2.0