+ Reply to Thread
Results 1 to 8 of 8

Sum If dates are between week of

  1. #1
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Sum If dates are between week of

    I'm not sure where to start. I tried =And(>=dates(7/6/15),<=dates(7/11/15),Sum(Form Responses1(B2:B4)) but that did not work at all. What I'm trying to do is sum only the dates that fall between week of sheet. I have 52 week of and need to transfer and sum how many occurrences fall between each one. I hope this is clear.
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,757

    Re: Sum If dates are between week of

    What are you trying to sum? Responders sent? Contact hours? Students served?

    You need to use SUMIFS. You can use this formula in Sheet "Week Of" to sum the number of Responders Sent in "Form Responses 1" (column W) for each range of dates. Put in C1 and copy down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Re: Sum If dates are between week of

    Thanks, I reversed the ">="&$v1 to "<="&$v1 and it work great.

  4. #4
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Re: Sum If dates are between week of

    Thanks that worked great. I reversed the last part to say less than or equal to. i am also trying to make the numbers go to the correct spot. Can another function working with the one above? In the Form Responses 1 sheet in column X are code number that correspond with the codes on the Week Of sheet. How can I get the Responses to go to the correct code number on Week Of Sheet?
    Attached Files Attached Files
    Last edited by Wskip49; 07-05-2015 at 04:47 PM.

  5. #5
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Re: Sum If dates are between week of

    Can another function work with this one? See Last Post.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Sum If dates are between week of

    Try this in C4, copied across and down...
    =SUMIFS('Form Responses 1'!$W:$W,'Form Responses 1'!$B:$B,">="&$U4,'Form Responses 1'!$B:$B,"<="&$V4,'Form Responses 1'!$X:$X,'Week Of'!C$3)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Re: Sum If dates are between week of

    FDibbins your solution worked perfectly. Thank you so much.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Sum If dates are between week of

    Happy to help and thanks for the feedback (Jeff did all the heaving-lifting on this 1)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Working with specific dates against Week Commencing dates
    By daveb86 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-11-2015, 05:36 AM
  2. [SOLVED] Counting how many dates in a range fall into this week and last week
    By AneelK in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-08-2013, 09:38 AM
  3. [SOLVED] day of the week dates
    By JK (New England Coffee) in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2006, 11:35 AM
  4. need to convert list of dates to count no. of dates by week
    By neowok in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-30-2006, 11:54 AM
  5. Dates in a week number
    By Mike Fogleman in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM

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