+ Reply to Thread
Results 1 to 4 of 4

Counting number of cells containing a date less then a year ago

  1. #1
    Registered User
    Join Date
    10-24-2016
    Location
    Colchester, England
    MS-Off Ver
    Excel 2013
    Posts
    39

    Counting number of cells containing a date less then a year ago

    Hi

    I am trying to figure out a formula to count the number of cells in a range containing a date that is less than a year from today.

    The dates are in cells AC9 to AC24.

    I know its probably simple but I just cant think. Any ideas?

    Thanks in advance

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,671

    Re: Counting number of cells containing a date less then a year ago

    Try

    =COUNTIF(AC9:AC24,">=" &EDATE(TODAY(),-12))

  3. #3
    Registered User
    Join Date
    10-24-2016
    Location
    Colchester, England
    MS-Off Ver
    Excel 2013
    Posts
    39

    Re: Counting number of cells containing a date less then a year ago

    It worked! thanks very much

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,181

    Re: Counting number of cells containing a date less then a year ago

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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: 6
    Last Post: 03-02-2016, 10:41 AM
  2. [SOLVED] Counting Number of Cell by Quarter of Year
    By ususim in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-23-2013, 11:38 PM
  3. [SOLVED] Counting number of findings of a certain month and year
    By Saturn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2013, 08:24 AM
  4. Dates in Excel - Counting the Number of Months in a Year
    By uclaboy82 in forum Excel General
    Replies: 1
    Last Post: 06-04-2012, 11:13 PM
  5. Counting Months year to date.
    By WKM in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 05-18-2010, 03:08 AM
  6. Counting number of occurences specific date in range of cells in a table
    By jzzman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2009, 01:47 AM

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