+ Reply to Thread
Results 1 to 3 of 3

Sum if date ranged.

  1. #1
    Registered User
    Join Date
    12-13-2010
    Location
    Charlotte
    MS-Off Ver
    Excel 2003
    Posts
    6

    Question Sum if date ranged.

    I am looking for help with an equation. I have tried a couple things and I have not been able to figure out a solution to what I need to calculate.


    I am looking to make a data tracker of occurrences of events. I have a set of "raw" data that is imputed of all occurrences. They include Column A: Date, Column B: Name, Column C: number of occurrences at the event.

    There can be multiple date name and occurrence combination (see attached excel file)



    What I am looking to make is a new tab on he bottom that will have a summary and you can pick a date range.


    What I have is the option to type the two dates in the top. I would like the chart below to adjust for the information that fits the date range.(see attached excel file)

    I have tried several sum ifs but cannot get anything to work.

    report demo.xlsx
    Last edited by NBVC; 12-13-2010 at 05:02 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Sum if date ranged.

    Try, in C7, copied down and over to next column:

    =SUMPRODUCT(--('raw data'!$B$2:$B$14=$B7),--('raw data'!$A$2:$A$14>=$E$2),--('raw data'!$A$2:$A$14<=$G$2),'raw data'!C$2:C$14)

    or, post 2003 versions

    =SUMIFS('raw data'!C$2:C$14,'raw data'!$B$2:$B$14,$B7,'raw data'!$A$2:$A$14,">="&$E$2,'raw data'!$A$2:$A$14,"<="&$G$2)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    12-13-2010
    Location
    Charlotte
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Sum if date ranged.

    Thanks for the quick reply. That worked perfectly!

+ 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