+ Reply to Thread
Results 1 to 5 of 5

Vlookup to sum multiple rows

  1. #1
    Registered User
    Join Date
    04-19-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    3

    Vlookup to sum multiple rows

    I need to look up data that is in another sheet and sum the rows.

    I am using this formula =IFERROR(VLOOKUP($A19&C$3,'Actual Data'!$A$2:$L$316,12,FALSE),0)

    And it works great, but it is only returning the 1st value. I need the sum of all rows that match A19 (the dept code) & C3 (the Dept).

    Thanks for the help.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Vlookup to sum multiple rows

    Try this:

    =SUMIF('Actual Data'!$A$2:$A$316,$A19&C$3,'Actual Data'!$L$2:$L$316)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Vlookup to sum multiple rows

    How about:

    Please Login or Register  to view this content.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Registered User
    Join Date
    04-19-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Vlookup to sum multiple rows

    Wonderful! That worked. Thanks a bunch

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Vlookup to sum multiple rows

    You're welcome. Thanks for the feedback!

+ 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