+ Reply to Thread
Results 1 to 3 of 3

sumif between 2 days

  1. #1
    Registered User
    Join Date
    09-05-2005
    Posts
    3

    sumif between 2 days

    i have a worksheet:

    A_____________________B
    10-jan-05___________23.93
    11-jan-05___________1.23
    12-jan-05___________12.95
    23-feb-05___________25.95
    24-feb-05___________124.32
    22-nov-05___________34.32
    23-nov-05___________23.32
    01-nov-05___________10.02
    02-nov-05___________1.95
    01-dec-05___________23.32
    02-dec-05___________74.04
    05-dec-05___________85.90

    now i want the sum of the values in B of the month november! I have tried everything but nothing works! I using a dutch version of Excel so the functions are translated but one of my functions looks like this:

    SUMIF(A1:A20, AND(">=01-11-2005", "<=31-10-2005"), B1:B20)

    Who can help me!

  2. #2
    Registered User
    Join Date
    02-25-2005
    Posts
    84
    Have a third column with the formula =MONTH(A2) and fill it down.

    Then its =SUMIF(C1:C12,11,B1:B12)
    WideMonk

  3. #3
    Peo Sjoblom
    Guest

    Re: sumif between 2 days

    =SUMIF(A1:A20,">"&DATE(2005,10,31),B1:B20)-SUMIF(A1:A20,">="&DATE(2005,11,1)
    ,B1:B20)


    --

    Regards,

    Peo Sjoblom

    "erwt" <[email protected]> wrote in message
    news:[email protected]...
    >
    > i have a worksheet:
    >
    > A_____________________B
    > 10-jan-05___________23.93
    > 11-jan-05___________1.23
    > 12-jan-05___________12.95
    > 23-feb-05___________25.95
    > 24-feb-05___________124.32
    > 22-nov-05___________34.32
    > 23-nov-05___________23.32
    > 01-nov-05___________10.02
    > 02-nov-05___________1.95
    > 01-dec-05___________23.32
    > 02-dec-05___________74.04
    > 05-dec-05___________85.90
    >
    > now i want the sum of the values in B of the month november! I have
    > tried everything but nothing works! I using a dutch version of Excel so
    > the functions are translated but one of my functions looks like this:
    >
    > SUMIF(A1:A20, AND(">=01-11-2005", "<=31-10-2005"), B1:B20)
    >
    > Who can help me!
    >
    >
    > --
    > erwt
    > ------------------------------------------------------------------------
    > erwt's Profile:

    http://www.excelforum.com/member.php...o&userid=26993
    > View this thread: http://www.excelforum.com/showthread...hreadid=484871
    >




+ 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