Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Count the number of dates less than a given date

I'm trying to count the number of dates with a range of dates that are iether
less than or greater than a give date (e.g. Today () function)
E.g. 10/08/09, 11/08/09, 12/08/09, 13/08/09. Today's date is the 12/08/09
the result would be 2 (10 & 11/08/09) less than the 12/08/09 and 1 (13/08/09)
greater than.

Is there a function to do this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Count the number of dates less than a given date

Assuming your data is in column A
Less than today:
=COUNTIF(A:A,"<"&TODAY())

Greater than today:
=COUNTIF(A:A,""&TODAY())
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"mickblackburn2" wrote:

I'm trying to count the number of dates with a range of dates that are iether
less than or greater than a give date (e.g. Today () function)
E.g. 10/08/09, 11/08/09, 12/08/09, 13/08/09. Today's date is the 12/08/09
the result would be 2 (10 & 11/08/09) less than the 12/08/09 and 1 (13/08/09)
greater than.

Is there a function to do this?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to count the total Number of dates between two dates How? seshu Excel Worksheet Functions 3 February 7th 08 05:41 PM
In a set of dates, can you count the number of Jan '07 instances? Linda Woodfield Excel Worksheet Functions 4 June 22nd 07 07:07 PM
Count number of dates pau1a Excel Worksheet Functions 3 March 22nd 06 11:18 PM
Count number of days between dates BUT IF null to current date kathi Excel Worksheet Functions 1 February 14th 06 04:11 PM
How do i count number of weekdays between two dates? Sanjay Shah Excel Worksheet Functions 1 April 4th 05 04:40 PM


All times are GMT +1. The time now is 07:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"