+ Reply to Thread
Results 1 to 4 of 4

Adding corresponding values of a date range (SUMIFS & COUNTIFS)

  1. #1
    Registered User
    Join Date
    02-29-2016
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Adding corresponding values of a date range (SUMIFS & COUNTIFS)

    Afternoon all,

    Need some help with excel formulae in adding a series of values with corresponding dates that meet a certain criteria.

    Before I show what I have currently, to put in context. There are a list of dates in column H and a balance for each of these in column L. What I am trying to do is to sum the values in column L for a given month and week but not running over into past months (i.e February).

    =SUMIFS($L$2:$L$100,($H$2:$H$100=(">="&Q1-7)),$L$2:$L$100,($H$2:$H$100=(">="&1/3/2016)))

    Q1 being today's date

    I'm trying to use the above to calculate all the values in L that have a date in H within the last week but are "not" before the 01/03/2016

    I also want to try and repeat the above for values of L that are only in the month of March in total.

    Any help would be much appreciated

    Regards

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Adding corresponding values of a date range (SUMIFS & COUNTIFS)

    try this
    =SUMIFS($L$2:$L$100,$H$2:$H$100,">="&TODAY()-7,$H$2:$H$100,"<="&DATEVALUE("1/3/2016"))

    I'm assuming Q1 is a cell reference for todays() date
    I have changed to use today()
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    02-29-2016
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Adding corresponding values of a date range (SUMIFS & COUNTIFS)

    This worked perfectly, thank you for your help (Rep+)

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Adding corresponding values of a date range (SUMIFS & COUNTIFS)

    your welcome, 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. Adding date range to SumIf/CountIfs combination
    By lans4rd in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-12-2015, 05:21 PM
  2. [SOLVED] Countifs and sumifs using Name Range
    By anh03 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-23-2015, 11:19 PM
  3. [SOLVED] I can countifs a range but not sumifs
    By port in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-18-2014, 07:06 PM
  4. using countifs to track unique values over a date range
    By msnyderxc in forum Excel General
    Replies: 1
    Last Post: 03-21-2014, 11:48 AM
  5. [SOLVED] SUMIFS, COUNTIFS, Using a date as one of the critera
    By fgruhlke in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-07-2014, 10:12 PM
  6. Countifs and Sumifs VBA code with criterias between 2 date range
    By Jul Stev in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-05-2013, 07:08 AM
  7. Using countifs with date range, and summing values in that range
    By bmcoonan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2013, 11:28 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