+ Reply to Thread
Results 1 to 3 of 3

Sumproduct checking between two dates

  1. #1
    Registered User
    Join Date
    11-17-2005
    Posts
    5

    Sumproduct checking between two dates

    Hello,

    I appear to be having a little difficulty with sumproduct.

    A1 = 01/06/2006 (dd/mm/yyyy format)
    A2 = 01/07/2006
    B1 = 01/06/2006
    B2 = 01/07/2006
    C1 = 10
    C2 = 20

    The formula I'm using is :

    =SUMPRODUCT(--(B1:B2>=--A1),--(B1:B2<--A2),C1:C2)

    This results in a value of '0'. I was expecting a value of '10'.

    Any advice, please?

    Many thanks.

    Best regards from the UK,

    Rob.

  2. #2
    Arvi Laanemets
    Guest

    Re: Sumproduct checking between two dates

    Hi
    =SUMPRODUCT(--(B1:B2>=A1),--(B1:B2<A2),C1:C2)


    --
    Arvi Laanemets
    ( My real mail address: arvi.laanemets<at>tarkon.ee )


    "bikergsx" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hello,
    >
    > I appear to be having a little difficulty with sumproduct.
    >
    > A1 = 01/06/2006 (dd/mm/yyyy format)
    > A2 = 01/07/2006
    > B1 = 01/06/2006
    > B2 = 01/07/2006
    > C1 = 10
    > C2 = 20
    >
    > The formula I'm using is :
    >
    > =SUMPRODUCT(--(B1:B2>=--A1),--(B1:B2<--A2),C1:C2)
    >
    > This results in a value of '0'. I was expecting a value of '10'.
    >
    > Any advice, please?
    >
    > Many thanks.
    >
    > Best regards from the UK,
    >
    > Rob.
    >
    >
    > --
    > bikergsx
    > ------------------------------------------------------------------------
    > bikergsx's Profile:
    > http://www.excelforum.com/member.php...o&userid=28834
    > View this thread: http://www.excelforum.com/showthread...hreadid=545773
    >




  3. #3
    Registered User
    Join Date
    11-17-2005
    Posts
    5
    Many thanks for your quick reply.

    Works wonderfully. 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