+ Reply to Thread
Results 1 to 7 of 7

Sum column values based on intersecting criteria in row and column

  1. #1
    Registered User
    Join Date
    12-20-2012
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2007
    Posts
    14

    Sum column values based on intersecting criteria in row and column

    I know I can use SUMIF and direct reference to each column but I want to use some sort of intersecting index forumula to sum values in a column base on row and column criteria. Sample file attached. Thanks everyone~!
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Sum column values based on intersecting criteria in row and column

    Like a Pivot Table?
    Attached Files Attached Files

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Sum column values based on intersecting criteria in row and column

    Hi,

    In L17 put this formula
    =SUMPRODUCT(--($A$3:$A$12="JIM"),--(B3:B12))

    See the attached for this and another possible answer using Filters.
    Attached Files Attached Files
    Last edited by MarvinP; 05-22-2013 at 03:06 PM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Sum column values based on intersecting criteria in row and column

    =sumproduct(($a$3:$a$12="jim")*($b$2:$e$2="val1")*($b$3:$e$12))

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

    Re: Sum column values based on intersecting criteria in row and column

    You can still use Sumif
    SAMPLE2.xls

  6. #6
    Registered User
    Join Date
    12-20-2012
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Sum column values based on intersecting criteria in row and column

    Yes I want to basically do what the pivot table does using formula's that use lookups to reference the criteria. Also the output table needs to go on a separate worksheet.

  7. #7
    Registered User
    Join Date
    12-20-2012
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Sum column values based on intersecting criteria in row and column

    Here is a better sample file with actual data. May help. I appreciate ya'll's suggestions so far.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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