+ Reply to Thread
Results 1 to 3 of 3

strange problem with conditions in Sumproduct

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    Santiago de Chile
    MS-Off Ver
    Excel 2007
    Posts
    4

    strange problem with conditions in Sumproduct

    How can it be that this function:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ...produces a negative result (while one condition ($G$2:$G$7000<O2) should make sure it doesnt) and the equivalent formulation...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ...does not.
    The columns O and G contain only Dates. I do not understand how a greater date minus a smaller date can be negative
    I have to make sure I am not making a mistake here.

  2. #2
    Registered User
    Join Date
    09-20-2012
    Location
    Santiago de Chile
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: strange problem with conditions in Sumproduct

    I solved the problem by adding a 0 to each array. E.G. instead of $G$2:$G$7000 I wrote $G$2:$G$7000+0.
    The needed hint came from "daddylonglegs" in a other thread.

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: strange problem with conditions in Sumproduct

    @ katosh

    Welcome to the forum.

    Based on your last post it seems that you solved your issue on your own but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

+ 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