+ Reply to Thread
Results 1 to 6 of 6

Formula Help - Summing a crosstable with multiple criteria (sumproduct?)

  1. #1
    Registered User
    Join Date
    04-21-2011
    Location
    Boston
    MS-Off Ver
    Excel 2010
    Posts
    61

    Formula Help - Summing a crosstable with multiple criteria (sumproduct?)

    I can't seem to figure this one out. I tried different sumproduct variations but nothing seems to be working. I've attached an example of what I am trying to accomplish.

    The data set area is what I am trying to sum from into the summary area. The criteria that I need to pull by customer is the month and the revenue or units field. Cell I4 should be 51,0000 and cell K4 should be 114,321.


    I am not able to further manipulate the data set and am looking to put a formula in the highlighted section.


    Any ideas?
    Attached Files Attached Files

  2. #2
    Forum Contributor Mvaldesi's Avatar
    Join Date
    01-21-2011
    Location
    Plano, TX
    MS-Off Ver
    MS365 (PC) v.2108
    Posts
    259

    Re: Formula Help - Summing a crosstable with multiple criteria (sumproduct?)

    Does this work for you?
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-21-2011
    Location
    Boston
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: Formula Help - Summing a crosstable with multiple criteria (sumproduct?)

    Thanks for the reply.

    It doesn't unfortunately because my working data set (not the example provided) is much larger and I am trying to make the formula pick up the correct values automatically through looking up the customer as you've done, but also to look up the month and what the reference value is (revenue, units, etc) without having to change the columns manually, especially as the month columns are dynamic and will change depending on date inputs.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Formula Help - Summing a crosstable with multiple criteria (sumproduct?)

    Try array entering this.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.


    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    1
    Data Set
    Summary
    2
    Month 1
    Month 1
    Month 2
    Month 2
    Month 1
    Month 1
    Month 2
    Month 2
    3
    Revenue
    Units
    Revenue
    Units
    Revenue
    Units
    Revenue
    Units
    4
    Customer 1
    31000
    34
    62297
    95
    Customer 1
    51000
    60
    114321
    135
    5
    Customer 1
    20000
    26
    52024
    40
    Customer 2
    92000
    80
    72982
    94
    6
    Customer 2
    16000
    14
    34405
    70
    7
    Customer 2
    76000
    66
    38577
    24
    Dave

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Formula Help - Summing a crosstable with multiple criteria (sumproduct?)

    On the other hand this one does not have to be array entered.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    04-21-2011
    Location
    Boston
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: Formula Help - Summing a crosstable with multiple criteria (sumproduct?)

    Thanks a ton guys! Worked flawlessly!

+ 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. Formula for summing on multiple row criteria and a dynamic column criteria
    By ianswilson815 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-25-2016, 01:58 PM
  2. SUMPRODUCT formula with multiple criteria (?)
    By ss3060 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2016, 04:51 PM
  3. summing multiple criteria between date range formula question
    By lilsnoop in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-02-2015, 10:31 PM
  4. [SOLVED] Sumproduct the answer? Multiple Criteria and Horizontal Summing
    By lewny1983 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-07-2013, 10:01 AM
  5. [SOLVED] Sumproduct and summing last occurrences of criteria
    By Spankyf in forum Excel General
    Replies: 5
    Last Post: 05-15-2012, 01:01 PM
  6. Replies: 6
    Last Post: 06-08-2011, 09:49 PM
  7. Formula Problem Summing With Multiple Criteria
    By bmelton in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-11-2011, 12:06 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