+ Reply to Thread
Results 1 to 6 of 6

Vlookup across worksheets, same workbook providing a sum of returned values

  1. #1
    Registered User
    Join Date
    12-17-2010
    Location
    Virgina, USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Vlookup across worksheets, same workbook providing a sum of returned values

    I am looking for a vlookup formula where the the table array is the entire workbook, not just a range of cells within a particular worksheet. I also want the vlookup to return a sum of all returned values, not just the first instance.



    ie... I ordered ceiling tile #2 on 10/30/10 (cost me $100), 11/4/10 ($100) and 11/12/10 ($200) and I want the vlookup to search the workbook, find every instance that I order ceiling tile #2 and return a value of $400, not just $100.



    Is this possible? Thanks in advace.



    PS- I'm tryining to create this vlookup in the same workbook, not link to another. I'm using Excel 2007.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup across worksheets, same workbook providing a sum of returned values

    How are the sheets named?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup across worksheets, same workbook providing a sum of returned values

    Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!

    Read this to understand why we ask you to do this

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Talking Re: Vlookup across worksheets, same workbook providing a sum of returned values

    Hi,

    First things first. Even if there were such a thing as a standard 3D VLOOKUP it would only return a single value. That's the essence of any VLOOKUP(), MATCH() or INDEX() function. What you want is the sum of several cells.

    If there is a common structure to your data with product #s in the same column on each sheet and there was only ever one instance of ceiling tile #2 on each sheet then you could use a combination of VLOOKUP() and INDIRECT() functions on a summary sheet which contained the names of all your sheets in a list.
    You could think of this as a pseudo 3D VLOOKUP. Take a look at

    https://sites.google.com/a/madrocket...ions/3d-lookup

    or just google Excel 3d VLOOKUP for other ideas.

    After that you're other choice is a VBA solution which interrogates all your sheets and builds its own total.

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    12-17-2010
    Location
    Virgina, USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    [Solved] Vlookup across worksheets, same workbook providing a sum of returned values

    Someone sent me this and it was really helpful if someone has an issue like I did:

    http://xl-central.com/sum-single-cri...le-sheets.html

  6. #6
    Registered User
    Join Date
    12-17-2010
    Location
    Virgina, USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Vlookup across worksheets, same workbook providing a sum of returned values

    And thank you Richard for replying!

+ 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