+ Reply to Thread
Results 1 to 2 of 2

Sumproduct

  1. #1
    Registered User
    Join Date
    06-23-2017
    Location
    can
    MS-Off Ver
    2010
    Posts
    1

    Sumproduct

    HI All

    I have to understand what this formula does so I can turn it into some SQL query.
    But I am not sure how SUMPRODUCT works
    I googled it and tried what i understand but the value i am getting from SQL and the value the formula is returning on Excel are not matching.
    Can you explain how this sumporoduct thing works to me?
    Please Login or Register  to view this content.
    Thanks a lot

  2. #2
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: Sumproduct

    Hi,

    It counts the total of rows for which all conditions are met.

    The conditions are the following:
    A = "Auto"
    C = " "
    F = $C28
    H = NEWFOUNDLAND or NOVA SCOTIA or NEW BRUNSWICK or PRINCE EDWARD ISLAND
    O = table!$M$5
    (O <= table!$M$4 AND Q >= table!$M$5) OR (O > table!$M$4 AND Q <= table!$M$5 AND Q >= table!$M$5)

    The way it works is that it sums all the cases where it gives one. If all requirements are met, it sums occurences such as 1*1*1*(1+0+0+0)*1*(1+0) = 1, for example

+ 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] Use sumproduct to further parse a sumproduct calculation
    By Araise in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-19-2015, 08:17 PM
  2. Count SUMPRODUCT Members / Average of SUMPRODUCT
    By Shingaru in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2014, 03:59 PM
  3. Replies: 1
    Last Post: 05-19-2012, 02:54 AM
  4. Replies: 5
    Last Post: 04-20-2012, 08:54 AM
  5. Replies: 6
    Last Post: 03-09-2011, 08:01 AM
  6. Subtract Sumproduct from a sumproduct
    By Prcntrygrl in forum Excel General
    Replies: 6
    Last Post: 01-17-2011, 02:34 PM
  7. Using a SumProduct Count to find a SumProduct Total?
    By XL021710 in forum Excel General
    Replies: 3
    Last Post: 02-18-2010, 08:31 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