+ Reply to Thread
Results 1 to 4 of 4

SUMIF and COUNTIF Between Dates with Cell References Dates Help

  1. #1
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    115

    SUMIF and COUNTIF Between Dates with Cell References Dates Help

    I am trying to create a workbook that will ultimately include a series of worksheets to calculate volumes for each month. I know I calculate volumes between a range of dates by inputting greater/equal than and less/equal than the actual month start and end dates (see below) to get the data I am seeking.

    =SUMIFS(ALLTRAN[Total Cash Paid],ALLTRAN[Date Worked],">=5/1/2018",ALLTRAN[Date Worked],"<=5/31/2018")

    However if I build in a Vlookup formula in another cell to tell me the start and end dates based on the month of the worksheet, no matter how I input this it does not seem to work. So for example my Vlookup to find the Start Date is in P33 and the End Date is in Q33. Regardless if I put quotes or not I can’t get the above formula to work using cell references versus the physical dates. I’m just trying to create something with as minimal maintenance as possible where I won’t have to physical update the date in the formula M2M or Y2Y. Any advice? Or can this not be done?

    =SUMIFS(ALLTRAN[Total Cash Paid],ALLTRAN[Date Worked],">=P33",ALLTRAN[Date Worked],"<=Q33")

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

    Re: SUMIF and COUNTIF Between Dates with Cell References Dates Help

    The correct syntax for that second formula would be like this:

    ">="&P33 and "<="&Q33

  3. #3
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    115

    Re: SUMIF and COUNTIF Between Dates with Cell References Dates Help

    Thank you Falcon! You're a god send, I wish I had asked this question ages ago!

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

    Re: SUMIF and COUNTIF Between Dates with Cell References Dates Help

    Happy to help! Thanks for the rep!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Last edited by 63falcondude; 06-14-2018 at 10:52 AM. Reason: Rep Added

+ 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. Due dates sumif/countif formula questions
    By amauryroseline in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2014, 01:07 PM
  2. COUNTIF: Dates and cell contents
    By kevinchan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-06-2014, 05:42 AM
  3. Replies: 3
    Last Post: 10-03-2011, 03:19 PM
  4. Need Sumif to count dates that fall within a range of dates
    By Paralegal101 in forum Excel General
    Replies: 1
    Last Post: 09-12-2011, 02:26 PM
  5. COUNTIF function with Dates & due dates.
    By kcowper in forum Excel General
    Replies: 3
    Last Post: 03-10-2011, 12:51 AM
  6. Replies: 3
    Last Post: 12-13-2009, 11:48 PM
  7. Replies: 5
    Last Post: 07-19-2006, 12:22 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