+ Reply to Thread
Results 1 to 4 of 4

Is it possible to get a count of dates within a 90day period?

  1. #1
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Is it possible to get a count of dates within a 90day period?

    I have a list of 225 records.. each or most have a expiration date column.. im trying to build a simple dashboard that can show the user a "count" of records that have a exp date due within 90days of today.

    So if only 5 records have a date that is less than 90 away from today, then i just want the dashboard to show that total number..

    #1 value 02/20/2025
    #2 value 02/21/2023
    #3 value 07/25/2022
    #4 value 08/14/2022
    #5 value 05/21/2022

    in the above case, i would want my dash board to show total count of 2 (#3, #4 i dont need to show the rows, just total counts)

    then im assuming that with the same formula i can tweak it for the ones that have already passed, and in that case based on this example it would return 1


    Dashboard values:

    Due to Expire within 90Days = 2
    Expired = 1
    If you find the suggestion or solution helpful, please consider adding reputation to the post.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,750

    Re: Is it possible to get a count of dates within a 90day period?

    HOW TO ATTACH YOUR SAMPLE WORKBOOK:

    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: Is it possible to get a count of dates within a 90day period?

    You can use COUNTIFS for that, provided your data is a date in excel sense (not just text which looks like a date). So assuming your dates are in column C:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    shall do. As for already expired COUNTIF shall help
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  4. #4
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Is it possible to get a count of dates within a 90day period?

    thanks for the suggestion and help, the first one seems to do exactly what im looking for, had to plug in some dates since that information was not available yet, but counts seem to be calculating correctly.
    Last edited by AliGW; 06-21-2022 at 12:22 AM. Reason: PLEASE don't quote unnecessarily

+ 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. Replies: 4
    Last Post: 04-21-2021, 05:44 PM
  2. Need to count how many days between certain dates in any 180 day period
    By Suseee333 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-16-2018, 11:58 AM
  3. [SOLVED] Count the number of months between 2 dates but only in a defined period
    By forrestgump1980 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-28-2014, 05:24 PM
  4. [SOLVED] count number of dates within given time period
    By j.farr3ll in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-16-2013, 11:14 AM
  5. Count unique occurrences of dates within period
    By areynolds in forum Excel General
    Replies: 6
    Last Post: 10-26-2011, 01:31 PM
  6. How to count dates in a 12 month rolling period
    By butlej6 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 06-05-2008, 06:00 PM
  7. How do I count dates in a 12 month rolling period?
    By butlej6 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-05-2008, 05:25 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