+ Reply to Thread
Results 1 to 4 of 4

COUNTIF date value < today

  1. #1
    Forum Contributor
    Join Date
    01-26-2005
    Posts
    108

    COUNTIF date value < today

    Worksheet is an action log. It has a column containing "due dates".

    I want to count all rows (dates) that are "less than" today (to see what work is overdue).

    I also want to count all rows (dates) that will come due in a week.

    Conditional formatting highlights them OK but I also want to maintain a set of counts.

    I can do all this in a macro but I don't want to use macros, just formulae.

    Any ideas?
    Thanks in advance.
    Last edited by tonywig; 03-27-2009 at 05:22 AM.
    Tony

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: COUNTIF date value < today

    Hi,

    I want to count all rows (dates) that are "less than" today (to see what work is overdue).
    =countif(a1:a10,"<"&today())

    I also want to count all rows (dates) that will come due in a week.
    =countif(a1:a10,"="&today()+7)

    Adapt ranges to your needs

  3. #3
    Forum Contributor
    Join Date
    01-26-2005
    Posts
    108

    Re: COUNTIF date value < today

    Many thanks
    I was close to that but never quite got there.
    Works a treat.

  4. #4
    Registered User
    Join Date
    08-11-2019
    Location
    London
    MS-Off Ver
    2010
    Posts
    1

    Re: COUNTIF date value < today

    Thanks, was searching for this too.
    Cheers for the post
    nick

+ 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