+ Reply to Thread
Results 1 to 4 of 4

SUMIFS using date ranges

  1. #1
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    SUMIFS using date ranges

    I've attached a workbook with two tabs. One tab ("Serial Dates") has a single row of dates listed in order. (although some dates are missing).

    The second tab has two columns of dates for each row: An Open date and a Close date. Next to the Open and Close date is a value (Column S).

    In the first tab, for every row, I want to get a sum of all values (in column S of the second tab) which would be included in the date ranges shown in the second tab.

    I've tried using SUMIFS without success. I've also shown some manual calcs to illustrate what I'm looking for. Please let me know if I need to clarify anything. As always I appreciate the help of you Excel geniuses!
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: SUMIFS using date ranges

    Here's the formula I think you need in Serial Dates!C3, and copied down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    However - can you please clarify the value you expect in B7?

    I expected you to include S11:S16, as these rows overlap 30 July - but you've stated this value should include S3:S10, all of which are CLOSED on 27 July?

    If my assumption on what your logic SHOULD be is incorrect, please clarify.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: SUMIFS using date ranges

    Please try at B4
    =SUMIFS('Date Ranges'!S:S,'Date Ranges'!A:A,"<"&A4+1,'Date Ranges'!B:B,">="&A4)

    B7 should sum(S11:S16)

  4. #4
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    Re: SUMIFS using date ranges

    Thanks. Yes you're both correct re: B7..

+ 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. SUMIFS Between Date Ranges
    By hb17 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-25-2019, 03:31 PM
  2. [SOLVED] SUMIFS Date Ranges
    By Bart60 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-16-2019, 09:27 AM
  3. [SOLVED] SUMIFS with Date ranges getting #VALUE!
    By HeadSkrach in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-22-2016, 05:31 PM
  4. [SOLVED] SUMIFS Help - Multiple date ranges
    By dspblues in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 10-18-2014, 07:38 AM
  5. [SOLVED] SUMIFS with time and date name ranges
    By tradersumit in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2012, 07:47 AM
  6. Sumifs Using Date Ranges
    By Loisw in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-21-2012, 07:43 AM
  7. How to use SUMIFS when using two different date ranges
    By jrtaylor in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-20-2011, 07:30 PM

Tags for this Thread

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