+ Reply to Thread
Results 1 to 5 of 5

I don't understand SUMPRODUCT formula result

  1. #1
    Registered User
    Join Date
    12-16-2016
    Location
    New Mexico
    MS-Off Ver
    2007
    Posts
    36

    I don't understand SUMPRODUCT formula result

    SUMPRODUCT(--(YEAR(JOET2!$B$3:$B$4999)=2015),--(JOET2!$A$3:$A$4999)=8568)--(MONTH(JOET2!$E$3:$E$4999)=12)

    This formula is not working as intended I want it to meet the year of 2015 the month of 12 and the group number of 8568 then tell me how many there are it should say zero but it says 1.

    8568 07/25/16 5100 6650024 07
    8568 09/19/16 5100 6660028 09

    Yet this formula below has 0 for the count.

    =SUMPRODUCT(--(YEAR(JOET2!$B$3:$B$4999)=2016),--(JOET2!$A$3:$A$4999)=8568)--(MONTH(JOET2!$E$3:$E$4999)=7)

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: I don't understand SUMPRODUCT formula result

    You appear to be missing a comma and some parens.

    =SUMPRODUCT(--(YEAR(JOET2!$B$3:$B$4999)=2016),--(JOET2!$A$3:$A$4999=8568),--(MONTH(JOET2!$E$3:$E$4999)=7))

    alternatively:

    =SUMPRODUCT((YEAR(JOET2!$B$3:$B$4999)=2016)*(JOET2!$A$3:$A$4999=8568)*(MONTH(JOET2!$E$3:$E$4999)=7))
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    06-24-2016
    Location
    Slovakia
    MS-Off Ver
    MS Office 365
    Posts
    92

    Re: I don't understand SUMPRODUCT formula result

    Hi,
    if you have Excel 2007 you don't need to use SUMPRODUCT anymore, it was needed only in older versions, now you can do it with SUMIF or SUMIFS function.
    Simple example of SUMIF function is here.

    Other problem can be format of your data. if it is text maybe you just need to put "" in your formula like this:
    =SUMPRODUCT(--(YEAR(JOET2!$B$3:$B$4999)="2016"),--(JOET2!$A$3:$A$4999)="8568")--(MONTH(JOET2!$E$3:$E$4999)="07")

    It depends on format you have.
    I hope this can help you fix this, if not just upload your file or sample and we can fix it
    Have a fantastic day

  4. #4
    Registered User
    Join Date
    12-16-2016
    Location
    New Mexico
    MS-Off Ver
    2007
    Posts
    36

    Re: I don't understand SUMPRODUCT formula result

    working the quotes fixed it
    Last edited by Dark0Prince; 02-17-2017 at 06:40 PM.

  5. #5
    Registered User
    Join Date
    12-16-2016
    Location
    New Mexico
    MS-Off Ver
    2007
    Posts
    36

    Re: I don't understand SUMPRODUCT formula result

    eddited double post

+ 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 showing #VALUE - Can't understand why it won't work
    By vkz7hxy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-12-2016, 08:36 AM
  2. SUMPRODUCT vs. SUM: Trying to understand why SUM will not work in a formula
    By McStagger in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-09-2014, 03:22 AM
  3. Do not understand sumproduct formula
    By alowry in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-06-2013, 01:34 PM
  4. Why sumproduct formula return result 0
    By ARIA1 in forum Excel General
    Replies: 16
    Last Post: 05-19-2012, 10:47 AM
  5. Index Match question........dont understand this result
    By welchs101 in forum Excel General
    Replies: 3
    Last Post: 11-17-2011, 10:52 AM
  6. SUMPRODUCT: can sum a cell formula result?
    By matrix_qw in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-25-2008, 07:49 PM
  7. can understand the result of a MID&FIND
    By carsto in forum Excel General
    Replies: 3
    Last Post: 12-22-2006, 08:07 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