+ Reply to Thread
Results 1 to 7 of 7

Help with Vlookup and Sumif?

  1. #1
    Registered User
    Join Date
    10-05-2014
    Location
    houston
    MS-Off Ver
    2010
    Posts
    1

    Help with Vlookup and Sumif?

    I am not sure if these are the right functions for trying to accomplish what i want. I am trying to have a function determine for me the total for each customer.

    Ex:
    A B
    Cust. A 1
    Cust. A 2
    Cust. A 7
    Cust. B 8
    Cust. C 1
    Cust. C 1
    Cust. D 2
    Cust. D 2
    Cust. D 2
    Cust. D 2

    Output
    Cust. A = 10
    Cust. B = 8
    Cust. C = 2
    Cust. D = 8

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Help with Vlookup and Sumif?

    Try this

    =SUMIF($A$2:$A$11,C2,$B$2:$B$11)

    A
    B
    C
    D
    2
    Cust. A
    1
    Cust. A
    10
    3
    Cust. A
    2
    Cust. B
    8
    4
    Cust. A
    7
    Cust. C
    2
    5
    Cust. B
    8
    Cust. D
    8
    6
    Cust. C
    1
    7
    Cust. C
    1
    8
    Cust. D
    2
    9
    Cust. D
    2
    10
    Cust. D
    2
    11
    Cust. D
    2
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    08-14-2013
    Location
    australia
    MS-Off Ver
    Excel Office 365
    Posts
    28

    Re: Help with Vlookup and Sumif?

    Exactly what I was looking for. This worked a treat. Cheers.

    Quote Originally Posted by AlKey View Post
    Try this

    =SUMIF($A$2:$A$11,C2,$B$2:$B$11)

    A
    B
    C
    D
    2
    Cust. A
    1
    Cust. A
    10
    3
    Cust. A
    2
    Cust. B
    8
    4
    Cust. A
    7
    Cust. C
    2
    5
    Cust. B
    8
    Cust. D
    8
    6
    Cust. C
    1
    7
    Cust. C
    1
    8
    Cust. D
    2
    9
    Cust. D
    2
    10
    Cust. D
    2
    11
    Cust. D
    2

  4. #4
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Help with Vlookup and Sumif?

    Is Dave = Tectec...?
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Help with Vlookup and Sumif?

    Vikas, doesnt look like it (different IP), probably a new member that happened to need the same answer
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    08-14-2013
    Location
    australia
    MS-Off Ver
    Excel Office 365
    Posts
    28

    Talking Re: Help with Vlookup and Sumif?

    Yes different person. I was just about to post the same thing and seen this post. Worked for what I was after.

  7. #7
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Help with Vlookup and Sumif?

    Sorry...

+ 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. Using VLOOKUP and SUMIF together
    By milos333 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-21-2014, 07:48 AM
  2. [SOLVED] SUMIF and VLOOKUP???
    By needhelp13 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-24-2013, 11:52 AM
  3. VLOOKUP and SUMIF???
    By reneedahl in forum Excel General
    Replies: 2
    Last Post: 03-21-2012, 07:34 PM
  4. vlookup and sumif
    By thisandthat in forum Excel General
    Replies: 7
    Last Post: 02-22-2011, 05:17 PM
  5. VLOOKUP with SUMIF
    By staralfur in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2010, 09:40 PM

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