On Sat, 27 Aug 2005 01:33:01 -0700, "Pe66les"
wrote:
I tried your suggestion but it is still counting 1 when it should be 0,
This is what I typed:
=MIN(1,COUNTIF(H5:L5,"=" &$F$1) - COUNTIF(H5:L5,"<=" &$H$1))
What am I doing wrong?
Uh, you are NOT using the equation I posted. You have the comparison operator
incorrect in your second COUNTIF function.
Assuming F1 contains your earlier date, and H1 contains your later date.
Change yours to:
=MIN(1,COUNTIF(H5:L5,"=" &$F$1) - COUNTIF(H5:L5,"" &$H$1))
--ron
|