+ Reply to Thread
Results 1 to 5 of 5

Count between two dates with two conditions

  1. #1
    Forum Contributor
    Join Date
    12-16-2015
    Location
    Southern Cali
    MS-Off Ver
    2013
    Posts
    104

    Count between two dates with two conditions

    Hello,

    R10C1 = 01/01/2016
    R11C1 = 01/01/2018
    R12C1 = 01/01/2017


    I want to do the following:

    Count Column 1 if it falls between today and 2 years from today and 1 year from today. But I do not want it to be counted if the date is less than today. I don't want to count ones that are past due. The below formula is also counting the ones that are past due. So my totals look skewed since I have a total showing "due in two years or less" and a total for "over due".

    I have tried the following: =COUNTIFS(CFMB!P$12:P14,"<="&TODAY()+730,CFMB!P$12:P14,"<="&TODAY()+365)

    I have a separate column for the over due items based on the date.
    Last edited by rhett7660; 06-30-2017 at 01:11 PM. Reason: Solved

  2. #2
    Forum Contributor
    Join Date
    12-16-2015
    Location
    Southern Cali
    MS-Off Ver
    2013
    Posts
    104

    Re: Count between two dates with two conditions

    I think I just figured it out, I needed to add another condition for the equal or less than today not to show. Still testing.

  3. #3
    Forum Contributor
    Join Date
    12-16-2015
    Location
    Southern Cali
    MS-Off Ver
    2013
    Posts
    104

    Re: Count between two dates with two conditions

    I used the following:

    =COUNTIFS(CFMB!P$12:P14,"<="&TODAY()+730,CFMB!P$12:P14,"<="&TODAY()+365,CFMB!P$12:P14,">"&TODAY())

    Nope this didn't work either.
    Last edited by rhett7660; 06-29-2017 at 06:01 PM.

  4. #4
    Forum Contributor
    Join Date
    12-16-2015
    Location
    Southern Cali
    MS-Off Ver
    2013
    Posts
    104

    Re: Count between two dates with two conditions

    Nope not solved.... Ugh.

  5. #5
    Forum Contributor
    Join Date
    12-16-2015
    Location
    Southern Cali
    MS-Off Ver
    2013
    Posts
    104

    Re: Count between two dates with two conditions

    Ok, I was able to get what I wanted it to do by using the following formula:

    =COUNTIFS(CFMB!P$12:P14,"<="&TODAY()+728,CFMB!P$12:P14,"<>"&TODAY()+364,CFMB!P$12:P14,">"&TODAY())

+ 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] Count Unique Number of Dates, Excluding Designated Holidays and Weekend Dates
    By Winship in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-07-2017, 08:37 AM
  2. Late count based on number of days between two dates for a list of dates
    By Keats713 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-03-2017, 11:03 PM
  3. Late count based on number of days between two dates for a list of dates
    By Keats713 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-03-2017, 06:35 PM
  4. Late count based on number of days between two dates for a list of dates
    By Keats713 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-03-2017, 02:19 PM
  5. [SOLVED] Require a formula to count unique dates excluding weekend dates
    By john dalton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-09-2015, 09:17 AM
  6. Replies: 1
    Last Post: 12-18-2012, 03:09 PM
  7. [SOLVED] Multiple conditions and count if with dates
    By spoursy in forum Excel General
    Replies: 4
    Last Post: 04-30-2012, 04:19 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