#1   Report Post  
Posted to microsoft.public.excel.misc
al al is offline
external usenet poster
 
Posts: 363
Default COUNTIF

How can I count no. entries of the dates that are after 'TODAY's date

I already have
=COUNTIF(Results.xls!Excel_int,"="&"1/10/2008")-COUNTIF(Results.xls!Excel_int,""&"31/12/2009")
to show all entries within those dates but need to distinguish between past
and future 'bookings'

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default COUNTIF

from
=COUNTIF(Results.xls!Excel_int,"="&"1/10/2008")-COUNTIF(Results.xls!Excel_int,""&"31/12/2009")


to
=COUNTIF(Results.xls!Excel_int,"="&"1/10/2008")-COUNTIF(Results.xls!Excel_int,""&Today())


"Al" wrote:

How can I count no. entries of the dates that are after 'TODAY's date

I already have
=COUNTIF(Results.xls!Excel_int,"="&"1/10/2008")-COUNTIF(Results.xls!Excel_int,""&"31/12/2009")
to show all entries within those dates but need to distinguish between past
and future 'bookings'

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default COUNTIF

If you have a column and want to count the number of entries whose date is
after today:

=COUNTIF(A:A,"" & TODAY())

so for:
1/14/2009
1/15/2009
1/16/2009
1/17/2009
1/18/2009
1/19/2009
1/20/2009
1/21/2009
1/22/2009
1/23/2009
1/24/2009
1/25/2009
1/26/2009
1/27/2009
1/28/2009
1/29/2009
1/30/2009
1/31/2009
2/1/2009
2/2/2009
2/3/2009
2/4/2009
2/5/2009
2/6/2009
2/7/2009
2/8/2009
2/9/2009
2/10/2009
2/11/2009
2/12/2009

the value 9 is displayed
--
Gary''s Student - gsnu200830


"Al" wrote:

How can I count no. entries of the dates that are after 'TODAY's date

I already have
=COUNTIF(Results.xls!Excel_int,"="&"1/10/2008")-COUNTIF(Results.xls!Excel_int,""&"31/12/2009")
to show all entries within those dates but need to distinguish between past
and future 'bookings'

Thanks

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
Countif massi Excel Worksheet Functions 4 July 31st 06 07:58 AM
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") sctroy Excel Discussion (Misc queries) 2 September 25th 05 04:13 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM


All times are GMT +1. The time now is 12:04 PM.

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"