Question

This has been killing me for a while now. I just need to count a cell if the date in that cell is greater than or equal to a date in another cell (minus x days).

For example:

A1 2/20/2014

B1 1/20/2014

=COUNTIF(B1, ">=A1-30")

-30 would be minus 30 days. This obviously does not work. Help is greatly appreciated. Thanks!

Was it helpful?

Solution

You were almost there:

=COUNTIF(B1, ">=" & A1-30)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top