#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Countif function

Good morning, I have a column with dates (MM/DD/YY) and I'm trying to write a
formula that will look at this column and tell me which ones are older than
today. I tried =COUNTIF(B11:B396, "<TODAY()") which did not work. The only
way I could get a result was =COUNTIF(B11:B396, "<01/19/10"). The problem
with this is you have to enter today's date each time you open the file. Is
there not an easier solution?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 506
Default Countif function

Use your formula like this...

=COUNTIF(B11:B396,"<"&TODAY())

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"Bob" wrote:

Good morning, I have a column with dates (MM/DD/YY) and I'm trying to write a
formula that will look at this column and tell me which ones are older than
today. I tried =COUNTIF(B11:B396, "<TODAY()") which did not work. The only
way I could get a result was =COUNTIF(B11:B396, "<01/19/10"). The problem
with this is you have to enter today's date each time you open the file. Is
there not an easier solution?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default Countif function

You are close:

=COUNTIF(B11:B396, "<" &TODAY())

Regards,
Per

"Bob" skrev i meddelelsen
...
Good morning, I have a column with dates (MM/DD/YY) and I'm trying to
write a
formula that will look at this column and tell me which ones are older
than
today. I tried =COUNTIF(B11:B396, "<TODAY()") which did not work. The only
way I could get a result was =COUNTIF(B11:B396, "<01/19/10"). The problem
with this is you have to enter today's date each time you open the file.
Is
there not an easier solution?


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Countif function

=COUNTIF(B11:B396, "<TODAY()") is looking for the text string "<TODAY()"
Try =COUNTIF(B11:B396, "<"&TODAY())
--
David Biddulph

"Bob" wrote in message
...
Good morning, I have a column with dates (MM/DD/YY) and I'm trying to
write a
formula that will look at this column and tell me which ones are older
than
today. I tried =COUNTIF(B11:B396, "<TODAY()") which did not work. The only
way I could get a result was =COUNTIF(B11:B396, "<01/19/10"). The problem
with this is you have to enter today's date each time you open the file.
Is
there not an easier solution?



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 Function Christopher Naveen[_2_] Excel Worksheet Functions 2 December 21st 07 03:17 PM
please help how to combine IF function with Countif function Dinesh Excel Worksheet Functions 6 March 30th 06 08:28 PM
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
Embed a countif function in subtotal function? Stuck at work Excel Worksheet Functions 1 February 14th 06 03:19 AM
countif function andrewm Excel Worksheet Functions 1 July 12th 05 11:44 AM


All times are GMT +1. The time now is 09:12 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"