+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT formula issues

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    97

    SUMPRODUCT formula issues

    Please see attached.

    I am having some issues around the SUMPRODUCT formula


    1) Top 10 Sheet - Looking to populate Column C with the sum of the QTY(Source: Error Report Data Column K) column for each of the Defects listed in Column A.

    2) 1st, 2nd and 3rd Top defect sheets, Having issues calculating the TOP 10 Components (F7:F16) from the Component list (Column A). The Top 10 values in Column G are correct, just the name is not corresponding correctly.

    3) As well on the 1st, 2nd and 3rd Sheets, similar to the first issue, calculating the QTY (Source: Error Report Data Column K) but instead by defect it will be by Component listed in Column A

    Hope this makes sense and I greatly appreciate anyone's time in advance for helping me out!

    sample.xlsx
    Last edited by antexity; 06-24-2015 at 12:10 PM.

  2. #2
    Registered User
    Join Date
    04-02-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: SUMPRODUCT formula issues

    I rewrote my issues above to be more clear. If there are other questions, please let me know, Thanks again.

  3. #3
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: SUMPRODUCT formula issues

    Here is the formula for your QTY calculation using SUMIFS. Put this in C4 and then drag down.
    =SUMIFS('Error Report Data'!$K$2:$K$1613,'Error Report Data'!$J$2:$J$1613,A4,'Error Report Data'!$A$2:$A$1613,"<="&$H$5,'Error Report Data'!$A$2:$A$1613,">="&$H$4)

    You may want to convert some of your sumproducts (e.g. in column B) to SUMIFS or COUNTIFS since they are faster than the array centric SUMPRODUCT.

    As for your second issue, that is a common problem people have with excel. You are essentially looking for a VLOOKUP that can return matches beyond the first match. I think you are very close, but here is a website that gives a bit more detail.
    http://www.globaliconnect.com/excel/...=77&Itemid=473
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  4. #4
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: SUMPRODUCT formula issues

    Hi

    Sumproduct array will slow your file down? That reason why Top 10 table not working??

    So, I clear all your formula on all sheets.
    Top 10 Defects last 12 months sheet
    A4
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Copy down
    B4
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Copy down
    G4
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Copy down.
    F4
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Copy down
    E4
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Copy down.

    No array formulas on that sheet.

    1st & 2nd & 3rd Top Defect sheets
    A4
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Copy down
    B4
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Copy down

    G7 & F7 &E4 is same formulas as Top 10 Defect sheet.

    No Array on all 3 sheets.

    You will notice now it a lot faster as Countifs run faster than array Sumproduct or no array Sumproduct and a little faster than sumifs.

    See the files

    Any problem pm me

    Regard
    Attached Files Attached Files
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

+ 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] Sumproduct issues or best formula
    By Excel-Access in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2014, 06:20 PM
  2. Date format issues with sumproduct formula?
    By Jed Shields in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-19-2012, 07:54 AM
  3. sumproduct issues
    By Dyakin in forum Excel General
    Replies: 6
    Last Post: 03-29-2012, 10:03 AM
  4. Issues with Sumproduct
    By Chareth Cutestory in forum Excel General
    Replies: 6
    Last Post: 09-02-2011, 06:08 PM
  5. sumproduct issues
    By tweety127 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2008, 11:38 AM

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