+ Reply to Thread
Results 1 to 3 of 3

Countif Greater Than/Less Than Date Range

  1. #1
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Question Countif Greater Than/Less Than Date Range

    Hi Excel Users...

    I think I want to create a Countif function, but perhaps another function would be more suitable.

    Here's what I have. I have a cell with a specific date in it - the date that I extract info.

    In one of the columns, I column with various dates in it.

    I would like a function that will read these dates in the column & have a formula that figure out if it's greater than my extraction date, but less than a specified date - Let's say from today's date & 2 weeks from extraction date.

    Thanks
    MyCon
    -- Using Latest Version of Excel

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

    =Countif(A:A,">="&Today())-Countif(A:A,">"&X2-14)

    where A:A contain your column of dates...a

    X2 contains extraction date
    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
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    You can also try this

    Please Login or Register  to view this content.
    * b1 is your extraction date

+ 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. date range for autofilter
    By sglife in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-30-2008, 10:18 PM
  2. generating date range from current date
    By dexelguy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-14-2008, 04:52 PM
  3. How to shade a cell when a date falls within a certain date range
    By coedog123 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-19-2008, 11:37 AM
  4. looping issues
    By Marcus Gee in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2007, 11:42 PM
  5. Search Date within Date Range
    By sach0025 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2007, 02:30 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