formula for counting
One way:
=SUMPRODUCT(--(A1:A100=1)*(B1:B100<20))
This requires that you specify a range, not the entire column.
Regards,
Paul
"TMF in MN" wrote in message
...
I need a formula to count if A:A=1 and B:B<20
The value should be 2
A B
1 1 12
2 2 75
3 1 86
4 1 16
|