+ Reply to Thread
Results 1 to 3 of 3

vlookup and indirect as a parameter

  1. #1
    Registered User
    Join Date
    04-19-2010
    Location
    Mostar, Bosnia and Herzegovina
    MS-Off Ver
    Excel 2013
    Posts
    41

    vlookup and indirect as a parameter

    Hello, need quick help with this one:

    =VLOOKUP(DIR!D35;DIR!D1:E100;2;FALSE)

    this one works...
    but if i want to change "DIR" into INDIRECT function to the same sheet, it gives error
    I created a column of sheet names already, an I was planning to hide it, just use it for the function, i have many sheets, and many columns in my main sheet,
    this one does not work:

    >> D4 call says: DIR

    =VLOOKUP(INDIRECT("'"&$D4&"'!"&"$D$1:$E$100");2;FALSE)

    I need this as soon as possible, thank you guys in advance!

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: vlookup and indirect as a parameter

    Try:

    =VLOOKUP(INDIRECT("'"&$D4&"'!D1:E100");2;FALSE)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    04-19-2010
    Location
    Mostar, Bosnia and Herzegovina
    MS-Off Ver
    Excel 2013
    Posts
    41

    Re: vlookup and indirect as a parameter

    It appears to be working now, actually I did ok with all the doubletripe quotage, it was the first parameter I was wrong about, at first "Word1 word2" didn't work, but now it does, i guess i had some extra spaces in argument, or something...

    Thank You anyway!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 10-06-2014, 08:15 AM
  2. How to use Left Function in Vlookup (2nd Parameter)
    By satheeshkumarkr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-25-2013, 08:41 AM
  3. [SOLVED] VLOOKUP with a formula as first parameter
    By kev112233 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-20-2013, 10:55 AM
  4. [SOLVED] Using Trim() in the Second Parameter of a Vlookup
    By judgeh59 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 03-16-2013, 08:20 AM
  5. Unclear Vlookup parameter
    By xxxploring in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-29-2009, 03:52 AM
  6. Array formula summing with indirect parameter
    By Sil68 in forum Excel General
    Replies: 5
    Last Post: 03-17-2009, 05:15 AM
  7. "indirect" function with variable parameter
    By snuiter in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-16-2008, 02:33 AM

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