+ Reply to Thread
Results 1 to 5 of 5

Formula Does Not Work, Shows 0 as result

  1. #1
    Registered User
    Join Date
    11-15-2012
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Formula Does Not Work, Shows 0 as result

    =SUMPRODUCT((Drop!B1:B100000="11/12/2012")*(Drop!D1:D100000="Enrique Garcia")*(Drop!F1:F100000="Closed"))

    I'm trying to create a formula that will count a row so long as three conditions are met. A specific date, a specific user, and status is "closed". What have I done wrong with this formula?

  2. #2
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Formula Does Not Work, Shows 0 as result

    Try it like this:

    =SUMPRODUCT((Drop!B1:B100000=--"11/12/2012")*(Drop!D1:D100000="Enrique Garcia")*(Drop!F1:F100000="Closed"))

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Formula Does Not Work, Shows 0 as result

    It's most likely the date that's the problem, you have it as a string, "11/12/2012", in the formula on the worksheet it's a number.

    Try putting 11/12/2012 in a cell and substiting "11/12/2012" for the cell refernce.

    For example if you have 11/12/2012 in A1:
    =SUMPRODUCT((Drop!B1:B100000=A1)*(Drop!D1:D100000="Enrique Garcia")*(Drop!F1:F100000="Closed"))
    If posting code please use code tags, see here.

  4. #4
    Forum Contributor
    Join Date
    10-31-2012
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2003/2007
    Posts
    145

    Re: Formula Does Not Work, Shows 0 as result

    Have you tried using COUNTIFS?
    Please Login or Register  to view this content.
    Let me know if this is what you were looking for!


    Simeon
    Don't forget to click the star in this post!

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula Does Not Work, Shows 0 as result

    My suggestion(as your profile says that you work in Excel 2010) is to use COUNTIFS.

    SUMPRODUCT with 100000 !! rows, will kill your computer.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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