+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT with Multiple Criteria Returns Wrong Value

  1. #1
    Registered User
    Join Date
    04-08-2010
    Location
    Montreal
    MS-Off Ver
    2003 & 2010
    Posts
    16

    SUMPRODUCT with Multiple Criteria Returns Wrong Value

    I am using a SUMPRODUCT(--,(... formula that looks like this:

    =SUMPRODUCT(--(Sheet1!A6:A19<=Données!$C$5),--(Sheet1!C6:C19=Données!$L32),--(Sheet1!G6:G19))

    It returns the value 0.00. But it is wrong! It's driving me crazy. I appreciate your help!

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMPRODUCT with Multiple Criteria Returns Wrong Value

    Your formula looks OK except you probably don't need to "co-erce" the sum range, i.e. this should be sufficient

    =SUMPRODUCT(--(Sheet1!A6:A19<=Données!$C$5),--(Sheet1!C6:C19=Données!$L32),Sheet1!G6:G19)

    I assume there are numbers in column G, what sort of values are in A6:A19 and C6:C19?
    Audere est facere

  3. #3
    Registered User
    Join Date
    04-08-2010
    Location
    Montreal
    MS-Off Ver
    2003 & 2010
    Posts
    16

    Re: SUMPRODUCT with Multiple Criteria Returns Wrong Value

    Thanks for your attention. The two criteria ranges contain dates in yyyy-mm and yyyy-mm-dd form such as 201012 and 20101031.

    Still doesn't work, and I know the formula is right. For now I recorded a macro to deal with the problem, but I'd like to avoid macros.

    Thanks!

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: SUMPRODUCT with Multiple Criteria Returns Wrong Value

    Can you please attach a dummy file?
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ 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