+ Reply to Thread
Results 1 to 5 of 5

Date Ranges - 2 formulas needed

  1. #1
    Forum Contributor
    Join Date
    07-06-2013
    Location
    USA
    MS-Off Ver
    MS Office 2019 Pro Plus
    Posts
    182

    Date Ranges - 2 formulas needed

    WS attached

    1st: SALES T3 is where formula needs to go. I want SALES T6:1005 sum into T3 whenever
    The dates in P6:1005 fall within the date range entered on SALES Y3 and Z3

    2nd: Same formula just different cells
    SALES U3 is where formula needs to go. I want SALES U6:1005 sum into U3 whenever
    The dates in P6:1005 fall within the date range entered on SALES Y4 and Z4
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Date Ranges - 2 formulas needed

    Part 1
    =SUMIFS($T$6:$T$1005,$P$6:$P$1005,">="&$Y$3,$P$6:$P$1005,"<="&$Z$3)

    and part 2:
    =SUMIFS($U$6:$U$1005,$P$6:$P$1005,">="&$Y$3,$P$6:$P$1005,"<="&$Z$3)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Date Ranges - 2 formulas needed

    T3 =sumifs(t6:t1005,p6:p1005,">="&y3,p6:p1005,"<="&z3)

    u3 =sumifs(u6:u1005,p6:p1005,">="&y3,p6:p1005,"<="&z3)

  4. #4
    Forum Contributor
    Join Date
    07-06-2013
    Location
    USA
    MS-Off Ver
    MS Office 2019 Pro Plus
    Posts
    182

    Re: Date Ranges - 2 formulas needed

    thanks, i am posting a new one shortly.

    I had to make one change to your formula. part 2 was configred to Y3-Z3 instead of Y4-Z4 so i changed it and it works fine. thanks again.

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Date Ranges - 2 formulas needed

    Glad we could help. Thanks for the rep!

+ 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. Date ranges, if then formulas?
    By excel-lent13 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-05-2017, 05:25 PM
  2. Formulas to highlight date ranges
    By qualityjohn in forum Excel General
    Replies: 29
    Last Post: 02-17-2016, 01:25 AM
  3. [SOLVED] Dashboard help needed. Need chart axis to change based on date ranges.
    By mcranda in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-18-2013, 10:30 AM
  4. [SOLVED] 2 simple date formulas needed
    By James C in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2013, 04:03 PM
  5. Replies: 5
    Last Post: 05-10-2012, 02:13 PM
  6. Help needed on Date formulas
    By shminas in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-30-2006, 06:05 AM
  7. Date formulas needed
    By David in forum Excel General
    Replies: 9
    Last Post: 07-23-2005, 09:05 PM

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