ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Counting Dates less then today (https://www.excelbanter.com/excel-worksheet-functions/9060-counting-dates-less-then-today.html)

Teri

Counting Dates less then today
 
I have a column that I would like to have a count of all the dates that are
less then today's date.

I have tried: =countif(d2:d25,"<TODAY",0) This has only gotten me 0. If I
leave the " " out then I get an error message. What do I need to do?

Thanks in Advance.

Jason Morin

=COUNTIF(D2:D25,"<"&TODAY())

HTH
Jason
Atlanta, GA

-----Original Message-----
I have a column that I would like to have a count of all

the dates that are
less then today's date.

I have tried: =countif(d2:d25,"<TODAY",0) This has only

gotten me 0. If I
leave the " " out then I get an error message. What do I

need to do?

Thanks in Advance.
.


Teri

Thanks Jason--Worked great.

"Jason Morin" wrote:

=COUNTIF(D2:D25,"<"&TODAY())

HTH
Jason
Atlanta, GA

-----Original Message-----
I have a column that I would like to have a count of all

the dates that are
less then today's date.

I have tried: =countif(d2:d25,"<TODAY",0) This has only

gotten me 0. If I
leave the " " out then I get an error message. What do I

need to do?

Thanks in Advance.
.




All times are GMT +1. The time now is 09:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com