Hi All,
I want to count with two conditions in two different columns.
WAIT AGE_YR
0 82
0 70
0 82
0 73
0 68
I used the following to count number of "wait" between 0 and 5 that has "AGE" between 70 and 85, but I get 1 which is wrong I should get 4.
=SUMPRODUCT(IF((COUNTIF(A2:A6, "<=5") - COUNTIF(A2:A6, "<0" )),1,0), IF((COUNTIF(B2:B6, "<=85") - COUNTIF(B2:B6, "<70" )),1,0))
can anyone help me?
Thanks
Bookmarks