0
I need a formula for excel that says to countif (G3 >= BK (which is a date) and < BL3 (which is another date.
Countif the cell is equal to or greater than a cell, but less than another date(trying to count dates that are within the week of the first date, which begins on a Monday...
I think what you need is
COUNTIFS
– cybernetic.nomad – 2018-08-28T22:05:44.023=COUNTIF(G3,">=$BK$3,"&">$BL$3") I only want one count. I'm not trying to get multiple counts if the cell falls within the week. I only want one count. – Tina – 2018-08-28T22:07:47.593
Countif usually uses a range of cells not a single cell. with a single cell I would use AND:
=AND(G3>=$BK$3,G3<$BL$3)
which return TRUE/FALSE – Scott Craner – 2018-08-28T22:10:26.410That won't work. I don't need false or true. I'm actually looking for a way to count if it is within the range and not count otherwise. – Tina – 2018-08-28T22:21:48.710
So you want 1 or 0? because one cell would return either 1 or 0. – Scott Craner – 2018-08-28T22:24:33.310
Yes. I want it to return a 1 or 0 – Tina – 2018-08-28T22:25:38.393
1
=--(AND(G3>=$BK$3,G3<$BL$3))
will return 1 or 0 – Scott Craner – 2018-08-28T22:26:36.700Not sure what I'm missing but it's returning a 0 as if it's false, but it's actually a true statement. – Tina – 2018-08-28T22:30:03.400
Scott, it works. I had the work cell in the formula. Thanks a lot! – Tina – 2018-08-28T22:31:25.373