Hello,
I've been using the formula
=IF(SUMPRODUCT(--($A$2:$A$2000>A2-15),--($A$2:$A$2000<A2+15),--($S$2:$S$2000=S2))>3,"Y","N")
and want to switch using Countifs to speed up the calculation.
I tried
=IF(COUNTIFS($A$2:$A$2000,">a2-15”,$A$2:$A$2000,"<A2+15”,$S$2:$S$2000,S2)>3,"Y","N")
but it didn't give me the correct results.
Any ideas why?
Thank you
I've been using the formula
=IF(SUMPRODUCT(--($A$2:$A$2000>A2-15),--($A$2:$A$2000<A2+15),--($S$2:$S$2000=S2))>3,"Y","N")
and want to switch using Countifs to speed up the calculation.
I tried
=IF(COUNTIFS($A$2:$A$2000,">a2-15”,$A$2:$A$2000,"<A2+15”,$S$2:$S$2000,S2)>3,"Y","N")
but it didn't give me the correct results.
Any ideas why?
Thank you