+ Reply to Thread
Results 1 to 3 of 3

SUMIF and VLOOKUP???

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    46

    SUMIF and VLOOKUP???

    I cant get this to work...

    If I have data like this:
    Column A Column B
    Mary 1
    Mary 3
    Mary 1
    John 3
    John 4

    How can I have in column C the sum by name so Mary = 5 and John = 7?

    I have => SUMIF(B1:B5,A1) but the result I get is 0, and when I do SUMIFS(B1:B5,vlookup(A1,A1:B5,2),B1:B5) I get error message?

    Thanks for your help!

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: SUMIF and VLOOKUP???

    Try

    =SUMIF($a$1:$a$5,a1,$B$1:$B$5)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: SUMIF and VLOOKUP???

    The syntax for sumif is

    =SUMIF(CriteriaRange,Criteria,RangeToSum)

    Try
    =SUMIF(A$1:A$5,A1,B$1:B$5)

+ 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. [SOLVED] Help with a Vlookup and SUMIF
    By Lucero in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-24-2012, 10:02 AM
  2. vlookup and sumif
    By thisandthat in forum Excel General
    Replies: 7
    Last Post: 02-22-2011, 05:17 PM
  3. Sumif + vlookup
    By ivwshane in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-28-2010, 08:45 PM
  4. Sumif within Vlookup?
    By jlm425 in forum Excel General
    Replies: 1
    Last Post: 06-26-2009, 12:53 PM
  5. VLOOKUP/#NA/Sumif
    By Robert_L. in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2005, 10:46 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