+ Reply to Thread
Results 1 to 4 of 4

VLOOKUP different worksheets based on formula

  1. #1
    Registered User
    Join Date
    08-24-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    2

    VLOOKUP different worksheets based on formula

    Hi, I have a workbook with multiple tabs. In my master sheet I have values in column A (AA, BB, CC, DD, EE....for example). Then I have tabs labeled AA, BB, CC, DD, EE. I'm trying to do the same vlookup based on cell B but on different tabs depending on what my master sheet column A value has...

    So if Column A is BB I want the vlookup to look at sheet BB. Here is the manual way of doing it:

    =VLOOKUP(B1,BB!A:B,2,FALSE)

    Here is what i want the formula mimic so it works in a similar fashion:

    =VLOOKUP(B2,A2&"!A:B",2,FALSE)

    I also tried giving A:B on sheet BB a reference of 'BB' in hopes this would work:

    =VLOOKUP(B2,A2,2,FALSE)

    Any help is appreciated!!!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: VLOOKUP different worksheets based on formula

    Try

    =VLOOKUP(B2,INDIRECT("'"&A2&"'!A:B"),2,FALSE)

  3. #3
    Registered User
    Join Date
    08-24-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: VLOOKUP different worksheets based on formula

    Thank you!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: VLOOKUP different worksheets based on formula

    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] VLookup Formula using two worksheets
    By Stormy4757 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 12-26-2013, 02:52 PM
  2. Replies: 4
    Last Post: 05-24-2012, 06:44 AM
  3. Adding new worksheets and renaming them based on vlookup values
    By shanesoo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2011, 03:39 AM
  4. Vlookup that sums multiple worksheets based on two criteria
    By jay_boogy in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 12-14-2010, 12:59 PM
  5. Automate vlookup to create New worksheets based on selection criteria
    By kolokor in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-06-2009, 08:13 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