ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Adding dates in columns (https://www.excelbanter.com/excel-worksheet-functions/261233-adding-dates-columns.html)

Roy

Adding dates in columns
 
Using 2003, I am entering dates and trying to utilize a formula to calculate
the number of cells that fall before a certain date.

<"Today()-300", calculates the cells that are in the range.

I have tried the countif and sumif formulas, but they do not like ranges
within the criteria as noted above.

Tried an aray formula without getting it to work.

Any help would be appreciated.

Bob Phillips[_4_]

Adding dates in columns
 
Try

=COUNTIF(A:A,"<-="&TODAY()-300)

--

HTH

Bob

"Roy" wrote in message
...
Using 2003, I am entering dates and trying to utilize a formula to
calculate
the number of cells that fall before a certain date.

<"Today()-300", calculates the cells that are in the range.

I have tried the countif and sumif formulas, but they do not like ranges
within the criteria as noted above.

Tried an aray formula without getting it to work.

Any help would be appreciated.




ozgrid.com

Adding dates in columns
 
=COUNTIF(A1:A100,"<" & TODAY()-300)

Or, my prefernce would be: =TODAY()-300 in any cell (say B1) and use;
=COUNTIF(A1:A100,"<" & B1)



--
Regards
Dave Hawley
www.ozgrid.com

"Roy" wrote in message
...
Using 2003, I am entering dates and trying to utilize a formula to
calculate
the number of cells that fall before a certain date.

<"Today()-300", calculates the cells that are in the range.

I have tried the countif and sumif formulas, but they do not like ranges
within the criteria as noted above.

Tried an aray formula without getting it to work.

Any help would be appreciated.




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

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