+ Reply to Thread
Results 1 to 3 of 3

dates ending in next 30 to 60 days

  1. #1
    Registered User
    Join Date
    09-29-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    16

    dates ending in next 30 to 60 days

    Hi guys,

    Just a quick one i've been meddling with to not much success - i have the following formula that checks how many dates are ending in the next 60 days: =countif(AH:AH,"<="&today()+60)

    How would i amend this so it checks how many dates are ending in between the next 30 and 60 days only? (rather than the whole 60 days?)

    Any help much appreciated
    Abs

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: dates ending in next 30 to 60 days

    Hi,

    Instead of the COUNTIF() function use the COUNTIFS() instead. e.g.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    It probably doesn't matter too much here but try and get into the habit of only using ranges that contain data rather than whole columns. Use dynamic range names where data may be expanding or contracting.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    09-29-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: dates ending in next 30 to 60 days

    Great thanks!

+ 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. Function for Top 5 dates ending soonest
    By polartx in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-31-2013, 12:19 PM
  2. [SOLVED] Sum 7 days of information based on week ending date
    By tatyanamarie in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 08-18-2013, 07:22 AM
  3. [SOLVED] Help creating a date range with beginning and ending days of the month.
    By charlesbb88 in forum Excel General
    Replies: 6
    Last Post: 04-27-2012, 09:28 PM
  4. Replies: 1
    Last Post: 05-27-2010, 12:32 PM
  5. [SOLVED] Create Qtr Ending Dates
    By Alex Martinez in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-27-2005, 04: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