+ Reply to Thread
Results 1 to 3 of 3

sumproduct double criteria

  1. #1
    Registered User
    Join Date
    03-16-2007
    Posts
    13

    sumproduct double criteria

    Hi,
    Before I post here. I use sumproduct to put total qty into the Defect Table.
    But it take a long time for excel to run the counting process. I would like to seek any suggestion from others.

    Problem:
    From master data sheet, I want to plot the qty into the defect table follow by date occurring and by section

    TQ
    Attached Files Attached Files
    Last edited by sep910; 04-23-2009 at 10:10 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: sumproduct double criteria

    If you're running XL2007 exclusively (ie no backwards compatibility required) then you can dispense with SUMPRODUCT altogether and use SUMIFS which is new to XL2007

    So on your Matrix sheet:

    E6: =SUMIFS('Master Data'!$T$8:$T$1000,'Master Data'!$D$8:$D$1000,$C6,'Master Data'!$F$8:$F$1000,$D6,'Master Data'!$G$8:$G$1000,E$5)
    applied across matrix

    NOTE: you should add each Problem to each row (ie C7 should also read Problem 1 ... else you are making things more complex for yourself than necessary -- use Cond Formatting to hide the text if you prefer)

    If you have backwards compatibility issues and thus can't use SUMIFS I would advise you create a concatenation key on Master Data sheet such that arrays can be avoided... eg:

    Master Data!U8: =D8&":"&F8&":"&G8
    copied down for all rows

    Then on the Matrix sheet
    E6: =SUMIF('Master Data'!$U$8:$U$1000,$C6&":"&$D6&":"&E$5,'Master Data'!$T$8:$T$1000)
    applied across matrix

  3. #3
    Registered User
    Join Date
    03-16-2007
    Posts
    13

    Re: sumproduct double criteria

    Hi,
    thanks a lot,
    I been writing the formula for weeks...
    but you done it...

    Any idea to used cond formatting to hide text..
    TQ again..
    Last edited by sep910; 04-22-2009 at 10:46 AM.

+ 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