+ Reply to Thread
Results 1 to 4 of 4

Sum multiple values that correspond to my LOOKUPVALUE.

  1. #1
    Registered User
    Join Date
    06-06-2013
    Location
    Louisville, Kentucky (U.S)
    MS-Off Ver
    Excel 2010
    Posts
    3

    Sum multiple values that correspond to my LOOKUPVALUE.

    I am trying to use Sum a VLOOKUP where Table has multiple values that = the ONE lOOKUPVALUE.

    This is a very complex spreadsheet but I simplified the results in an easy to ready simple spreadsheet.

    Please see attached document.

    Any help is greatly appreciated!

    Have a wonderful day.

    For Example...

    A company has multiple products.
    Each product has 1 sales amount.
    Using the Company as my Lookupvalue I need to sum all the Product sales amounts that correspond with that company.

    Example File.xlsx
    Last edited by JBeaucaire; 06-06-2013 at 06:16 PM. Reason: Corrected Title, as per forum rules. Please take a moment to read the Forum Rules, link is above in the meny bar.

  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: Sum multiple values that correspond to my LOOKUPVALUE.

    The BEST answer I would suggest includes merging your two tables into one. If you put column E values into column C, you don't need column D at all. Then the formula in H3 would be a simple SUMIF:

    =SUMIF(A:A, G3, C:C)
    _________________
    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
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,052

    Re: Sum multiple values that correspond to my LOOKUPVALUE.

    You could try it this way:

    HTML Code: 

    Total across with: SUM(D3:R3) in column S (and copy down)

    Then you can use a SUMIF formula: =SUMIF(A3:A17,U3,S3:S17)


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    06-06-2013
    Location
    Louisville, Kentucky (U.S)
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Sum multiple values that correspond to my LOOKUPVALUE.

    Thank you for your responses...

    I cant merge the tables...

    The actual spreadsheet looks like this...

    Tab 1
    Company
    PBM
    TYE
    NEC
    FGH

    Tab2
    Product Amount
    AAA 100
    BBB 200
    CCC 300
    DDD 400
    EEE 500
    FFF 600

    A company like PBM can have multiple products. I can create a table to distinguish which products correlate with certain companies but how can I create a formula on the page with just a company listing to then refer to the products and add up the amounts that fall under that company.

    is it a index/MATCH, sumif? etc?

    I was I could be more clear,

    Thanks for all of your help.

+ 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