+ Reply to Thread
Results 1 to 5 of 5

vlookup in multiple worksheets

  1. #1
    Registered User
    Join Date
    10-13-2006
    Posts
    2

    vlookup in multiple worksheets

    Hi, I am trying to vlookup working across multiple sheets. I have the worksheet name in cell C12 (this value will vary). The value I want vlookup to search for is in cell F12. In the targeted worksheet I want vlookup to look in column 1 for the value "A" and return the value in column 2 of the same row.

    Ideally I would like this formula to work across multiple files or maybe just search multiple worksheets on a single seperate file. Anyways, the value in C12 points to the worksheet or file that I want vlookup to use.

    I thought a combination of indirect and vlookup would work but I can't get it to fuction correctly. Here is what I have so far. I have the IF function because I have both an "A" and an "a" value that vlookup must see differently.

    =INDIRECT(C12&"!"&"IF(F12=0,"",IF(EXACT(F12,VLOOKUP(F12,A9:B162,1,FALSE)),VLOOKUP(F12,A9:B162,2,FALSE)*1000,VLOOKUP(F12,A35:B60,2,FALSE)*1000)")

    Any help you have is greatly appreciated

  2. #2
    Registered User
    Join Date
    09-28-2006
    Posts
    11
    Hi,

    Are you looking for something similar to this post?
    http://www.excelforum.com/showthread.php?p=1712214

    If not, could you please explain more in detail or better yet, attach a file? Sorry, but I don't quite get your question.

  3. #3
    Registered User
    Join Date
    10-13-2006
    Posts
    2
    I think this will do. Thanks a million!

  4. #4
    Registered User
    Join Date
    08-19-2010
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: vlookup in multiple worksheets

    that thread was very helpful, but do the different tabs you want to pull from need to be in the same workbook as the "data" tab?

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: vlookup in multiple worksheets

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.

+ 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