+ Reply to Thread
Results 1 to 4 of 4

Sumproduct help

  1. #1
    Registered User
    Join Date
    02-20-2015
    Location
    KHCC
    MS-Off Ver
    2003
    Posts
    9

    Question Sumproduct help

    Hi there,

    I have put this formula into my spreadsheet and it is coming back as 0, Ive stared at it for ages and can't see my mistake, could someone advise?

    =SUMPRODUCT((Sheet1!Q2:Q199 >=DATE(2014,4,1)),(Sheet1!Q2:Q199 <=DATE(2014,6,30)),(Sheet1!Z2:Z199=1))

    I am trying to calculate the number of "1"s occuring between 2 dates.

    Thank you, I'm going mad!

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Sumproduct help

    Try this:

    Please Login or Register  to view this content.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    02-20-2015
    Location
    KHCC
    MS-Off Ver
    2003
    Posts
    9

    Re: Sumproduct help

    YAS!!

    Thank you so much!! :D

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,500

    Re: Sumproduct help

    Another option would be

    =SUMPRODUCT(--(Sheet1!Q2:Q199>=DATE(2014,4,1)), --(Sheet1!Q2:Q199<=DATE(2014,6,30)), --(Sheet1!Z2:Z199=1))

    Both results force Excel to see TRUE/FALSE results as 1/0 which then can be summed or multiplied.
    ChemistB
    My 2

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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. Count SUMPRODUCT Members / Average of SUMPRODUCT
    By Shingaru in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2014, 03:59 PM
  2. Replies: 1
    Last Post: 05-19-2012, 02:54 AM
  3. Replies: 5
    Last Post: 04-20-2012, 08:54 AM
  4. Replies: 6
    Last Post: 03-09-2011, 08:01 AM
  5. 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

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