+ Reply to Thread
Results 1 to 4 of 4

Resolved >>> summing amounts corresponding to variable date ranges

Hybrid View

  1. #1
    Registered User
    Join Date
    10-25-2007
    Posts
    5

    Resolved >>> summing amounts corresponding to variable date ranges

    Hello. I'm new to this forum.

    Can someone help with formula which can sum Amounts from varying Weekly time periods and the result be recorded in the appropriate month? I'm stuck.
    I've attached a simple example of the way the output needs to look and a sample data table below.
    Any help is appreciated!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-28-2006
    Posts
    280
    dzkgny,

    If I'm understanding you correctly, I think this is what you need. In D2 copied down and accross.

    =SUMPRODUCT(--($A$11:$A$70>=$B2),--($A$11:$A$70<=$C2),--($B$11:$B$70=D$1),$C$11:$C$70)

    if you want the week numbers in Col B & C included.

    =SUMPRODUCT(--($A$11:$A$70>$B2),--($A$11:$A$70<$C2),--($B$11:$B$70=D$1),$C$11:$C$70)

    if you only want the weeks between Col B & C. Hopefully, one of these is what you want.

    Dean
    Last edited by Dean England; 10-25-2007 at 05:03 PM.

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Or this in D2, then drag down and across

    =SUMPRODUCT(--($A$11:$A$70>=$B2)*(--($A$11:$A$70<=$C2)*(--($B$11:$B$70=D$1)*(--($C$11:$C$70)))))
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  4. #4
    Registered User
    Join Date
    10-25-2007
    Posts
    5
    This worked great. 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