+ Reply to Thread
Results 1 to 2 of 2

sumif date is in certain month

  1. #1
    AKM
    Guest

    sumif date is in certain month

    I need to sum currency when the corresponding date is in a certain month. I
    can not figure out the formula. For example:
    SUMIF(D2:D20,">5/31/05, <6/30/05",C2:C20)
    When the date in D is in the month of June, add the amount in C. I think
    the problem is in the calculation of the month. I have tried every thing I
    can think of, including using the (=MONTH).

  2. #2
    JE McGimpsey
    Guest

    Re: sumif date is in certain month

    one way:

    =SUMIF(D2:D20,">5/31/05",C2:C20) - SUMIF(D2:D20,">=6/30/05",C2:C20)

    Another:

    =SUMPRODUCT(--(D2:D20>DATE(2005,5,31)),--(D2:D20<DATE(2005,6,30)),
    C2:C20)




    In article <[email protected]>,
    AKM <[email protected]> wrote:

    > I need to sum currency when the corresponding date is in a certain month. I
    > can not figure out the formula. For example:
    > SUMIF(D2:D20,">5/31/05, <6/30/05",C2:C20)
    > When the date in D is in the month of June, add the amount in C. I think
    > the problem is in the calculation of the month. I have tried every thing I
    > can think of, including using the (=MONTH).


+ 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