+ Reply to Thread
Results 1 to 4 of 4

Counting all the dates greater than a certain date

  1. #1
    Registered User
    Join Date
    01-28-2009
    Location
    parkersburg, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    12

    Counting all the dates greater than a certain date

    =COUNTIFS(SSNIDT,$A3,ED,">="&Today()-365),DC,"11",PAY,"U"))

    Not sure why the above formula won't work. I am trying to count all the "event Dates" ED that occured in the last 12 months. Not working?
    Last edited by swampedindata; 02-16-2012 at 05:50 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Counting all the dates greater than a certain date

    Maybe the extra closing parenthesis in the middle is causing the issue?

    try:

    =COUNTIFS(SSNIDT,$A3,ED,">="&Today()-365,DC,"11",PAY,"U")
    Last edited by NBVC; 02-16-2012 at 05:29 PM.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Counting all the dates greater than a certain date

    I think you need to check the structure of COUNTIFS

    =COUNTIFS(range1, criteria1, range2, criteria2,...)

    So, something like:

    =COUNTIFS(A:A,">="&Today()-365),B:B,"ED")

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    01-28-2009
    Location
    parkersburg, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    12

    Talking Re: Counting all the dates greater than a certain date

    Can't believe that worked? Although I have done things like that before, just takes a 2nd pair of eyes!!

    Thanks so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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