+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : vlookup across multiple worksheets

  1. #1
    Registered User
    Join Date
    05-03-2010
    Location
    Ct
    MS-Off Ver
    Excel 2007
    Posts
    5

    vlookup across multiple worksheets

    I would like to summarize information from multiple worksheets. Attached is a sample worksheet. I would like to use vlookup to lookup inventory quantities based on the value in column 1(months). Is this possible?

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: vlookup across multiple worksheets

    I believe a multi-page pivot table is the tool for this. Here's a primer from Microsoft on creating that:

    Consolidate multiple worksheets into one PivotTable report

    And one from one of old-faithful code sites, Contextures:

    Excel Pivot Table Tutorial -- Multiple Consolidation Ranges
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    05-03-2010
    Location
    Ct
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: vlookup across multiple worksheets

    What I'm trying to do is to get a summary of the stock at any given time...in this case on the first of each month. How do I get a pivot table to do that? I've tried to use something like =VLOOKUP(A2,Store1!A12:A200,2,TRUE)+VLOOKUP(A2,Store2!A12:A200,2,TRUE)VLOOKUP(A2,Store3!A12:A200,2,TRUE)

    But that's not working...
    Last edited by mazkot; 05-07-2010 at 10:47 AM.

  4. #4
    Registered User
    Join Date
    05-03-2010
    Location
    Ct
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: vlookup across multiple worksheets

    Okay i got it to work in this little test ...but I have an actual workbook that has probably 20 worksheets and when I try to do the vlookup addition it ALWAYS gets messed up. I even had trouble getting vlookup to show the right answer in this small workbook. I attached a copy that is doing what I want it to do. Does anyone know a shortcut to making this work in a larger workbook?
    Attached Files Attached Files
    Last edited by mazkot; 05-07-2010 at 11:40 AM.

  5. #5
    Registered User
    Join Date
    05-05-2010
    Location
    Hong Kong
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: vlookup across multiple worksheets

    Try this one , if you want to use Vlookup , all the coloum (in this file is "A") must have all same value , if (B,C,D) is empty put "0" , wish it can help
    Attached Files Attached Files
    Last edited by am0251; 05-07-2010 at 02:26 PM.

  6. #6
    Registered User
    Join Date
    05-03-2010
    Location
    Ct
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: vlookup across multiple worksheets

    thanks but that doesn't do what I was looking for. With vlookup it will look for the date from column one and if cannot find an inventory count for that date, it will fill in the last count from a previous date.

+ 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