+ Reply to Thread
Results 1 to 3 of 3

VLOOKUP Table array - Refrence cell instead of munally re-enter array

  1. #1
    Registered User
    Join Date
    01-28-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    20

    Question VLOOKUP Table array - Refrence cell instead of munally re-enter array

    Hi,

    I want to look up values in one specific range in many different sheets. I could define the range manually in each sheet.
    =VLOOKUP($D10;Banan!$A:$F;H$4;FALSE)
    =VLOOKUP($D10;Apple!$A:$F;H$4;FALSE)
    =VLOOKUP($D10;Strawberry!$A:$F;H$4;FALSE)

    But that will take too much time (70 different sheets). Instead I would like to reference the name in a cell.
    A1=Banan
    A2=Apple
    A3=Strawberry

    I then want to use the VLOOKUP like below:
    =VLOOKUP($D10;A1!$A:$F;H$4;FALSE)
    =VLOOKUP($D10;A2!$A:$F;H$4;FALSE)
    =VLOOKUP($D10;A3!$A:$F;H$4;FALSE)

    I am not able to get this right.

    Appreciate Your help!!!

  2. #2
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: VLOOKUP Table array - Refrence cell instead of munally re-enter array

    maybe one way would be to use a named range - call each table apple orange ect.
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: VLOOKUP Table array - Refrence cell instead of munally re-enter array

    You could use Indirect()

    =VLOOKUP($D10;indirect("'"&A1&"'!$A:$F");H$4;FALSE)

    copied down. Note the single quotes encasing the sheet name ( in case the sheet name contains spaces)

+ 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