+ Reply to Thread
Results 1 to 5 of 5

INDIRECT function within VLOOKUP table

  1. #1
    Forum Contributor
    Join Date
    01-16-2011
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2010
    Posts
    234

    INDIRECT function within VLOOKUP table

    I have a simple VLOOKUP table in cells C1:D8 on Master, and I have manually inputted the desired sheet name in the VLOOKUP. However, I want to use INDIRECT to choose which worksheet from which to draw the data. So if I put Sample in A1 and 12345 in A2 on the Master page, the VLOOKUP looks at sheet Sample 12345, and if I put Test in A1 and 67890 in A2, the VLOOKUP looks at sheet Test 67890.

    In the attached sample, the sheet name used in the VLOOKUP needs to come from cells A1 and A2 on the Master page, and the sheet name needs a space between the values in A1 and B1. (Cell A12 on Master is my attempt to concatenate the INDIRECT sheet name.)

    Any help appreciated!
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: INDIRECT function within VLOOKUP table

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: INDIRECT function within VLOOKUP table

    Like this?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  4. #4
    Forum Contributor
    Join Date
    01-16-2011
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2010
    Posts
    234

    Re: INDIRECT function within VLOOKUP table

    Perfect.

    Thanks, guys!
    Last edited by Hambone70; 10-14-2014 at 02:11 PM.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: INDIRECT function within VLOOKUP table

    You're welcome.

+ 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. [SOLVED] Indirect or Vlookup Function
    By Justin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  2. [SOLVED] Indirect or Vlookup Function
    By Biff in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 07:05 AM
  3. Indirect or Vlookup Function
    By Biff in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  4. [SOLVED] Indirect or Vlookup Function
    By Justin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. Indirect or Vlookup Function
    By Justin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 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